Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 179.8 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 89.67 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 13.03 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1775/0.4418, allocations: 152.2 MB / 1.049 GB, free: 7.137 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.607/1.049, allocations: 8.152 MB / 1.057 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/1.051, allocations: 35.56 kB / 1.057 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/1.053, allocations: 0.4979 MB / 1.057 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/1.056, allocations: 1.225 MB / 1.059 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/1.059, allocations: 0.9312 MB / 1.06 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004823/1.064, allocations: 3.099 MB / 1.063 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/1.067, allocations: 0.7163 MB / 1.063 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/1.07, allocations: 0.8532 MB / 1.064 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/1.071, allocations: 0.9184 MB / 1.065 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.072, allocations: 42.97 kB / 1.065 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/1.075, allocations: 0.8288 MB / 1.066 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/1.075, allocations: 212.8 kB / 1.066 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006538/1.076, allocations: 242 kB / 1.066 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/1.079, allocations: 1.231 MB / 1.067 GB, free: 3.512 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.079, allocations: 0 / 1.067 GB, free: 3.512 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.085e-06/1.079, allocations: 0.6562 kB / 1.067 GB, free: 3.512 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.892e-05/1.079, allocations: 0.6562 kB / 1.067 GB, free: 3.512 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00388/1.083, allocations: 1.367 MB / 1.069 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.083, allocations: 10.12 kB / 1.069 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/1.083, allocations: 125.1 kB / 1.069 GB, free: 18.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/1.083, allocations: 144.5 kB / 1.069 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/1.085, allocations: 0.8259 MB / 1.07 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/1.085, allocations: 60.41 kB / 1.07 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/1.085, allocations: 82.39 kB / 1.07 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/1.087, allocations: 0.871 MB / 1.071 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/1.087, allocations: 1.75 kB / 1.071 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/1.087, allocations: 34.44 kB / 1.071 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/1.087, allocations: 19.12 kB / 1.071 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/1.089, allocations: 0.6348 MB / 1.072 GB, free: 18.09 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005712/1.094, allocations: 3.956 MB / 1.075 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.096, allocations: 0.5851 MB / 1.076 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/1.097, allocations: 293.8 kB / 1.076 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.098, allocations: 1.244 MB / 1.077 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006515/1.098, allocations: 325.7 kB / 1.078 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=63): time 4.559e-06/1.098, allocations: 0 / 1.078 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63): time 0.003197/1.102, allocations: 1.155 MB / 1.079 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/1.102, allocations: 89.92 kB / 1.079 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.103, allocations: 0.8562 MB / 1.08 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/1.103, allocations: 38.64 kB / 1.08 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/1.104, allocations: 469.1 kB / 1.08 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/1.104, allocations: 214.6 kB / 1.081 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/1.104, allocations: 12 kB / 1.081 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.104, allocations: 340.4 kB / 1.081 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/1.104, allocations: 206.1 kB / 1.081 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/1.105, allocations: 315.1 kB / 1.081 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/1.105, allocations: 245.6 kB / 1.082 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.105, allocations: 1 kB / 1.082 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001365/1.107, allocations: 0.7117 MB / 1.082 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/1.107, allocations: 150.7 kB / 1.082 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.107, allocations: 1.469 kB / 1.082 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/1.107, allocations: 104.9 kB / 1.083 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/1.108, allocations: 124.1 kB / 1.083 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005997/1.109, allocations: 0.6653 MB / 1.083 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/1.109, allocations: 97.77 kB / 1.083 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/1.109, allocations: 27.84 kB / 1.083 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/1.109, allocations: 3.875 kB / 1.083 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/1.111, allocations: 0.5745 MB / 1.084 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.111, allocations: 2.125 kB / 1.084 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/1.111, allocations: 103.2 kB / 1.084 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/1.111, allocations: 112.2 kB / 1.084 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005472/1.112, allocations: 0.6675 MB / 1.085 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/1.113, allocations: 86.66 kB / 1.085 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/1.113, allocations: 25.69 kB / 1.085 GB, free: 11.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006629/1.114, allocations: 327.7 kB / 1.085 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/1.114, allocations: 99.59 kB / 1.085 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.115, allocations: 0.9536 MB / 1.086 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.115, allocations: 14.39 kB / 1.086 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.115, allocations: 2.188 kB / 1.086 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/1.117, allocations: 0.8563 MB / 1.087 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/1.12, allocations: 1.846 MB / 1.089 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/1.12, allocations: 6.594 kB / 1.089 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/1.12, allocations: 99.66 kB / 1.089 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006098/1.121, allocations: 168.4 kB / 1.089 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/1.121, allocations: 18.58 kB / 1.089 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009117/1.122, allocations: 1.247 MB / 1.09 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.122, allocations: 0 / 1.09 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/1.124, allocations: 1.295 MB / 1.092 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/1.125, allocations: 271.1 kB / 1.092 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.125, allocations: 14.5 kB / 1.092 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/1.125, allocations: 58.47 kB / 1.092 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.125, allocations: 45.91 kB / 1.092 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/1.125, allocations: 26.58 kB / 1.092 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008821/1.126, allocations: 0.6046 MB / 1.093 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/1.126, allocations: 0 / 1.093 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00161/1.128, allocations: 0.5557 MB / 1.093 GB, free: 8.988 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00407/1.132, allocations: 2.422 MB / 1.096 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.134, allocations: 0.9223 MB / 1.097 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.134, allocations: 2.906 kB / 1.097 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/1.135, allocations: 389.7 kB / 1.097 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.137, allocations: 433.3 kB / 1.097 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.147, allocations: 6.034 MB / 1.103 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/1.148, allocations: 1.069 MB / 1.104 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001091/1.149, allocations: 219 kB / 1.104 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/1.15, allocations: 408.2 kB / 1.105 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.15, allocations: 3.344 kB / 1.105 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/1.209, allocations: 28.83 MB / 1.133 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/1.209, allocations: 273.4 kB / 1.133 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/4.447, allocations: 4 kB / 1.133 GB, free: 10.19 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)