Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") [: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.00309/0.00309, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.675/0.675, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 395 MB, free: 10.21 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.001019/0.001019, allocations: 95.92 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.802e-06/6.822e-06, allocations: 0 / 0.5528 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1449, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.937/4.082, allocations: 1.873 GB / 2.506 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/4.082, allocations: 87.89 kB / 2.506 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.499/5.581, allocations: 359.9 MB / 2.858 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.777e-05/5.581, allocations: 12.94 kB / 2.858 GB, free: 154.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001409/5.583, allocations: 0.7611 MB / 2.858 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/5.583, allocations: 8.125 kB / 2.858 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/5.584, allocations: 188.9 kB / 2.858 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/5.585, allocations: 406.5 kB / 2.859 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/5.585, allocations: 11.03 kB / 2.859 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/5.585, allocations: 22.28 kB / 2.859 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004258/5.585, allocations: 257.4 kB / 2.859 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/5.586, allocations: 346.5 kB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/5.586, allocations: 3.281 kB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/5.586, allocations: 3.703 kB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/5.586, allocations: 11.44 kB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/5.588, allocations: 1.631 MB / 2.861 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/5.588, allocations: 258 kB / 2.861 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/5.588, allocations: 120.7 kB / 2.861 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008698/5.589, allocations: 1.04 MB / 2.862 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/5.589, allocations: 38.03 kB / 2.862 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/5.589, allocations: 0 / 2.862 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001091/5.59, allocations: 311.5 kB / 2.863 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/5.59, allocations: 55.72 kB / 2.863 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/5.59, allocations: 258.4 kB / 2.863 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/5.59, allocations: 29.58 kB / 2.863 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/5.591, allocations: 164.6 kB / 2.863 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/5.591, allocations: 86.86 kB / 2.863 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/5.591, allocations: 0 / 2.863 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/5.591, allocations: 344.2 kB / 2.864 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/5.591, allocations: 63.08 kB / 2.864 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/5.591, allocations: 109.7 kB / 2.864 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/5.591, allocations: 131.8 kB / 2.864 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.591, allocations: 0 / 2.864 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004809/5.592, allocations: 285.9 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/5.592, allocations: 3.906 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/5.592, allocations: 0 / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/5.592, allocations: 7.438 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/5.592, allocations: 51.2 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/5.592, allocations: 3.5 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/5.592, allocations: 38.14 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/5.592, allocations: 10.97 kB / 2.864 GB, free: 150.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 7.391e-05/5.592, allocations: 107.4 kB / 2.864 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/5.593, allocations: 37.25 kB / 2.864 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/5.593, allocations: 300.5 kB / 2.865 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/5.593, allocations: 2.594 kB / 2.865 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.593, allocations: 0 / 2.865 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/5.593, allocations: 0 / 2.865 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/5.594, allocations: 0.7952 MB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/5.594, allocations: 3.688 kB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/5.595, allocations: 57.91 kB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/5.595, allocations: 3.688 kB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/5.595, allocations: 6.75 kB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/5.595, allocations: 6.531 kB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/5.595, allocations: 3.625 kB / 2.866 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007029/5.595, allocations: 0.6035 MB / 2.866 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/5.596, allocations: 136 kB / 2.866 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/5.596, allocations: 2.969 kB / 2.866 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/5.596, allocations: 32.11 kB / 2.866 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/5.596, allocations: 20.31 kB / 2.866 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/5.596, allocations: 11.7 kB / 2.866 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000165/5.596, allocations: 208.8 kB / 2.867 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007142/5.597, allocations: 200.9 kB / 2.867 GB, free: 149.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001689/5.599, allocations: 1.368 MB / 2.868 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003156/5.599, allocations: 181.8 kB / 2.868 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/5.599, allocations: 6.875 kB / 2.868 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/5.599, allocations: 95.67 kB / 2.868 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008025/5.6, allocations: 162.4 kB / 2.869 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/5.601, allocations: 0.6565 MB / 2.869 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/5.602, allocations: 0.865 MB / 2.87 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/5.602, allocations: 0 / 2.87 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02191/5.623, allocations: 12.67 MB / 2.882 GB, free: 148.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)