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.724/0.724, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 182.5 kB / 187.3 MB, free: 11.88 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.341/1.341, allocations: 221.3 MB / 441.4 MB, free: 4.641 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.0009193/0.000919, allocations: 96.64 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 270.8 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.959e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.437/4.842, allocations: 1.897 GB / 2.662 GB, free: 149.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/4.843, allocations: 79.95 kB / 2.662 GB, free: 149 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 4.337/9.18, allocations: 1.035 GB / 3.697 GB, free: 89.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.036e-06/9.18, allocations: 3.938 kB / 3.697 GB, free: 89.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001882/9.18, allocations: 58.73 kB / 3.697 GB, free: 89.67 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.01097/9.191, allocations: 2.613 MB / 3.699 GB, free: 88.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/9.191, allocations: 9.781 kB / 3.7 GB, free: 88.72 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009321/9.192, allocations: 280.8 kB / 3.7 GB, free: 88.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/9.197, allocations: 0.6636 MB / 3.7 GB, free: 88.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/9.202, allocations: 1.573 MB / 3.702 GB, free: 88.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/9.202, allocations: 148 kB / 3.702 GB, free: 88.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/9.202, allocations: 199.2 kB / 3.702 GB, free: 88.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/9.207, allocations: 2.271 MB / 3.705 GB, free: 88.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/9.207, allocations: 2.812 kB / 3.705 GB, free: 88.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/9.207, allocations: 88.84 kB / 3.705 GB, free: 88.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/9.208, allocations: 86.95 kB / 3.705 GB, free: 88.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003982/9.212, allocations: 2.441 MB / 3.707 GB, free: 88.08 MB / 0.7292 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.01198/9.224, allocations: 7.844 MB / 3.715 GB, free: 85.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/9.227, allocations: 2.216 MB / 3.717 GB, free: 85.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/9.228, allocations: 1.291 MB / 3.718 GB, free: 85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/9.23, allocations: 1.562 MB / 3.72 GB, free: 83.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.767e-05/9.23, allocations: 58.75 kB / 3.72 GB, free: 83.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 5.03e-06/9.23, allocations: 0 / 3.72 GB, free: 83.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.01202/9.242, allocations: 5.292 MB / 3.725 GB, free: 82.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/9.242, allocations: 108 kB / 3.725 GB, free: 82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/9.244, allocations: 1.024 MB / 3.726 GB, free: 81.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001953/9.244, allocations: 70.05 kB / 3.726 GB, free: 81.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/9.245, allocations: 0.7469 MB / 3.727 GB, free: 81.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007565/9.245, allocations: 0.7681 MB / 3.728 GB, free: 81.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/9.245, allocations: 43.88 kB / 3.728 GB, free: 81.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001704/9.246, allocations: 381.6 kB / 3.728 GB, free: 80.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/9.247, allocations: 0.8397 MB / 3.729 GB, free: 80.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/9.248, allocations: 1.098 MB / 3.73 GB, free: 80.49 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.05449/9.303, allocations: 9.628 MB / 3.739 GB, free: 80.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/9.303, allocations: 0 / 3.739 GB, free: 80.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004326/9.307, allocations: 2.335 MB / 3.742 GB, free: 80.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/9.307, allocations: 17.39 kB / 3.742 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/9.307, allocations: 6.125 kB / 3.742 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/9.307, allocations: 14.19 kB / 3.742 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/9.309, allocations: 425.3 kB / 3.742 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/9.309, allocations: 19.98 kB / 3.742 GB, free: 80.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/9.312, allocations: 154.3 kB / 3.742 GB, free: 80.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/9.312, allocations: 74.52 kB / 3.742 GB, free: 80.06 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 () * 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.0004225/9.312, allocations: 218.5 kB / 3.742 GB, free: 79.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/9.313, allocations: 200 kB / 3.743 GB, free: 79.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/9.317, allocations: 2.478 MB / 3.745 GB, free: 79.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/9.317, allocations: 25 kB / 3.745 GB, free: 79.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/9.317, allocations: 0 / 3.745 GB, free: 79.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002742/9.32, allocations: 2.05 MB / 3.747 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008967/9.329, allocations: 5.275 MB / 3.752 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/9.329, allocations: 9.125 kB / 3.752 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/9.331, allocations: 469.5 kB / 3.753 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.371e-05/9.331, allocations: 17.94 kB / 3.753 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/9.331, allocations: 54.73 kB / 3.753 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/9.331, allocations: 18.25 kB / 3.753 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/9.331, allocations: 9.594 kB / 3.753 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005682/9.337, allocations: 4.371 MB / 3.757 GB, free: 77.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/9.338, allocations: 0.4937 MB / 3.758 GB, free: 77.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/9.339, allocations: 50.81 kB / 3.758 GB, free: 77.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/9.341, allocations: 154.4 kB / 3.758 GB, free: 77.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/9.341, allocations: 152 kB / 3.758 GB, free: 77.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/9.341, allocations: 79.97 kB / 3.758 GB, free: 77.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001231/9.342, allocations: 0.8058 MB / 3.759 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.292e-06/9.342, allocations: 0 / 3.759 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003272/9.346, allocations: 0.9361 MB / 3.76 GB, free: 77.49 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 () * 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.01039/9.356, allocations: 9.055 MB / 3.768 GB, free: 73.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003778/9.36, allocations: 2.14 MB / 3.771 GB, free: 73.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/9.36, allocations: 0 / 3.771 GB, free: 73.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/9.361, allocations: 1.147 MB / 3.772 GB, free: 73.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/9.368, allocations: 1.101 MB / 3.773 GB, free: 73.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/9.377, allocations: 4.641 MB / 3.777 GB, free: 72.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/9.378, allocations: 1.687 MB / 3.779 GB, free: 71.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002943/9.381, allocations: 0.7485 MB / 3.78 GB, free: 71.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/9.382, allocations: 0.8288 MB / 3.78 GB, free: 71.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.514e-06/9.382, allocations: 0 / 3.78 GB, free: 71.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/9.543, allocations: 98.19 MB / 3.876 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/9.543, allocations: 224 kB / 3.877 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.947/15.49, allocations: 0 / 3.877 GB, free: 9.297 MB / 0.7292 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)