Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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: translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7934/0.7934, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001012/0.001012, allocations: 180.8 kB / 182.2 MB, free: 9.441 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.356/1.356, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009788/0.0009788, allocations: 84.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 278.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.65e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3683, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.688/4.056, allocations: 1.897 GB / 2.654 GB, free: 162 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/4.056, allocations: 87.83 kB / 2.654 GB, free: 161.9 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.266/7.322, allocations: 1.024 GB / 3.678 GB, free: 80.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/7.322, allocations: 0 / 3.678 GB, free: 80.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002264/7.323, allocations: 57.14 kB / 3.678 GB, free: 80.14 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.008505/7.331, allocations: 2.62 MB / 3.68 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/7.331, allocations: 8.688 kB / 3.68 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/7.336, allocations: 0.6655 MB / 3.681 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/7.34, allocations: 1.568 MB / 3.683 GB, free: 78.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/7.34, allocations: 65.97 kB / 3.683 GB, free: 78.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005975/7.341, allocations: 123.5 kB / 3.683 GB, free: 78.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004108/7.345, allocations: 2.26 MB / 3.685 GB, free: 78.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/7.349, allocations: 2.014 MB / 3.687 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/7.349, allocations: 0 / 3.687 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/7.349, allocations: 3.156 kB / 3.687 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-05/7.349, allocations: 88.67 kB / 3.687 GB, free: 78.61 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.00989/7.359, allocations: 7.645 MB / 3.695 GB, free: 75.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/7.361, allocations: 2.934 MB / 3.697 GB, free: 74.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/7.363, allocations: 1.216 MB / 3.699 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/7.364, allocations: 1.563 MB / 3.7 GB, free: 72.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/7.364, allocations: 59.75 kB / 3.7 GB, free: 72.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=222): time 4.248e-06/7.364, allocations: 4.406 kB / 3.7 GB, free: 72.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226): time 0.01013/7.374, allocations: 5.648 MB / 3.706 GB, free: 71.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/7.374, allocations: 154.2 kB / 3.706 GB, free: 71.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/7.375, allocations: 0.8692 MB / 3.707 GB, free: 70.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/7.375, allocations: 29.05 kB / 3.707 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/7.376, allocations: 0.7579 MB / 3.707 GB, free: 70.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/7.376, allocations: 0.7319 MB / 3.708 GB, free: 70.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/7.376, allocations: 0 / 3.708 GB, free: 70.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/7.376, allocations: 387.6 kB / 3.709 GB, free: 69.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009612/7.377, allocations: 0.7612 MB / 3.709 GB, free: 69.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/7.378, allocations: 1.032 MB / 3.71 GB, free: 69.56 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/7.387, allocations: 3.285 MB / 3.714 GB, free: 69.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/7.387, allocations: 0 / 3.714 GB, free: 69.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003662/7.391, allocations: 2.231 MB / 3.716 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/7.391, allocations: 11.56 kB / 3.716 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/7.391, allocations: 6.266 kB / 3.716 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/7.391, allocations: 23.64 kB / 3.716 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/7.392, allocations: 427.2 kB / 3.716 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/7.392, allocations: 16.94 kB / 3.716 GB, free: 69.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/7.394, allocations: 111 kB / 3.716 GB, free: 69.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/7.395, allocations: 81.38 kB / 3.716 GB, free: 69.14 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: 21 * 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.0003004/7.395, allocations: 138.7 kB / 3.716 GB, free: 69.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/7.395, allocations: 179.6 kB / 3.717 GB, free: 68.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/7.399, allocations: 2.333 MB / 3.719 GB, free: 68.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/7.399, allocations: 25 kB / 3.719 GB, free: 68.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/7.399, allocations: 3.953 kB / 3.719 GB, free: 68.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00277/7.402, allocations: 1.979 MB / 3.721 GB, free: 68.67 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.007437/7.409, allocations: 5.334 MB / 3.726 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/7.409, allocations: 6.656 kB / 3.726 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/7.411, allocations: 469.7 kB / 3.727 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/7.411, allocations: 19.09 kB / 3.727 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/7.411, allocations: 26.34 kB / 3.727 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/7.411, allocations: 22.59 kB / 3.727 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/7.411, allocations: 11.38 kB / 3.727 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/7.416, allocations: 4.354 MB / 3.731 GB, free: 66.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/7.417, allocations: 492.8 kB / 3.731 GB, free: 66.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/7.418, allocations: 16.55 kB / 3.731 GB, free: 66.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/7.419, allocations: 113.6 kB / 3.731 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/7.42, allocations: 155.7 kB / 3.732 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/7.42, allocations: 76.64 kB / 3.732 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008155/7.421, allocations: 0.6663 MB / 3.732 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/7.421, allocations: 2.281 kB / 3.732 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002129/7.423, allocations: 0.7756 MB / 3.733 GB, free: 66.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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],dooDis.mExcBA,dooDis.mExcAB) * 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.002911/7.426, allocations: 2.848 MB / 3.736 GB, free: 65.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002326/7.428, allocations: 1.964 MB / 3.738 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/7.428, allocations: 3.188 kB / 3.738 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/7.429, allocations: 1.055 MB / 3.739 GB, free: 65.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/7.433, allocations: 0.9734 MB / 3.74 GB, free: 65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/7.438, allocations: 3.946 MB / 3.744 GB, free: 64.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00098/7.439, allocations: 1.688 MB / 3.745 GB, free: 63.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002259/7.442, allocations: 0.724 MB / 3.746 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/7.442, allocations: 173.5 kB / 3.746 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/7.442, allocations: 2.5 kB / 3.746 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.06136/7.504, allocations: 47.75 MB / 3.793 GB, free: 57.75 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)