Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") [: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.001202/0.001202, allocations: 186.2 kB / 7.803 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4859/0.4859, allocations: 90.84 MB / 99.07 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.34/1.34, allocations: 221.4 MB / 342.8 MB, free: 5.23 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.001046/0.001046, allocations: 99.36 kB / 415.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.172e-06/6.202e-06, allocations: 0 / 493.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.465, allocations: 72.3 MB / 0.5529 GB, free: 44.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.822/4.287, allocations: 1.89 GB / 2.443 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/4.287, allocations: 83.95 kB / 2.443 GB, free: 167.8 MB / 0.6042 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.359/7.647, allocations: 1.042 GB / 3.485 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002757/7.647, allocations: 73.47 kB / 3.485 GB, free: 32.61 MB / 0.6198 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.01026/7.657, allocations: 2.636 MB / 3.488 GB, free: 29.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/7.657, allocations: 8.031 kB / 3.488 GB, free: 29.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/7.663, allocations: 0.711 MB / 3.488 GB, free: 29.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/7.669, allocations: 1.661 MB / 3.49 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/7.669, allocations: 60 kB / 3.49 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009197/7.67, allocations: 112 kB / 3.49 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005559/7.676, allocations: 2.303 MB / 3.492 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/7.68, allocations: 2.053 MB / 3.494 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/7.68, allocations: 7.906 kB / 3.494 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/7.68, allocations: 4 kB / 3.495 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.13e-05/7.68, allocations: 92.28 kB / 3.495 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/7.692, allocations: 8.352 MB / 3.503 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/7.695, allocations: 2.142 MB / 3.505 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/7.697, allocations: 1.267 MB / 3.506 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/7.698, allocations: 1.56 MB / 3.508 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/7.698, allocations: 68.38 kB / 3.508 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=222): time 3.907e-06/7.698, allocations: 0 / 3.508 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of matching and sorting (n=226): time 0.01222/7.71, allocations: 5.512 MB / 3.513 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/7.71, allocations: 103.1 kB / 3.513 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/7.712, allocations: 0.8849 MB / 3.514 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/7.712, allocations: 28.22 kB / 3.514 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/7.712, allocations: 0.5451 MB / 3.515 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/7.713, allocations: 0.7388 MB / 3.515 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/7.713, allocations: 4 kB / 3.515 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001142/7.713, allocations: 385.9 kB / 3.516 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/7.714, allocations: 0.824 MB / 3.516 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/7.716, allocations: 1.06 MB / 3.518 GB, free: 14.54 MB / 0.6355 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/7.727, allocations: 3.686 MB / 3.521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/7.727, allocations: 0 / 3.521 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005111/7.732, allocations: 2.384 MB / 3.523 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/7.732, allocations: 8 kB / 3.523 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/7.732, allocations: 7.984 kB / 3.523 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.19e-05/7.732, allocations: 12 kB / 3.523 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/7.735, allocations: 423.4 kB / 3.524 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.553e-05/7.735, allocations: 12 kB / 3.524 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/7.738, allocations: 151.8 kB / 3.524 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/7.738, allocations: 71.98 kB / 3.524 GB, free: 7.758 MB / 0.6355 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: 19 * 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.0004597/7.739, allocations: 148.5 kB / 3.524 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/7.739, allocations: 193.6 kB / 3.524 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/7.745, allocations: 2.529 MB / 3.527 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/7.745, allocations: 26.95 kB / 3.527 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/7.745, allocations: 0 / 3.527 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004008/7.749, allocations: 2.128 MB / 3.529 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3247/8.074, allocations: 5.109 MB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/8.074, allocations: 7.438 kB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/8.076, allocations: 466.8 kB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/8.076, allocations: 14.91 kB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/8.076, allocations: 29.44 kB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/8.076, allocations: 15.09 kB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/8.076, allocations: 13.12 kB / 3.534 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005432/8.081, allocations: 4.26 MB / 3.539 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/8.083, allocations: 499 kB / 3.539 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/8.083, allocations: 15.67 kB / 3.539 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/8.085, allocations: 109.9 kB / 3.539 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/8.085, allocations: 136.4 kB / 3.539 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/8.085, allocations: 76.69 kB / 3.539 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000999/8.086, allocations: 0.6775 MB / 3.54 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00256/8.089, allocations: 0.792 MB / 3.541 GB, free: 117.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m) * 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.003657/8.093, allocations: 2.85 MB / 3.544 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003078/8.096, allocations: 2.098 MB / 3.546 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/8.096, allocations: 1.828 kB / 3.546 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/8.097, allocations: 1.136 MB / 3.547 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005223/8.102, allocations: 0.9314 MB / 3.548 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/8.11, allocations: 4.098 MB / 3.552 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/8.112, allocations: 1.902 MB / 3.554 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/8.112, allocations: 0 / 3.554 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.08686/8.199, allocations: 51.95 MB / 3.604 GB, free: 113 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)