Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001458/0.001458, allocations: 180.2 kB / 7.799 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5196/0.5196, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.244/1.244, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.0008889/0.000889, allocations: 92.31 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.763e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3882, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.915/4.303, allocations: 1.863 GB / 2.416 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/4.304, allocations: 87.95 kB / 2.416 GB, free: 200.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.013/5.317, allocations: 359.9 MB / 2.768 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.47e-05/5.317, allocations: 19.91 kB / 2.768 GB, free: 76.43 MB / 0.6042 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.001584/5.319, allocations: 0.7695 MB / 2.768 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/5.319, allocations: 8.031 kB / 2.768 GB, free: 75.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/5.321, allocations: 183.2 kB / 2.769 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/5.321, allocations: 409.9 kB / 2.769 GB, free: 75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/5.321, allocations: 12 kB / 2.769 GB, free: 74.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/5.321, allocations: 16 kB / 2.769 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004309/5.322, allocations: 261.2 kB / 2.769 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/5.322, allocations: 339.1 kB / 2.77 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/5.322, allocations: 7.984 kB / 2.77 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/5.322, allocations: 0 / 2.77 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/5.322, allocations: 8 kB / 2.77 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/5.324, allocations: 1.63 MB / 2.771 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/5.325, allocations: 251.4 kB / 2.771 GB, free: 72.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/5.325, allocations: 124.8 kB / 2.772 GB, free: 72.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/5.326, allocations: 1.032 MB / 2.773 GB, free: 70.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/5.326, allocations: 47.42 kB / 2.773 GB, free: 70.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/5.326, allocations: 0 / 2.773 GB, free: 70.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.00117/5.327, allocations: 313 kB / 2.773 GB, free: 70.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/5.327, allocations: 59.39 kB / 2.773 GB, free: 70.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/5.327, allocations: 254.1 kB / 2.773 GB, free: 70.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/5.327, allocations: 25.7 kB / 2.773 GB, free: 70.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/5.327, allocations: 176.2 kB / 2.773 GB, free: 70.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/5.327, allocations: 82.75 kB / 2.773 GB, free: 70.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/5.327, allocations: 0 / 2.773 GB, free: 70.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/5.328, allocations: 346.8 kB / 2.774 GB, free: 69.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/5.328, allocations: 60.45 kB / 2.774 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/5.328, allocations: 111.6 kB / 2.774 GB, free: 69.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/5.328, allocations: 124.8 kB / 2.774 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/5.328, allocations: 0 / 2.774 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004919/5.329, allocations: 291.5 kB / 2.774 GB, free: 69.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/5.329, allocations: 8 kB / 2.774 GB, free: 69.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/5.329, allocations: 0 / 2.774 GB, free: 69.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/5.329, allocations: 0 / 2.774 GB, free: 69.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/5.329, allocations: 55.91 kB / 2.774 GB, free: 69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/5.329, allocations: 7.984 kB / 2.774 GB, free: 69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/5.329, allocations: 27.86 kB / 2.774 GB, free: 68.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/5.329, allocations: 19.98 kB / 2.774 GB, free: 68.95 MB / 0.6042 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.114e-05/5.329, allocations: 108.8 kB / 2.775 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/5.329, allocations: 31.62 kB / 2.775 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/5.33, allocations: 302.2 kB / 2.775 GB, free: 68.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/5.33, allocations: 11.89 kB / 2.775 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/5.33, allocations: 0 / 2.775 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/5.33, allocations: 3.984 kB / 2.775 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/5.331, allocations: 0.7876 MB / 2.776 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.331, allocations: 4 kB / 2.776 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/5.332, allocations: 51.91 kB / 2.776 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/5.332, allocations: 4 kB / 2.776 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/5.332, allocations: 4.25 kB / 2.776 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/5.332, allocations: 11.91 kB / 2.776 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/5.332, allocations: 3.938 kB / 2.776 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007264/5.332, allocations: 0.6086 MB / 2.776 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/5.332, allocations: 140.5 kB / 2.777 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/5.333, allocations: 0 / 2.777 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/5.333, allocations: 23.92 kB / 2.777 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/5.333, allocations: 27.97 kB / 2.777 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/5.333, allocations: 8 kB / 2.777 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001657/5.333, allocations: 208.5 kB / 2.777 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008006/5.334, allocations: 198.1 kB / 2.777 GB, free: 66.25 MB / 0.6042 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.002006/5.336, allocations: 1.372 MB / 2.778 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003223/5.336, allocations: 172 kB / 2.778 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/5.336, allocations: 0 / 2.778 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/5.337, allocations: 99.86 kB / 2.779 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/5.337, allocations: 147.4 kB / 2.779 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/5.339, allocations: 0.6673 MB / 2.779 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/5.339, allocations: 0.8648 MB / 2.78 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/5.339, allocations: 0 / 2.78 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.02081/5.36, allocations: 12.69 MB / 2.793 GB, free: 50.25 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)