Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure") [: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.002386/0.002386, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6805/0.6805, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.382/1.382, allocations: 221.3 MB / 395 MB, free: 10.15 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.0009677/0.0009678, allocations: 105.3 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.346e-05/1.35e-05, allocations: 2.844 kB / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 82.31 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.897/5.098, allocations: 1.885 GB / 2.518 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/5.099, allocations: 91.14 kB / 2.519 GB, free: 76.46 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 1.828/6.927, allocations: 461.2 MB / 2.969 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001115/6.927, allocations: 23.91 kB / 2.969 GB, free: 147.6 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006339/6.934, allocations: 1.526 MB / 2.97 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/6.934, allocations: 8.531 kB / 2.97 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/6.935, allocations: 169 kB / 2.971 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/6.937, allocations: 0.6338 MB / 2.971 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/6.937, allocations: 28.53 kB / 2.971 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/6.938, allocations: 54.09 kB / 2.971 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003323/6.941, allocations: 1.32 MB / 2.973 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/6.944, allocations: 1.066 MB / 2.974 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/6.944, allocations: 0 / 2.974 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/6.944, allocations: 1.469 kB / 2.974 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/6.944, allocations: 51.58 kB / 2.974 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007646/6.952, allocations: 3.236 MB / 2.977 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/6.954, allocations: 1.336 MB / 2.978 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/6.955, allocations: 0.7178 MB / 2.979 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/6.957, allocations: 1.537 MB / 2.98 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/6.958, allocations: 0.7157 MB / 2.981 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=127): time 5.931e-06/6.958, allocations: 3.75 kB / 2.981 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127): time 0.004236/6.962, allocations: 1.425 MB / 2.982 GB, free: 139 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/6.963, allocations: 95.64 kB / 2.983 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/6.964, allocations: 0.5009 MB / 2.983 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/6.964, allocations: 27.52 kB / 2.983 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/6.964, allocations: 284.1 kB / 2.983 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/6.965, allocations: 405.1 kB / 2.984 GB, free: 138 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/6.965, allocations: 0.75 kB / 2.984 GB, free: 138 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001716/6.965, allocations: 394.1 kB / 2.984 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/6.966, allocations: 0.5137 MB / 2.985 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/6.967, allocations: 0.6792 MB / 2.985 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/6.968, allocations: 0.7542 MB / 2.986 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/6.968, allocations: 7.688 kB / 2.986 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002909/6.971, allocations: 1.515 MB / 2.988 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/6.971, allocations: 4 kB / 2.988 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/6.971, allocations: 7.438 kB / 2.988 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/6.971, allocations: 8 kB / 2.988 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/6.972, allocations: 227.7 kB / 2.988 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/6.972, allocations: 8 kB / 2.988 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/6.973, allocations: 90.77 kB / 2.988 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/6.974, allocations: 44 kB / 2.988 GB, free: 133.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0002502/6.974, allocations: 162.3 kB / 2.988 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/6.974, allocations: 86.97 kB / 2.988 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/6.978, allocations: 1.662 MB / 2.99 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/6.978, allocations: 15.94 kB / 2.99 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/6.978, allocations: 0 / 2.99 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/6.978, allocations: 3.984 kB / 2.99 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006657/6.984, allocations: 3.606 MB / 2.993 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/6.984, allocations: 8 kB / 2.993 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/6.985, allocations: 215.7 kB / 2.994 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.542e-05/6.985, allocations: 15.84 kB / 2.994 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/6.985, allocations: 16 kB / 2.994 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/6.985, allocations: 19.92 kB / 2.994 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/6.985, allocations: 15.84 kB / 2.994 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004052/6.989, allocations: 2.995 MB / 2.996 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008568/6.99, allocations: 328.5 kB / 2.997 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/6.991, allocations: 23.98 kB / 2.997 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/6.992, allocations: 39.59 kB / 2.997 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/6.992, allocations: 91.98 kB / 2.997 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/6.992, allocations: 48 kB / 2.997 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000577/6.993, allocations: 398.9 kB / 2.997 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001906/6.995, allocations: 462.9 kB / 2.998 GB, free: 123.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.002805/6.997, allocations: 1.797 MB / 3 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001924/6.999, allocations: 1.268 MB / 3.001 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/6.999, allocations: 4 kB / 3.001 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009033/7, allocations: 0.7108 MB / 3.002 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/7.002, allocations: 217.5 kB / 3.002 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/7.006, allocations: 1.9 MB / 3.004 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/7.007, allocations: 1.234 MB / 3.005 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/7.007, allocations: 0 / 3.005 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.03888/7.046, allocations: 23.95 MB / 3.028 GB, free: 93.15 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)