Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008467, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000911/0.000911, allocations: 179.3 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6247/0.6247, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002725, allocations: 12 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.435/0.5546, allocations: 230.5 MB / 0.7851 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.5685, allocations: 10.41 MB / 0.7953 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.5703, allocations: 55.69 kB / 0.7953 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.5729, allocations: 1.022 MB / 0.7963 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007649/0.5805, allocations: 3.432 MB / 0.7997 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.5849, allocations: 1.891 MB / 0.8015 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00647/0.5914, allocations: 6.272 MB / 0.8076 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.5935, allocations: 1.314 MB / 0.8089 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.5959, allocations: 1.33 MB / 0.8102 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.5988, allocations: 1.479 MB / 0.8117 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.5991, allocations: 76 kB / 0.8117 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/0.6053, allocations: 3.721 MB / 0.8154 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.6061, allocations: 0.584 MB / 0.8159 GB, free: 432 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.6073, allocations: 0.9577 MB / 0.8169 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.6127, allocations: 3.89 MB / 0.8207 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6127, allocations: 0 / 0.8207 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6127, allocations: 0 / 0.8207 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.117e-05/0.6128, allocations: 0 / 0.8207 GB, free: 11.55 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004878/0.6177, allocations: 2.129 MB / 0.8228 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.6177, allocations: 12.03 kB / 0.8228 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/0.6181, allocations: 202.6 kB / 0.823 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.6213, allocations: 0.5244 MB / 0.8235 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.6232, allocations: 1.22 MB / 0.8247 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.6232, allocations: 102.7 kB / 0.8248 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.6235, allocations: 139.9 kB / 0.8249 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.626, allocations: 1.677 MB / 0.8265 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.6261, allocations: 0 / 0.8265 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.6262, allocations: 56 kB / 0.8266 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.6263, allocations: 66.58 kB / 0.8266 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.6287, allocations: 1.462 MB / 0.8281 GB, free: 3.766 MB / 0.6387 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.2188/0.8475, allocations: 6.971 MB / 0.8349 GB, free: 230.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.8492, allocations: 1.202 MB / 0.8361 GB, free: 229.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/0.8501, allocations: 0.6147 MB / 0.8367 GB, free: 229.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.8507, allocations: 0.8649 MB / 0.8375 GB, free: 228.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.8518, allocations: 0.6086 MB / 0.8381 GB, free: 228.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.317e-06/0.8518, allocations: 0 / 0.8381 GB, free: 228.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.002894/0.8547, allocations: 1.586 MB / 0.8396 GB, free: 228 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.8547, allocations: 95.91 kB / 0.8397 GB, free: 227.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.8562, allocations: 1.199 MB / 0.8409 GB, free: 227.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/0.8563, allocations: 47.95 kB / 0.841 GB, free: 227.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.8567, allocations: 0.6737 MB / 0.8416 GB, free: 226.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.8569, allocations: 386.6 kB / 0.842 GB, free: 226.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.8571, allocations: 88.2 kB / 0.8421 GB, free: 226.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.8571, allocations: 347.2 kB / 0.8424 GB, free: 226.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.8579, allocations: 424.9 kB / 0.8428 GB, free: 226.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.8587, allocations: 0.559 MB / 0.8433 GB, free: 225.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.8602, allocations: 1.019 MB / 0.8443 GB, free: 225.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8602, allocations: 4.406 kB / 0.8443 GB, free: 225.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001972/0.8622, allocations: 1.229 MB / 0.8455 GB, free: 224.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.8622, allocations: 162.2 kB / 0.8457 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8622, allocations: 5.938 kB / 0.8457 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8623, allocations: 13.95 kB / 0.8457 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.8632, allocations: 219.3 kB / 0.8459 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8632, allocations: 12.2 kB / 0.8459 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.8645, allocations: 186.7 kB / 0.8461 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.8646, allocations: 36.27 kB / 0.8462 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.8646, allocations: 4.594 kB / 0.8462 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001703/0.8663, allocations: 1.047 MB / 0.8472 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8663, allocations: 3.281 kB / 0.8472 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.8663, allocations: 6.781 kB / 0.8472 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.8672, allocations: 210 kB / 0.8474 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.8672, allocations: 11.91 kB / 0.8474 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.8684, allocations: 179.5 kB / 0.8476 GB, free: 224 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.8685, allocations: 36.55 kB / 0.8476 GB, free: 224 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006058/0.8691, allocations: 489.5 kB / 0.8481 GB, free: 223.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.8693, allocations: 148.2 kB / 0.8482 GB, free: 223.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.8714, allocations: 1.251 MB / 0.8494 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8714, allocations: 10.98 kB / 0.8494 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8714, allocations: 5.438 kB / 0.8495 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001495/0.8729, allocations: 1.014 MB / 0.8504 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/0.8773, allocations: 3.17 MB / 0.8535 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8773, allocations: 6.625 kB / 0.8535 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8783, allocations: 226.9 kB / 0.8538 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.8784, allocations: 6.781 kB / 0.8538 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.8784, allocations: 33.7 kB / 0.8538 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.8785, allocations: 8.719 kB / 0.8538 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8785, allocations: 8.875 kB / 0.8538 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.881, allocations: 1.928 MB / 0.8557 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.8815, allocations: 363.5 kB / 0.856 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.8816, allocations: 26.81 kB / 0.8561 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8827, allocations: 113.9 kB / 0.8562 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.8828, allocations: 75.2 kB / 0.8563 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.8829, allocations: 41.7 kB / 0.8563 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009407/0.8839, allocations: 0.8252 MB / 0.8571 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8839, allocations: 2.062 kB / 0.8571 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001836/0.8857, allocations: 0.8409 MB / 0.8579 GB, free: 219.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003814/0.8895, allocations: 2.956 MB / 0.8608 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.892, allocations: 1.616 MB / 0.8624 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.892, allocations: 1.781 kB / 0.8624 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007701/0.8928, allocations: 0.5762 MB / 0.8629 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/0.8968, allocations: 0.8341 MB / 0.8638 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.9106, allocations: 12.8 MB / 0.8763 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.9112, allocations: 1.36 MB / 0.8776 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001561/0.9128, allocations: 451.6 kB / 0.878 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006515/0.9134, allocations: 0.6281 MB / 0.8786 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.9134, allocations: 0 / 0.8786 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.958, allocations: 40.38 MB / 0.9181 GB, free: 166.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.9582, allocations: 252 kB / 0.9183 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.578, allocations: 0 / 0.9183 GB, free: 166.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)