Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 182.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.0008435, allocations: 101.1 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 14.47 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.5302/0.7204, allocations: 141.6 MB / 1.118 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.7308, allocations: 7.535 MB / 1.125 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.7327, allocations: 34.81 kB / 1.125 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.7347, allocations: 0.5898 MB / 1.126 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.7395, allocations: 1.453 MB / 1.127 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.7433, allocations: 1.243 MB / 1.128 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.7462, allocations: 1.63 MB / 1.13 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.7475, allocations: 0.7321 MB / 1.131 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.7491, allocations: 0.7537 MB / 1.131 GB, free: 132 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.7509, allocations: 0.703 MB / 1.132 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003155/0.7512, allocations: 43.92 kB / 1.132 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.754, allocations: 0.8873 MB / 1.133 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.7544, allocations: 209.1 kB / 1.133 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005675/0.755, allocations: 242.5 kB / 1.133 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.7571, allocations: 1.21 MB / 1.135 GB, free: 15.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.7572, allocations: 0 / 1.135 GB, free: 15.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7572, allocations: 2.625 kB / 1.135 GB, free: 15.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.719e-05/0.7572, allocations: 0 / 1.135 GB, free: 15.16 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.003283/0.7605, allocations: 1.373 MB / 1.136 GB, free: 14.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7606, allocations: 18.28 kB / 1.136 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002681/0.7609, allocations: 126.8 kB / 1.136 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004294/0.7613, allocations: 140.4 kB / 1.136 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.7629, allocations: 0.7831 MB / 1.137 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.7629, allocations: 59.44 kB / 1.137 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.7631, allocations: 75.34 kB / 1.137 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.7645, allocations: 0.8622 MB / 1.138 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.7645, allocations: 14.75 kB / 1.138 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.7646, allocations: 33.47 kB / 1.138 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.7646, allocations: 22.45 kB / 1.138 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.7658, allocations: 0.6301 MB / 1.139 GB, free: 13.17 MB / 0.698 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.004772/0.7706, allocations: 3.984 MB / 1.143 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.7717, allocations: 0.5726 MB / 1.143 GB, free: 10.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000907/0.7726, allocations: 1.246 MB / 1.144 GB, free: 8.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005838/0.7732, allocations: 328 kB / 1.145 GB, free: 8.762 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.545e-06/0.7732, allocations: 0 / 1.145 GB, free: 8.762 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002497/0.7757, allocations: 1.153 MB / 1.146 GB, free: 8.316 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.7758, allocations: 84.08 kB / 1.146 GB, free: 8.223 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.7769, allocations: 0.8746 MB / 1.147 GB, free: 7.949 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.777, allocations: 37.52 kB / 1.147 GB, free: 7.918 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.7773, allocations: 476.1 kB / 1.147 GB, free: 7.703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.7775, allocations: 211.6 kB / 1.147 GB, free: 7.551 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.7775, allocations: 11.25 kB / 1.147 GB, free: 7.551 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7776, allocations: 338.4 kB / 1.148 GB, free: 7.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.778, allocations: 206.4 kB / 1.148 GB, free: 7.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.7785, allocations: 310.9 kB / 1.148 GB, free: 7.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.779, allocations: 248 kB / 1.148 GB, free: 7.043 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.779, allocations: 0.9688 kB / 1.148 GB, free: 7.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001307/0.7803, allocations: 0.7112 MB / 1.149 GB, free: 6.867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.7806, allocations: 0.8793 MB / 1.15 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.7806, allocations: 2.406 kB / 1.15 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.7812, allocations: 102.2 kB / 1.15 GB, free: 5.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.7817, allocations: 127.8 kB / 1.15 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005385/0.7823, allocations: 0.6609 MB / 1.151 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.783, allocations: 94.23 kB / 1.151 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.7831, allocations: 25.97 kB / 1.151 GB, free: 5.293 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.7831, allocations: 2.969 kB / 1.151 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.7846, allocations: 0.5759 MB / 1.152 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.7846, allocations: 2.25 kB / 1.152 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.7852, allocations: 108.3 kB / 1.152 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.7858, allocations: 113.7 kB / 1.152 GB, free: 5.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007212/0.7866, allocations: 0.6647 MB / 1.152 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.7875, allocations: 91.86 kB / 1.153 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.7876, allocations: 25.59 kB / 1.153 GB, free: 4.555 MB / 0.698 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.0006461/0.7883, allocations: 326.6 kB / 1.153 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.7885, allocations: 102.5 kB / 1.153 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.7914, allocations: 0.9534 MB / 1.154 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.7914, allocations: 8.906 kB / 1.154 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.7915, allocations: 0 / 1.154 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002266/0.7937, allocations: 0.8551 MB / 1.155 GB, free: 3.668 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.799, allocations: 1.875 MB / 1.157 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.799, allocations: 5.844 kB / 1.157 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008943/0.8, allocations: 101.7 kB / 1.157 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.8011, allocations: 156.5 kB / 1.157 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-05/0.8012, allocations: 18.28 kB / 1.157 GB, free: 2.867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.8026, allocations: 1.25 MB / 1.158 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8027, allocations: 1.312 kB / 1.158 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.8065, allocations: 1.308 MB / 1.159 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/0.8074, allocations: 285.1 kB / 1.16 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.8077, allocations: 20.02 kB / 1.16 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8089, allocations: 55.61 kB / 1.16 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.8091, allocations: 41.28 kB / 1.16 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.544e-05/0.8092, allocations: 29.64 kB / 1.16 GB, free: 1.145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001487/0.8107, allocations: 0.6216 MB / 1.16 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8107, allocations: 1.75 kB / 1.16 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002816/0.8135, allocations: 0.5565 MB / 1.161 GB, free: 0.8398 MB / 0.698 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.00646/0.82, allocations: 2.596 MB / 1.163 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003129/0.8232, allocations: 0.9313 MB / 1.164 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8232, allocations: 2.5 kB / 1.164 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.8239, allocations: 383.9 kB / 1.165 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.8261, allocations: 422.5 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009983/0.8361, allocations: 7.372 MB / 1.172 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.8367, allocations: 1.087 MB / 1.173 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00091/0.8376, allocations: 222.7 kB / 1.174 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.8381, allocations: 406.8 kB / 1.174 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.8381, allocations: 0 / 1.174 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.8881, allocations: 29.07 MB / 1.202 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.8884, allocations: 274.2 kB / 1.203 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.575, allocations: 0 / 1.203 GB, free: 1.348 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)