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: translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7736/0.7736, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001523/0.001523, allocations: 172.8 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.315/1.315, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0008991/0.0008992, allocations: 80.12 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.001771/0.001771, allocations: 282.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.157e-05/1.175e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3596, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.782/4.141, allocations: 1.897 GB / 2.654 GB, free: 122.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/4.142, allocations: 95.12 kB / 2.654 GB, free: 122.1 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.448/7.589, allocations: 1.024 GB / 3.678 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/7.589, allocations: 0 / 3.678 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000213/7.59, allocations: 58.59 kB / 3.678 GB, free: 85.83 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.007439/7.597, allocations: 2.617 MB / 3.681 GB, free: 84.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/7.597, allocations: 7.062 kB / 3.681 GB, free: 84.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/7.602, allocations: 0.6614 MB / 3.682 GB, free: 84.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/7.605, allocations: 1.581 MB / 3.683 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/7.605, allocations: 59.47 kB / 3.683 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/7.605, allocations: 118.7 kB / 3.683 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003245/7.609, allocations: 2.262 MB / 3.686 GB, free: 84.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/7.612, allocations: 2.001 MB / 3.687 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/7.612, allocations: 2.688 kB / 3.687 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/7.612, allocations: 0 / 3.687 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.476e-05/7.612, allocations: 92.62 kB / 3.688 GB, free: 84.23 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.009069/7.621, allocations: 7.48 MB / 3.695 GB, free: 81.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/7.624, allocations: 2.913 MB / 3.698 GB, free: 80.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/7.625, allocations: 1.2 MB / 3.699 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/7.626, allocations: 1.565 MB / 3.7 GB, free: 78.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/7.627, allocations: 66.73 kB / 3.7 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=222): time 3.737e-06/7.627, allocations: 0 / 3.7 GB, free: 78.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226): time 0.009344/7.636, allocations: 5.174 MB / 3.706 GB, free: 77.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/7.636, allocations: 103.6 kB / 3.706 GB, free: 77.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/7.637, allocations: 0.8583 MB / 3.706 GB, free: 77.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/7.637, allocations: 29.11 kB / 3.706 GB, free: 77.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/7.638, allocations: 0.7566 MB / 3.707 GB, free: 76.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/7.638, allocations: 0.7355 MB / 3.708 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/7.638, allocations: 2.281 kB / 3.708 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001114/7.638, allocations: 383.4 kB / 3.708 GB, free: 76.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/7.639, allocations: 0.765 MB / 3.709 GB, free: 76.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/7.64, allocations: 1.03 MB / 3.71 GB, free: 75.8 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.008205/7.649, allocations: 3.281 MB / 3.713 GB, free: 75.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/7.649, allocations: 2.625 kB / 3.713 GB, free: 75.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003508/7.652, allocations: 2.228 MB / 3.715 GB, free: 75.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/7.652, allocations: 14.39 kB / 3.715 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/7.652, allocations: 6.938 kB / 3.715 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/7.652, allocations: 13.44 kB / 3.715 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/7.654, allocations: 425.1 kB / 3.716 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/7.654, allocations: 15.97 kB / 3.716 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/7.656, allocations: 111.4 kB / 3.716 GB, free: 75.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/7.656, allocations: 76.44 kB / 3.716 GB, free: 75.38 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.0003444/7.656, allocations: 143.3 kB / 3.716 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/7.657, allocations: 184.9 kB / 3.716 GB, free: 75.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/7.661, allocations: 2.347 MB / 3.719 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/7.661, allocations: 22.03 kB / 3.719 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/7.661, allocations: 0 / 3.719 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002813/7.664, allocations: 1.983 MB / 3.721 GB, free: 74.91 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.007587/7.671, allocations: 5.318 MB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/7.671, allocations: 7.812 kB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/7.673, allocations: 472.4 kB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/7.673, allocations: 17.31 kB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/7.673, allocations: 27.45 kB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/7.673, allocations: 16.66 kB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/7.673, allocations: 8.5 kB / 3.726 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/7.678, allocations: 4.177 MB / 3.73 GB, free: 72.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/7.679, allocations: 481.4 kB / 3.731 GB, free: 72.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/7.679, allocations: 16.02 kB / 3.731 GB, free: 72.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/7.681, allocations: 117.4 kB / 3.731 GB, free: 72.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/7.681, allocations: 153 kB / 3.731 GB, free: 72.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/7.681, allocations: 79.16 kB / 3.731 GB, free: 72.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008282/7.682, allocations: 0.6642 MB / 3.732 GB, free: 72.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/7.682, allocations: 0 / 3.732 GB, free: 72.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002146/7.684, allocations: 0.7744 MB / 3.733 GB, free: 72.5 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.003221/7.688, allocations: 2.857 MB / 3.735 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002564/7.69, allocations: 1.958 MB / 3.737 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/7.69, allocations: 3.969 kB / 3.737 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/7.691, allocations: 1.064 MB / 3.738 GB, free: 71.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/7.696, allocations: 0.9617 MB / 3.739 GB, free: 71.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/7.701, allocations: 3.943 MB / 3.743 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/7.702, allocations: 1.688 MB / 3.745 GB, free: 69.72 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002489/7.705, allocations: 0.7255 MB / 3.746 GB, free: 69.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/7.705, allocations: 173.6 kB / 3.746 GB, free: 69.69 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/7.705, allocations: 3.188 kB / 3.746 GB, free: 69.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.06042/7.766, allocations: 47.82 MB / 3.792 GB, free: 43.72 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)