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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 187.6 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4555/0.4555, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.4 MB / 342.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009278, allocations: 99.69 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.073e-06, allocations: 0 / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.36, allocations: 72.3 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.799/4.159, allocations: 1.883 GB / 2.436 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/4.16, allocations: 93.45 kB / 2.436 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.412/7.572, allocations: 1.078 GB / 3.514 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002707/7.572, allocations: 47.98 kB / 3.514 GB, free: 22.2 MB / 0.6198 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.008485/7.581, allocations: 2.172 MB / 3.517 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/7.581, allocations: 8.031 kB / 3.517 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/7.586, allocations: 0.5556 MB / 3.517 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/7.59, allocations: 1.303 MB / 3.518 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/7.59, allocations: 44 kB / 3.518 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005812/7.591, allocations: 87.91 kB / 3.518 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003297/7.594, allocations: 1.255 MB / 3.52 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/7.597, allocations: 1.468 MB / 3.521 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/7.597, allocations: 4 kB / 3.521 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/7.598, allocations: 0 / 3.521 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/7.598, allocations: 66.48 kB / 3.521 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/7.609, allocations: 7.646 MB / 3.529 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/7.611, allocations: 1.04 MB / 3.53 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007949/7.612, allocations: 0.6076 MB / 3.53 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007596/7.612, allocations: 0.871 MB / 3.531 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009602/7.613, allocations: 0.6318 MB / 3.532 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 4.218e-06/7.613, allocations: 4 kB / 3.532 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of matching and sorting (n=110): time 0.003455/7.617, allocations: 1.248 MB / 3.533 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/7.617, allocations: 90.11 kB / 3.533 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/7.618, allocations: 0.8342 MB / 3.534 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/7.619, allocations: 29.7 kB / 3.534 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/7.619, allocations: 484.8 kB / 3.534 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/7.619, allocations: 370.4 kB / 3.535 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/7.62, allocations: 0 / 3.535 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/7.62, allocations: 345.9 kB / 3.535 GB, free: 200 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/7.62, allocations: 430 kB / 3.535 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/7.621, allocations: 0.594 MB / 3.536 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/7.623, allocations: 0.5378 MB / 3.537 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/7.623, allocations: 0 / 3.537 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002669/7.625, allocations: 1.236 MB / 3.538 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/7.626, allocations: 0.9728 MB / 3.539 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/7.626, allocations: 4 kB / 3.539 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/7.626, allocations: 8 kB / 3.539 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/7.627, allocations: 235.7 kB / 3.539 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/7.627, allocations: 11.98 kB / 3.539 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/7.629, allocations: 155 kB / 3.539 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/7.629, allocations: 47.97 kB / 3.539 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/7.629, allocations: 4 kB / 3.539 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00209/7.631, allocations: 1.075 MB / 3.54 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/7.631, allocations: 4 kB / 3.54 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/7.631, allocations: 7.984 kB / 3.54 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/7.632, allocations: 232 kB / 3.54 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/7.632, allocations: 4 kB / 3.54 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/7.634, allocations: 139.2 kB / 3.541 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/7.634, allocations: 43.98 kB / 3.541 GB, free: 10.35 MB / 0.6355 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 () * 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.000364/7.635, allocations: 124.8 kB / 3.541 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/7.635, allocations: 142.2 kB / 3.541 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/7.638, allocations: 1.259 MB / 3.542 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/7.638, allocations: 11.98 kB / 3.542 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/7.638, allocations: 3.906 kB / 3.542 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001891/7.64, allocations: 1.028 MB / 3.543 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006943/7.647, allocations: 3.037 MB / 3.546 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/7.647, allocations: 320 / 3.546 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/7.649, allocations: 255.7 kB / 3.546 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.022e-05/7.649, allocations: 4 kB / 3.546 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/7.649, allocations: 23.89 kB / 3.546 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/7.649, allocations: 8 kB / 3.546 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/7.649, allocations: 3.938 kB / 3.546 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003417/7.652, allocations: 2.043 MB / 3.548 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/7.653, allocations: 363.1 kB / 3.549 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/7.654, allocations: 11.91 kB / 3.549 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/7.655, allocations: 107.7 kB / 3.549 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/7.655, allocations: 60.91 kB / 3.549 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/7.656, allocations: 40.27 kB / 3.549 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001346/7.657, allocations: 0.6305 MB / 3.55 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.3329/7.99, allocations: 1.026 MB / 3.551 GB, free: 119.2 MB / 0.6355 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * 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.004716/7.995, allocations: 3.085 MB / 3.554 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002613/7.997, allocations: 1.703 MB / 3.555 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/7.997, allocations: 0 / 3.555 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/7.998, allocations: 0.569 MB / 3.556 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/8.001, allocations: 0.6691 MB / 3.556 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/8.007, allocations: 2.775 MB / 3.559 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/8.008, allocations: 1.54 MB / 3.561 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/8.008, allocations: 0 / 3.561 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.07244/8.081, allocations: 47.25 MB / 3.607 GB, free: 115.8 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)