Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8096/0.8096, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 183.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 92.05 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 275.6 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.904e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4316, allocations: 82.77 MB / 0.7574 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.428/4.86, allocations: 1.897 GB / 2.654 GB, free: 160.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/4.86, allocations: 87.95 kB / 2.654 GB, free: 160.8 MB / 0.698 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 - DAE generated: time 3.941/8.801, allocations: 1.024 GB / 3.678 GB, free: 81.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/8.801, allocations: 6.844 kB / 3.678 GB, free: 81.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000158/8.801, allocations: 58.06 kB / 3.678 GB, free: 81.37 MB / 0.7136 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.008812/8.81, allocations: 2.622 MB / 3.681 GB, free: 80.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/8.81, allocations: 6.5 kB / 3.681 GB, free: 80.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005009/8.815, allocations: 0.6658 MB / 3.682 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/8.819, allocations: 1.57 MB / 3.683 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/8.819, allocations: 63.5 kB / 3.683 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/8.819, allocations: 120.5 kB / 3.683 GB, free: 79.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003977/8.823, allocations: 2.269 MB / 3.686 GB, free: 79.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/8.827, allocations: 1.996 MB / 3.688 GB, free: 79.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/8.827, allocations: 6.344 kB / 3.688 GB, free: 79.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/8.827, allocations: 3.812 kB / 3.688 GB, free: 79.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/8.827, allocations: 90.45 kB / 3.688 GB, free: 79.86 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/8.839, allocations: 7.484 MB / 3.695 GB, free: 76.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/8.842, allocations: 2.911 MB / 3.698 GB, free: 76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/8.844, allocations: 1.204 MB / 3.699 GB, free: 75.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/8.845, allocations: 1.567 MB / 3.7 GB, free: 74.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/8.845, allocations: 61.06 kB / 3.701 GB, free: 74.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=222): time 4.699e-06/8.845, allocations: 0 / 3.701 GB, free: 74.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226): time 0.01113/8.856, allocations: 5.182 MB / 3.706 GB, free: 73.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/8.856, allocations: 101.6 kB / 3.706 GB, free: 72.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/8.858, allocations: 0.8619 MB / 3.707 GB, free: 72.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/8.858, allocations: 25.7 kB / 3.707 GB, free: 72.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/8.859, allocations: 0.7551 MB / 3.707 GB, free: 72.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008557/8.859, allocations: 0.7351 MB / 3.708 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/8.86, allocations: 0 / 3.708 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000216/8.86, allocations: 389.4 kB / 3.708 GB, free: 71.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/8.861, allocations: 0.7683 MB / 3.709 GB, free: 71.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/8.863, allocations: 1.022 MB / 3.71 GB, free: 71.46 MB / 0.7136 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.009437/8.872, allocations: 3.289 MB / 3.713 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/8.872, allocations: 0 / 3.713 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004019/8.876, allocations: 2.225 MB / 3.716 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/8.876, allocations: 8.312 kB / 3.716 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/8.876, allocations: 6.344 kB / 3.716 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/8.876, allocations: 17.14 kB / 3.716 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/8.878, allocations: 427.8 kB / 3.716 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/8.878, allocations: 16.03 kB / 3.716 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/8.88, allocations: 112.6 kB / 3.716 GB, free: 71.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/8.88, allocations: 70.77 kB / 3.716 GB, free: 71.05 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0003582/8.881, allocations: 143.8 kB / 3.716 GB, free: 70.94 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003454/8.884, allocations: 2.072 MB / 3.718 GB, free: 70.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/8.885, allocations: 190 kB / 3.719 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/8.889, allocations: 2.336 MB / 3.721 GB, free: 70.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/8.889, allocations: 20.59 kB / 3.721 GB, free: 70.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/8.889, allocations: 0 / 3.721 GB, free: 70.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002945/8.892, allocations: 1.982 MB / 3.723 GB, free: 70.41 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008295/8.9, allocations: 5.32 MB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/8.9, allocations: 8.125 kB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/8.902, allocations: 471 kB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/8.902, allocations: 15.12 kB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/8.902, allocations: 25.06 kB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/8.902, allocations: 20.34 kB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/8.902, allocations: 8.969 kB / 3.728 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/8.907, allocations: 4.181 MB / 3.733 GB, free: 68.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/8.908, allocations: 488.3 kB / 3.733 GB, free: 68.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/8.909, allocations: 25.7 kB / 3.733 GB, free: 68.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/8.911, allocations: 115 kB / 3.733 GB, free: 68.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/8.911, allocations: 150.2 kB / 3.733 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/8.911, allocations: 79.58 kB / 3.733 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009569/8.912, allocations: 0.6571 MB / 3.734 GB, free: 68.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/8.912, allocations: 2.188 kB / 3.734 GB, free: 68.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002798/8.915, allocations: 0.7722 MB / 3.735 GB, free: 68 MB / 0.7136 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.009883/8.925, allocations: 9.149 MB / 3.744 GB, free: 63.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003547/8.929, allocations: 1.958 MB / 3.746 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/8.929, allocations: 5.75 kB / 3.746 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/8.93, allocations: 1.058 MB / 3.747 GB, free: 63.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/8.936, allocations: 0.9754 MB / 3.748 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/8.946, allocations: 4.408 MB / 3.752 GB, free: 62.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/8.948, allocations: 1.691 MB / 3.754 GB, free: 62.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003158/8.951, allocations: 0.7276 MB / 3.754 GB, free: 62.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/8.952, allocations: 0.8216 MB / 3.755 GB, free: 62.01 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/8.952, allocations: 0 / 3.755 GB, free: 62.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/9.081, allocations: 69.39 MB / 3.823 GB, free: 32.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/9.081, allocations: 202.1 kB / 3.823 GB, free: 32.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/13.8, allocations: 0 / 3.823 GB, free: 32.49 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)