Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009497/0.0009497, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009299/0.00093, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9385/0.9385, allocations: 143.3 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 8 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4232/0.5835, allocations: 193.7 MB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.5979, allocations: 10.35 MB / 0.7966 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.5993, allocations: 55.73 kB / 0.7966 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.602, allocations: 1.065 MB / 0.7977 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.6087, allocations: 2.968 MB / 0.8006 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.6125, allocations: 1.584 MB / 0.8021 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.616, allocations: 2.542 MB / 0.8046 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.6175, allocations: 1.196 MB / 0.8058 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.6193, allocations: 1.258 MB / 0.807 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.6204, allocations: 0.9338 MB / 0.8079 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.6205, allocations: 76 kB / 0.808 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.6236, allocations: 1.349 MB / 0.8093 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.6241, allocations: 0.5375 MB / 0.8098 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.6245, allocations: 404.7 kB / 0.8102 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.627, allocations: 2.493 MB / 0.8126 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.627, allocations: 0 / 0.8126 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.627, allocations: 0 / 0.8126 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.627, allocations: 0 / 0.8126 GB, free: 15.52 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.004234/0.6312, allocations: 2.097 MB / 0.8147 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6313, allocations: 12.03 kB / 0.8147 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.6315, allocations: 198.6 kB / 0.8149 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/0.6347, allocations: 0.5284 MB / 0.8154 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.6367, allocations: 1.179 MB / 0.8166 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.6367, allocations: 112.1 kB / 0.8167 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.6369, allocations: 140 kB / 0.8168 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6395, allocations: 1.646 MB / 0.8184 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.6396, allocations: 3.938 kB / 0.8184 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.6397, allocations: 60 kB / 0.8185 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.517e-05/0.6398, allocations: 70.56 kB / 0.8185 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.6423, allocations: 1.447 MB / 0.8199 GB, free: 7.84 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.008145/0.6504, allocations: 6.969 MB / 0.8268 GB, free: 424 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.6523, allocations: 1.211 MB / 0.8279 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.6529, allocations: 0.6931 MB / 0.8286 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009745/0.6539, allocations: 0.5986 MB / 0.8292 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.316e-06/0.6539, allocations: 0 / 0.8292 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.002923/0.6568, allocations: 1.58 MB / 0.8307 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.6569, allocations: 90.11 kB / 0.8308 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.6582, allocations: 1.186 MB / 0.832 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.6583, allocations: 53.64 kB / 0.832 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.6588, allocations: 0.6698 MB / 0.8327 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.6591, allocations: 386.4 kB / 0.8331 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.6592, allocations: 20 kB / 0.8331 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6593, allocations: 345.9 kB / 0.8334 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.66, allocations: 421.8 kB / 0.8338 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.6608, allocations: 0.5479 MB / 0.8343 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.6616, allocations: 498.8 kB / 0.8348 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6616, allocations: 0 / 0.8348 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001869/0.6635, allocations: 1.222 MB / 0.836 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.6638, allocations: 0.9822 MB / 0.837 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6638, allocations: 0 / 0.837 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6639, allocations: 11.98 kB / 0.837 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.6648, allocations: 219.7 kB / 0.8372 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.6648, allocations: 11.94 kB / 0.8372 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6661, allocations: 187.4 kB / 0.8374 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.6662, allocations: 40.03 kB / 0.8374 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.6662, allocations: 4.625 kB / 0.8374 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001602/0.6678, allocations: 1.043 MB / 0.8384 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6678, allocations: 4.062 kB / 0.8384 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.6679, allocations: 8 kB / 0.8385 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/0.6687, allocations: 215.1 kB / 0.8387 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6688, allocations: 4 kB / 0.8387 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6699, allocations: 180.5 kB / 0.8388 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.67, allocations: 40 kB / 0.8389 GB, free: 3.641 MB / 0.6544 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 ($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 (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006039/0.6706, allocations: 493.6 kB / 0.8393 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.6708, allocations: 146.2 kB / 0.8395 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.6729, allocations: 1.239 MB / 0.8407 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.6729, allocations: 12 kB / 0.8407 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6729, allocations: 3.984 kB / 0.8407 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/0.6745, allocations: 1.019 MB / 0.8417 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/0.6791, allocations: 3.171 MB / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6791, allocations: 0 / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6802, allocations: 231.7 kB / 0.845 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.6802, allocations: 8 kB / 0.845 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.6803, allocations: 36.27 kB / 0.8451 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.6803, allocations: 7.984 kB / 0.8451 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6803, allocations: 7.938 kB / 0.8451 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.6831, allocations: 2.061 MB / 0.8471 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.6837, allocations: 366.8 kB / 0.8474 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6839, allocations: 23.98 kB / 0.8475 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.685, allocations: 116.9 kB / 0.8476 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6851, allocations: 68.86 kB / 0.8476 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.6852, allocations: 39.98 kB / 0.8477 GB, free: 10.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009774/0.6862, allocations: 0.8219 MB / 0.8485 GB, free: 9.492 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6862, allocations: 0 / 0.8485 GB, free: 9.492 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001675/0.6879, allocations: 0.8298 MB / 0.8493 GB, free: 8.66 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004363/0.6922, allocations: 3.765 MB / 0.853 GB, free: 4.992 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.6948, allocations: 1.608 MB / 0.8545 GB, free: 3.391 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6948, allocations: 4.062 kB / 0.8545 GB, free: 3.387 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008362/0.6956, allocations: 0.5677 MB / 0.8551 GB, free: 2.816 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.6989, allocations: 0.816 MB / 0.8559 GB, free: 2.012 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2368/0.9358, allocations: 11.11 MB / 0.8667 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.9365, allocations: 1.397 MB / 0.8681 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001729/0.9383, allocations: 455 kB / 0.8685 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000816/0.9391, allocations: 0.6251 MB / 0.8692 GB, free: 201.4 MB / 0.67 GB Notification: Performance of SimCode: time 7.31e-07/0.9391, allocations: 7.5 kB / 0.8692 GB, free: 201.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/1.001, allocations: 41.66 MB / 0.9098 GB, free: 193 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001216/1.001, allocations: 243.6 kB / 0.9101 GB, free: 192.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.55, allocations: 4 kB / 0.9101 GB, free: 192.7 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: