Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy") [: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.0041/0.0041, allocations: 183.3 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6887/0.6887, allocations: 130.6 MB / 138.5 MB, free: 2.133 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 391.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009428, allocations: 103.7 kB / 473.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.586e-06, allocations: 2.875 kB / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 81.57 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.698/3.861, allocations: 1.9 GB / 2.527 GB, free: 245 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/3.861, allocations: 87.14 kB / 2.527 GB, free: 245 MB / 0.6667 GB Notification: Performance of FrontEnd: time 7.126/10.99, allocations: 1.97 GB / 4.497 GB, free: 56.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004474/10.99, allocations: 90.86 kB / 4.497 GB, free: 56.86 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01899/11.01, allocations: 4.327 MB / 4.501 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/11.01, allocations: 10.53 kB / 4.501 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009229/11.02, allocations: 1.072 MB / 4.503 GB, free: 54.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/11.02, allocations: 2.295 MB / 4.505 GB, free: 54.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/11.02, allocations: 102.8 kB / 4.505 GB, free: 54.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/11.03, allocations: 194.8 kB / 4.505 GB, free: 54.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009573/11.03, allocations: 4.238 MB / 4.509 GB, free: 54.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/11.05, allocations: 3.738 MB / 4.513 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/11.05, allocations: 6.875 kB / 4.513 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/11.05, allocations: 5.062 kB / 4.513 GB, free: 54.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002244/11.05, allocations: 150.6 kB / 4.513 GB, free: 54.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02786/11.08, allocations: 15.13 MB / 4.528 GB, free: 46.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006781/11.08, allocations: 3.948 MB / 4.532 GB, free: 46.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/11.09, allocations: 2.422 MB / 4.534 GB, free: 46.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/11.09, allocations: 1.613 MB / 4.536 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/11.09, allocations: 73.98 kB / 4.536 GB, free: 45.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=392): time 5.169e-06/11.09, allocations: 0 / 4.536 GB, free: 45.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=392): time 0.01232/11.1, allocations: 4.367 MB / 4.54 GB, free: 44.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/11.1, allocations: 97.08 kB / 4.54 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/11.1, allocations: 1.213 MB / 4.541 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006866/11.1, allocations: 25.7 kB / 4.541 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/11.1, allocations: 0.8211 MB / 4.542 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/11.11, allocations: 1.27 MB / 4.543 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000528/11.11, allocations: 0 / 4.543 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003679/11.11, allocations: 438.4 kB / 4.544 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/11.11, allocations: 1.566 MB / 4.545 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/11.11, allocations: 1.955 MB / 4.547 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005583/11.12, allocations: 2.206 MB / 4.549 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/11.12, allocations: 0 / 4.549 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01175/11.13, allocations: 4.436 MB / 4.554 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/11.13, allocations: 7.969 kB / 4.554 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/11.13, allocations: 4.781 kB / 4.554 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.218e-05/11.13, allocations: 23.75 kB / 4.554 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/11.13, allocations: 0.7192 MB / 4.554 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.721e-05/11.13, allocations: 22.25 kB / 4.554 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/11.14, allocations: 350.4 kB / 4.555 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009366/11.14, allocations: 124.1 kB / 4.555 GB, free: 42.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.00151/11.14, allocations: 150.1 kB / 4.555 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/11.14, allocations: 280.7 kB / 4.555 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/11.16, allocations: 4.7 MB / 4.56 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/11.16, allocations: 37.5 kB / 4.56 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/11.16, allocations: 0 / 4.56 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009183/11.16, allocations: 4.081 MB / 4.564 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/11.19, allocations: 8.672 MB / 4.572 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/11.19, allocations: 4.125 kB / 4.572 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0046/11.19, allocations: 0.7497 MB / 4.573 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.286e-05/11.19, allocations: 15.97 kB / 4.573 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007135/11.19, allocations: 47.38 kB / 4.573 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.678e-05/11.19, allocations: 18.66 kB / 4.573 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/11.19, allocations: 7.031 kB / 4.573 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01624/11.21, allocations: 7.401 MB / 4.58 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/11.21, allocations: 0.8011 MB / 4.581 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/11.21, allocations: 17.12 kB / 4.581 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003844/11.22, allocations: 205.7 kB / 4.581 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/11.22, allocations: 198 kB / 4.582 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005255/11.22, allocations: 126.5 kB / 4.582 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001897/11.22, allocations: 0.9235 MB / 4.583 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005726/11.22, allocations: 1.452 MB / 4.584 GB, free: 32.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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 Backend phase and start with SimCode phase: time 0.008564/11.23, allocations: 5.547 MB / 4.589 GB, free: 27.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008017/11.24, allocations: 3.936 MB / 4.593 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/11.24, allocations: 4 kB / 4.593 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004361/11.25, allocations: 2.14 MB / 4.595 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007496/11.25, allocations: 1.211 MB / 4.596 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/11.27, allocations: 6.7 MB / 4.603 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004697/11.27, allocations: 2.632 MB / 4.606 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/11.27, allocations: 0 / 4.606 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.5424/11.82, allocations: 85.43 MB / 4.689 GB, free: 116 MB / 0.7605 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)