Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7064/0.7064, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 83.3 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.516e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.294, allocations: 413.6 MB / 1.025 GB, free: 67.14 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.294, allocations: 89.27 kB / 1.025 GB, free: 67.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.047/2.341, allocations: 330.8 MB / 1.348 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001955/2.341, allocations: 36.08 kB / 1.348 GB, free: 9.449 MB / 0.6355 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.003919/2.345, allocations: 1.325 MB / 1.349 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/2.345, allocations: 8.031 kB / 1.349 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/2.346, allocations: 138.4 kB / 1.349 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/2.349, allocations: 1.066 MB / 1.35 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/2.349, allocations: 28 kB / 1.35 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/2.35, allocations: 52 kB / 1.351 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/2.351, allocations: 0.5194 MB / 1.351 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/2.352, allocations: 0.7211 MB / 1.352 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/2.352, allocations: 0 / 1.352 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/2.352, allocations: 4 kB / 1.352 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/2.352, allocations: 27.84 kB / 1.352 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/2.359, allocations: 4.047 MB / 1.356 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/2.359, allocations: 362.6 kB / 1.356 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/2.36, allocations: 238.3 kB / 1.356 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3128/2.672, allocations: 0.9945 MB / 1.357 GB, free: 172.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/2.673, allocations: 271.6 kB / 1.358 GB, free: 172.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 5.52e-06/2.673, allocations: 0 / 1.358 GB, free: 172.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.001759/2.675, allocations: 0.5945 MB / 1.358 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/2.675, allocations: 84.92 kB / 1.358 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/2.676, allocations: 0.6683 MB / 1.359 GB, free: 172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/2.676, allocations: 25.7 kB / 1.359 GB, free: 172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/2.676, allocations: 342.5 kB / 1.359 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/2.676, allocations: 195.8 kB / 1.359 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/2.676, allocations: 3.344 kB / 1.359 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/2.676, allocations: 332.5 kB / 1.36 GB, free: 171.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/2.677, allocations: 169.5 kB / 1.36 GB, free: 171.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/2.677, allocations: 311 kB / 1.36 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/2.678, allocations: 254.8 kB / 1.36 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/2.678, allocations: 3.281 kB / 1.36 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00136/2.679, allocations: 0.6643 MB / 1.361 GB, free: 171.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/2.679, allocations: 0.8806 MB / 1.362 GB, free: 170.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/2.679, allocations: 0 / 1.362 GB, free: 170.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/2.68, allocations: 82.42 kB / 1.362 GB, free: 170.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/2.68, allocations: 127 kB / 1.362 GB, free: 170.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006552/2.681, allocations: 0.6801 MB / 1.363 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/2.682, allocations: 83.5 kB / 1.363 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/2.682, allocations: 29.3 kB / 1.363 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/2.682, allocations: 3.812 kB / 1.363 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/2.683, allocations: 0.5423 MB / 1.363 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/2.683, allocations: 0 / 1.363 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/2.683, allocations: 90.42 kB / 1.364 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/2.684, allocations: 118.1 kB / 1.364 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005764/2.684, allocations: 0.6894 MB / 1.364 GB, free: 169.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/2.685, allocations: 69.03 kB / 1.364 GB, free: 169.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/2.685, allocations: 25.97 kB / 1.364 GB, free: 169.2 MB / 0.6355 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 () * 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.0002276/2.685, allocations: 126.3 kB / 1.365 GB, free: 169.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/2.686, allocations: 87.69 kB / 1.365 GB, free: 169.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/2.688, allocations: 0.8196 MB / 1.365 GB, free: 169 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/2.688, allocations: 10.28 kB / 1.365 GB, free: 169 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/2.688, allocations: 3.719 kB / 1.365 GB, free: 169 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/2.689, allocations: 0.7414 MB / 1.366 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/2.692, allocations: 1.496 MB / 1.368 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/2.692, allocations: 2.75 kB / 1.368 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/2.692, allocations: 95.67 kB / 1.368 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/2.693, allocations: 144.1 kB / 1.368 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/2.693, allocations: 15.2 kB / 1.368 GB, free: 168.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/2.694, allocations: 1.266 MB / 1.369 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/2.694, allocations: 7.656 kB / 1.369 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001813/2.696, allocations: 1.117 MB / 1.37 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/2.696, allocations: 261.2 kB / 1.37 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/2.696, allocations: 3.969 kB / 1.37 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/2.697, allocations: 51.31 kB / 1.37 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/2.697, allocations: 40.42 kB / 1.371 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/2.697, allocations: 25.27 kB / 1.371 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006662/2.698, allocations: 0.5129 MB / 1.371 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002079/2.7, allocations: 0.6041 MB / 1.372 GB, free: 166.8 MB / 0.6355 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002031/2.702, allocations: 0.8526 MB / 1.372 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001664/2.704, allocations: 0.8465 MB / 1.373 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.704, allocations: 0 / 1.373 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000521/2.704, allocations: 311.9 kB / 1.374 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/2.706, allocations: 328.5 kB / 1.374 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/2.709, allocations: 1.55 MB / 1.375 GB, free: 166.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/2.71, allocations: 1.169 MB / 1.377 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/2.71, allocations: 3.625 kB / 1.377 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.03601/2.746, allocations: 23.17 MB / 1.399 GB, free: 165.2 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)