Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") [: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.003387/0.003387, 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.6562/0.6562, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.435/1.435, allocations: 221.3 MB / 395 MB, free: 10.16 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.001142/0.001142, allocations: 101.3 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.053e-06, allocations: 0 / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.911/5.138, allocations: 1.899 GB / 2.532 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/5.138, allocations: 79.95 kB / 2.533 GB, free: 47.52 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 3.824/8.962, allocations: 1.035 GB / 3.568 GB, free: 60.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001705/8.963, allocations: 61.58 kB / 3.568 GB, free: 60.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008932/8.972, allocations: 2.648 MB / 3.571 GB, free: 58.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/8.972, allocations: 12.03 kB / 3.571 GB, free: 58.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005631/8.977, allocations: 0.7037 MB / 3.571 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/8.982, allocations: 1.652 MB / 3.573 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/8.982, allocations: 67.94 kB / 3.573 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/8.982, allocations: 119.9 kB / 3.573 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004002/8.986, allocations: 2.291 MB / 3.575 GB, free: 53.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/8.989, allocations: 2.061 MB / 3.577 GB, free: 51.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/8.99, allocations: 3.938 kB / 3.577 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/8.99, allocations: 4 kB / 3.577 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-05/8.99, allocations: 92.17 kB / 3.577 GB, free: 51.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/9.002, allocations: 7.996 MB / 3.585 GB, free: 42.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/9.005, allocations: 2.175 MB / 3.587 GB, free: 40.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/9.007, allocations: 1.275 MB / 3.589 GB, free: 39.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/9.008, allocations: 1.559 MB / 3.59 GB, free: 37.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/9.008, allocations: 66.59 kB / 3.59 GB, free: 37.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 4.037e-06/9.008, allocations: 0 / 3.59 GB, free: 37.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01279/9.021, allocations: 5.991 MB / 3.596 GB, free: 31.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/9.021, allocations: 154.4 kB / 3.596 GB, free: 31.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/9.022, allocations: 0.8849 MB / 3.597 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002235/9.022, allocations: 32.27 kB / 3.597 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/9.022, allocations: 0.5412 MB / 3.598 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006046/9.023, allocations: 0.735 MB / 3.598 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/9.023, allocations: 0 / 3.598 GB, free: 28.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001094/9.023, allocations: 381.9 kB / 3.599 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/9.024, allocations: 0.8264 MB / 3.6 GB, free: 27.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/9.026, allocations: 1.091 MB / 3.601 GB, free: 26.55 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/9.037, allocations: 3.644 MB / 3.604 GB, free: 22.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/9.037, allocations: 4 kB / 3.604 GB, free: 22.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005134/9.042, allocations: 2.38 MB / 3.606 GB, free: 20.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/9.042, allocations: 8.594 kB / 3.606 GB, free: 20.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/9.042, allocations: 4 kB / 3.606 GB, free: 20.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/9.042, allocations: 16 kB / 3.606 GB, free: 20.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/9.044, allocations: 427.4 kB / 3.607 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.162e-05/9.044, allocations: 15.94 kB / 3.607 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/9.047, allocations: 119.5 kB / 3.607 GB, free: 19.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/9.047, allocations: 72 kB / 3.607 GB, free: 19.89 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * 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.0004814/9.047, allocations: 145.5 kB / 3.607 GB, free: 19.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/9.048, allocations: 185.8 kB / 3.607 GB, free: 19.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/9.054, allocations: 2.529 MB / 3.61 GB, free: 17.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/9.054, allocations: 20 kB / 3.61 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/9.054, allocations: 4 kB / 3.61 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00363/9.057, allocations: 2.117 MB / 3.612 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/9.068, allocations: 5.129 MB / 3.617 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/9.068, allocations: 8.75 kB / 3.617 GB, free: 9.656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/9.07, allocations: 479.3 kB / 3.617 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.756e-05/9.07, allocations: 19.94 kB / 3.617 GB, free: 9.168 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/9.07, allocations: 27.98 kB / 3.617 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/9.07, allocations: 16 kB / 3.618 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/9.07, allocations: 11.94 kB / 3.618 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006127/9.076, allocations: 4.65 MB / 3.622 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/9.078, allocations: 494.7 kB / 3.623 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006482/9.079, allocations: 19.98 kB / 3.623 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/9.081, allocations: 111.6 kB / 3.623 GB, free: 3.629 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/9.081, allocations: 125.7 kB / 3.623 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/9.081, allocations: 83.97 kB / 3.623 GB, free: 3.426 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001282/9.083, allocations: 0.6806 MB / 3.624 GB, free: 2.742 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003524/9.086, allocations: 0.7863 MB / 3.624 GB, free: 1.957 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1],dooDis.mExcBA,dooDis.mExcAB) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * 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.004548/9.091, allocations: 2.857 MB / 3.627 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004022/9.095, allocations: 2.091 MB / 3.629 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/9.095, allocations: 4 kB / 3.629 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/9.097, allocations: 1.139 MB / 3.63 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005926/9.103, allocations: 0.9134 MB / 3.631 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/9.113, allocations: 4.069 MB / 3.635 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003477/9.117, allocations: 1.908 MB / 3.637 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of SimCode: time 2.615e-06/9.117, allocations: 0 / 3.637 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of Templates: time 0.496/9.613, allocations: 51.9 MB / 3.688 GB, free: 150.8 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)