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.7812/0.7812, allocations: 143.3 MB / 158.3 MB, free: 5.766 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.00104/0.00104, allocations: 173.1 kB / 191.5 MB, free: 5.762 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.498/1.498, allocations: 223.2 MB / 447.7 MB, free: 6.523 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.0008774/0.0008775, allocations: 100.2 kB / 0.5187 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 277.9 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006711, allocations: 20 kB / 0.6929 GB, free: 2.234 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5116, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.285/4.796, allocations: 1.897 GB / 2.671 GB, free: 125.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/4.797, allocations: 88.77 kB / 2.671 GB, free: 125.7 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.665/8.462, allocations: 1.036 GB / 3.707 GB, free: 91.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.623e-06/8.462, allocations: 0 / 3.707 GB, free: 91.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001315/8.462, allocations: 61.97 kB / 3.707 GB, free: 91.74 MB / 0.7292 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.007678/8.469, allocations: 2.948 MB / 3.71 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/8.47, allocations: 10.78 kB / 3.71 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006745/8.47, allocations: 285.6 kB / 3.71 GB, free: 90.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/8.475, allocations: 0.6634 MB / 3.711 GB, free: 90.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/8.478, allocations: 1.581 MB / 3.713 GB, free: 90.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.774e-05/8.478, allocations: 155.2 kB / 3.713 GB, free: 90.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/8.478, allocations: 195.1 kB / 3.713 GB, free: 90.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/8.482, allocations: 2.303 MB / 3.715 GB, free: 90 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/8.482, allocations: 6.969 kB / 3.715 GB, free: 90 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/8.482, allocations: 82.27 kB / 3.715 GB, free: 90 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.149e-05/8.482, allocations: 91.45 kB / 3.715 GB, free: 89.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/8.486, allocations: 2.496 MB / 3.718 GB, free: 89.96 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01041/8.496, allocations: 7.839 MB / 3.725 GB, free: 86.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/8.499, allocations: 2.249 MB / 3.728 GB, free: 86.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/8.5, allocations: 1.558 MB / 3.729 GB, free: 85.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/8.5, allocations: 60.47 kB / 3.729 GB, free: 85.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 4.118e-06/8.5, allocations: 0 / 3.729 GB, free: 85.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.009801/8.51, allocations: 6.2 MB / 3.735 GB, free: 83.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/8.51, allocations: 101.5 kB / 3.735 GB, free: 83.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/8.511, allocations: 1.043 MB / 3.736 GB, free: 83.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/8.512, allocations: 68.89 kB / 3.736 GB, free: 83.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/8.512, allocations: 0.7461 MB / 3.737 GB, free: 83.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/8.512, allocations: 0.7665 MB / 3.738 GB, free: 82.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/8.513, allocations: 42.69 kB / 3.738 GB, free: 82.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001052/8.513, allocations: 388.2 kB / 3.738 GB, free: 82.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/8.514, allocations: 0.8489 MB / 3.739 GB, free: 82.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/8.515, allocations: 1.13 MB / 3.74 GB, free: 82.34 MB / 0.7292 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.05521/8.571, allocations: 9.617 MB / 3.75 GB, free: 82.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/8.571, allocations: 5.281 kB / 3.75 GB, free: 82.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003924/8.575, allocations: 2.366 MB / 3.752 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/8.575, allocations: 9.078 kB / 3.752 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/8.575, allocations: 7.5 kB / 3.752 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/8.575, allocations: 13.38 kB / 3.752 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/8.576, allocations: 429.6 kB / 3.752 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/8.576, allocations: 11.16 kB / 3.752 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/8.579, allocations: 160.1 kB / 3.753 GB, free: 81.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/8.579, allocations: 75.77 kB / 3.753 GB, free: 81.92 MB / 0.7292 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 () * Number of clocked 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.00117/8.58, allocations: 0.5566 MB / 3.753 GB, free: 81.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/8.581, allocations: 190.8 kB / 3.753 GB, free: 81.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/8.585, allocations: 2.516 MB / 3.756 GB, free: 81.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/8.585, allocations: 22.44 kB / 3.756 GB, free: 81.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/8.585, allocations: 3.281 kB / 3.756 GB, free: 81.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00255/8.587, allocations: 2.075 MB / 3.758 GB, free: 81.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008103/8.595, allocations: 5.278 MB / 3.763 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/8.595, allocations: 7.188 kB / 3.763 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/8.597, allocations: 468.6 kB / 3.764 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/8.597, allocations: 17.09 kB / 3.764 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/8.597, allocations: 59.39 kB / 3.764 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.839e-05/8.597, allocations: 26.8 kB / 3.764 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/8.598, allocations: 6.938 kB / 3.764 GB, free: 80.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/8.603, allocations: 4.411 MB / 3.768 GB, free: 79.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/8.604, allocations: 499.6 kB / 3.768 GB, free: 79.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/8.605, allocations: 54.7 kB / 3.768 GB, free: 79.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/8.607, allocations: 145.7 kB / 3.769 GB, free: 79.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/8.607, allocations: 150.6 kB / 3.769 GB, free: 79.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/8.608, allocations: 84.36 kB / 3.769 GB, free: 79.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001531/8.609, allocations: 0.8192 MB / 3.77 GB, free: 79.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/8.609, allocations: 0 / 3.77 GB, free: 79.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003765/8.613, allocations: 0.9268 MB / 3.771 GB, free: 79.36 MB / 0.7292 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 () * Number of clocked 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.01144/8.624, allocations: 9.121 MB / 3.779 GB, free: 75.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003803/8.628, allocations: 2.173 MB / 3.782 GB, free: 75.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/8.628, allocations: 6.766 kB / 3.782 GB, free: 75.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/8.63, allocations: 1.157 MB / 3.783 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/8.636, allocations: 1.098 MB / 3.784 GB, free: 74.74 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/8.661, allocations: 16.4 MB / 3.8 GB, free: 64.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/8.663, allocations: 1.693 MB / 3.801 GB, free: 63.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003393/8.666, allocations: 0.7457 MB / 3.802 GB, free: 63.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/8.668, allocations: 0.8241 MB / 3.803 GB, free: 63.29 MB / 0.7292 GB Notification: Performance of SimCode: time 1.352e-06/8.668, allocations: 0 / 3.803 GB, free: 63.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1766/8.845, allocations: 91.8 MB / 3.893 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003265/8.845, allocations: 248.9 kB / 3.893 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.504/14.35, allocations: 2.734 kB / 3.893 GB, free: 1.066 MB / 0.7448 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)