Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.003462/0.003462, allocations: 183 kB / 7.462 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6733/0.6733, 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.537/1.537, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009439/0.0009434, allocations: 98.45 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/9.007e-06, allocations: 2.688 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.986/5.197, allocations: 1.899 GB / 2.532 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/5.198, allocations: 83.95 kB / 2.533 GB, free: 53.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.892/9.089, allocations: 1.036 GB / 3.568 GB, free: 65.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003396/9.09, allocations: 61.34 kB / 3.569 GB, free: 65.86 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.009749/9.1, allocations: 2.644 MB / 3.571 GB, free: 63.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/9.1, allocations: 11.69 kB / 3.571 GB, free: 63.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005706/9.105, allocations: 0.7172 MB / 3.572 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/9.11, allocations: 1.652 MB / 3.573 GB, free: 60.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/9.11, allocations: 60 kB / 3.573 GB, free: 60.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008399/9.111, allocations: 123.9 kB / 3.574 GB, free: 60.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005118/9.116, allocations: 2.287 MB / 3.576 GB, free: 58.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/9.121, allocations: 2.053 MB / 3.578 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.039e-05/9.121, allocations: 0 / 3.578 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/9.122, allocations: 4 kB / 3.578 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.681e-05/9.122, allocations: 95.22 kB / 3.578 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/9.133, allocations: 7.948 MB / 3.586 GB, free: 47.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/9.136, allocations: 2.161 MB / 3.588 GB, free: 45.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/9.137, allocations: 1.257 MB / 3.589 GB, free: 44.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/9.138, allocations: 1.564 MB / 3.591 GB, free: 42.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/9.138, allocations: 71.62 kB / 3.591 GB, free: 42.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.637e-06/9.138, allocations: 0 / 3.591 GB, free: 42.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01249/9.151, allocations: 5.5 MB / 3.596 GB, free: 37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/9.151, allocations: 103 kB / 3.596 GB, free: 36.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/9.152, allocations: 0.885 MB / 3.597 GB, free: 35.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/9.153, allocations: 29.7 kB / 3.597 GB, free: 35.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/9.153, allocations: 0.5451 MB / 3.598 GB, free: 35.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007023/9.154, allocations: 0.7349 MB / 3.598 GB, free: 34.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/9.154, allocations: 2.375 kB / 3.598 GB, free: 34.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/9.154, allocations: 385.9 kB / 3.599 GB, free: 34.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/9.155, allocations: 0.8201 MB / 3.599 GB, free: 33.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/9.156, allocations: 1.078 MB / 3.6 GB, free: 32.3 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/9.167, allocations: 3.65 MB / 3.604 GB, free: 28.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/9.167, allocations: 3.844 kB / 3.604 GB, free: 28.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003939/9.171, allocations: 2.38 MB / 3.606 GB, free: 26.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/9.171, allocations: 4.531 kB / 3.606 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/9.171, allocations: 8 kB / 3.606 GB, free: 26.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/9.171, allocations: 16 kB / 3.606 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/9.173, allocations: 424 kB / 3.607 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/9.173, allocations: 15.94 kB / 3.607 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/9.175, allocations: 119.5 kB / 3.607 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/9.175, allocations: 68 kB / 3.607 GB, free: 25.61 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: 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.0003249/9.176, allocations: 148.1 kB / 3.607 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/9.176, allocations: 185.8 kB / 3.607 GB, free: 25.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/9.18, allocations: 2.533 MB / 3.61 GB, free: 22.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/9.18, allocations: 27.98 kB / 3.61 GB, free: 22.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/9.18, allocations: 0 / 3.61 GB, free: 22.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003165/9.183, allocations: 2.128 MB / 3.612 GB, free: 20.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/9.193, allocations: 5.111 MB / 3.617 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/9.193, allocations: 8.75 kB / 3.617 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/9.195, allocations: 471.4 kB / 3.617 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.292e-05/9.195, allocations: 12 kB / 3.617 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/9.195, allocations: 27.98 kB / 3.617 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/9.195, allocations: 15.98 kB / 3.617 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/9.195, allocations: 11.94 kB / 3.617 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006317/9.202, allocations: 4.478 MB / 3.622 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/9.203, allocations: 494.6 kB / 3.622 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/9.204, allocations: 16 kB / 3.622 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/9.206, allocations: 107.7 kB / 3.622 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/9.207, allocations: 129.6 kB / 3.622 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/9.207, allocations: 79.97 kB / 3.623 GB, free: 9.348 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009848/9.208, allocations: 0.6767 MB / 3.623 GB, free: 8.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002874/9.211, allocations: 0.7889 MB / 3.624 GB, free: 7.879 MB / 0.698 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.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]) * 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.003774/9.214, allocations: 2.858 MB / 3.627 GB, free: 5.191 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002915/9.217, allocations: 2.098 MB / 3.629 GB, free: 3.086 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/9.217, allocations: 0 / 3.629 GB, free: 3.086 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/9.219, allocations: 1.129 MB / 3.63 GB, free: 1.957 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/9.223, allocations: 0.9327 MB / 3.631 GB, free: 1.059 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007737/9.231, allocations: 4.073 MB / 3.635 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002302/9.233, allocations: 1.907 MB / 3.637 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/9.233, allocations: 0 / 3.637 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.4598/9.693, allocations: 51.94 MB / 3.687 GB, free: 150.5 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)