Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.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.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam") [: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.003366/0.003366, allocations: 178.7 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7512/0.7512, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.255/1.255, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009325/0.0009322, allocations: 98.98 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.632e-06, allocations: 0 / 0.5528 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.811/4.978, allocations: 1.898 GB / 2.531 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/4.979, allocations: 91.89 kB / 2.531 GB, free: 63.79 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 6.292/11.27, allocations: 1.67 GB / 4.201 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003045/11.27, allocations: 71.98 kB / 4.201 GB, free: 1.746 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01449/11.29, allocations: 3.279 MB / 4.204 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/11.29, allocations: 8.031 kB / 4.204 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007965/11.29, allocations: 0.8627 MB / 4.205 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006677/11.3, allocations: 1.735 MB / 4.207 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/11.3, allocations: 76 kB / 4.207 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/11.3, allocations: 159.9 kB / 4.207 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007305/11.31, allocations: 2.454 MB / 4.209 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00891/11.32, allocations: 2.722 MB / 4.212 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/11.32, allocations: 4 kB / 4.212 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007278/11.32, allocations: 4 kB / 4.212 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/11.32, allocations: 124.6 kB / 4.212 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3931/11.71, allocations: 12.74 MB / 4.225 GB, free: 116.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/11.71, allocations: 1.87 MB / 4.226 GB, free: 116.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/11.72, allocations: 1.267 MB / 4.228 GB, free: 116.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009411/11.72, allocations: 1.379 MB / 4.229 GB, free: 114.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/11.72, allocations: 61.47 kB / 4.229 GB, free: 114.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 4.138e-06/11.72, allocations: 0 / 4.229 GB, free: 114.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.005281/11.72, allocations: 2.289 MB / 4.231 GB, free: 114.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/11.72, allocations: 72.12 kB / 4.231 GB, free: 114.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/11.72, allocations: 0.8779 MB / 4.232 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/11.72, allocations: 25.7 kB / 4.232 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/11.72, allocations: 0.7313 MB / 4.233 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/11.73, allocations: 0.6527 MB / 4.234 GB, free: 113.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/11.73, allocations: 0 / 4.234 GB, free: 113.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001061/11.73, allocations: 369.2 kB / 4.234 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/11.73, allocations: 0.8285 MB / 4.235 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/11.73, allocations: 1.065 MB / 4.236 GB, free: 113.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/11.73, allocations: 1.05 MB / 4.237 GB, free: 113.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/11.73, allocations: 0 / 4.237 GB, free: 113.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00382/11.73, allocations: 2.279 MB / 4.239 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/11.73, allocations: 3.812 kB / 4.239 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/11.73, allocations: 3.188 kB / 4.239 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/11.73, allocations: 14.08 kB / 4.239 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/11.74, allocations: 399.5 kB / 4.239 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/11.74, allocations: 17.78 kB / 4.239 GB, free: 113.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/11.74, allocations: 230.3 kB / 4.24 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/11.74, allocations: 77.64 kB / 4.24 GB, free: 113.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.000319/11.74, allocations: 138.1 kB / 4.24 GB, free: 113 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/11.74, allocations: 175.5 kB / 4.24 GB, free: 112.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/11.74, allocations: 2.351 MB / 4.242 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/11.74, allocations: 18.59 kB / 4.242 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/11.74, allocations: 0 / 4.242 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002665/11.75, allocations: 1.952 MB / 4.244 GB, free: 112.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008334/11.75, allocations: 5.052 MB / 4.249 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/11.75, allocations: 2.594 kB / 4.249 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/11.76, allocations: 456.3 kB / 4.25 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/11.76, allocations: 17.97 kB / 4.25 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/11.76, allocations: 32.06 kB / 4.25 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/11.76, allocations: 13.8 kB / 4.25 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/11.76, allocations: 7.625 kB / 4.25 GB, free: 112.1 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004837/11.76, allocations: 3.889 MB / 4.254 GB, free: 111.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/11.76, allocations: 0.5001 MB / 4.254 GB, free: 111.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/11.76, allocations: 11.7 kB / 4.254 GB, free: 111.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/11.77, allocations: 173 kB / 4.254 GB, free: 111.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/11.77, allocations: 119.1 kB / 4.254 GB, free: 111.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/11.77, allocations: 69.86 kB / 4.254 GB, free: 111.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0008768/11.77, allocations: 0.6707 MB / 4.255 GB, free: 111.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002902/11.77, allocations: 1.084 MB / 4.256 GB, free: 111.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.005802/11.78, allocations: 4.612 MB / 4.261 GB, free: 109.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003205/11.78, allocations: 2.058 MB / 4.263 GB, free: 109.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/11.78, allocations: 3.125 kB / 4.263 GB, free: 109.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/11.78, allocations: 1.105 MB / 4.264 GB, free: 109.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/11.78, allocations: 0.9442 MB / 4.265 GB, free: 109.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/11.79, allocations: 4.529 MB / 4.269 GB, free: 108.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/11.8, allocations: 2.098 MB / 4.271 GB, free: 107.6 MB / 0.7448 GB Notification: Performance of SimCode: time 1.493e-06/11.8, allocations: 0 / 4.271 GB, free: 107.6 MB / 0.7448 GB Notification: Performance of Templates: time 0.09455/11.89, allocations: 61.74 MB / 4.331 GB, free: 105.2 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)