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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.9466/0.9466, allocations: 140.1 MB / 156 MB, free: 5.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 190.9 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 96.2 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001876/0.001876, allocations: 282.9 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000533/0.0005332, allocations: 16 kB / 0.662 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4884, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/6.261, allocations: 2.061 GB / 2.801 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/6.261, allocations: 91.94 kB / 2.801 GB, free: 227.7 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 3.98/10.24, allocations: 1.02 GB / 3.821 GB, free: 77.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/10.24, allocations: 3.844 kB / 3.821 GB, free: 77.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002672/10.24, allocations: 57.06 kB / 3.821 GB, free: 77.57 MB / 0.698 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.01079/10.25, allocations: 2.919 MB / 3.824 GB, free: 76.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/10.25, allocations: 8.578 kB / 3.824 GB, free: 76.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/10.26, allocations: 0.6648 MB / 3.825 GB, free: 76.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/10.26, allocations: 1.645 MB / 3.826 GB, free: 76.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/10.26, allocations: 144.5 kB / 3.826 GB, free: 76.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008974/10.26, allocations: 199.3 kB / 3.827 GB, free: 76.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006447/10.27, allocations: 2.333 MB / 3.829 GB, free: 76.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.668e-05/10.27, allocations: 3.312 kB / 3.829 GB, free: 76.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003829/10.27, allocations: 79.72 kB / 3.829 GB, free: 76.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/10.27, allocations: 88.27 kB / 3.829 GB, free: 76.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00479/10.28, allocations: 2.494 MB / 3.831 GB, free: 76.11 MB / 0.698 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.01431/10.29, allocations: 7.847 MB / 3.839 GB, free: 73.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/10.29, allocations: 2.25 MB / 3.841 GB, free: 73.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/10.3, allocations: 1.314 MB / 3.843 GB, free: 73.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/10.3, allocations: 1.558 MB / 3.844 GB, free: 71.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/10.3, allocations: 59.72 kB / 3.844 GB, free: 71.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.857e-06/10.3, allocations: 2.312 kB / 3.844 GB, free: 71.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01257/10.31, allocations: 6.212 MB / 3.85 GB, free: 70.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/10.31, allocations: 103.4 kB / 3.85 GB, free: 70.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/10.31, allocations: 1.2 MB / 3.852 GB, free: 69.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/10.31, allocations: 68.23 kB / 3.852 GB, free: 69.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/10.31, allocations: 0.7557 MB / 3.852 GB, free: 69.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007156/10.31, allocations: 0.7599 MB / 3.853 GB, free: 69.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/10.31, allocations: 41.12 kB / 3.853 GB, free: 69.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001504/10.31, allocations: 388.1 kB / 3.853 GB, free: 68.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/10.31, allocations: 0.8481 MB / 3.854 GB, free: 68.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/10.32, allocations: 1.138 MB / 3.855 GB, free: 68.65 MB / 0.698 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.06872/10.39, allocations: 11.64 MB / 3.867 GB, free: 68.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.832e-05/10.39, allocations: 0 / 3.867 GB, free: 68.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006968/10.39, allocations: 2.375 MB / 3.869 GB, free: 68.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/10.39, allocations: 11.38 kB / 3.869 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/10.39, allocations: 2.875 kB / 3.869 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.926e-05/10.39, allocations: 14.25 kB / 3.869 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/10.39, allocations: 424.2 kB / 3.87 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.108e-05/10.4, allocations: 18.22 kB / 3.87 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/10.4, allocations: 159.6 kB / 3.87 GB, free: 68.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/10.4, allocations: 75.64 kB / 3.87 GB, free: 68.04 MB / 0.698 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.002096/10.4, allocations: 0.5602 MB / 3.87 GB, free: 67.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009204/10.4, allocations: 197.5 kB / 3.871 GB, free: 67.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006413/10.41, allocations: 2.501 MB / 3.873 GB, free: 67.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/10.41, allocations: 24.75 kB / 3.873 GB, free: 67.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/10.41, allocations: 6.281 kB / 3.873 GB, free: 67.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004399/10.41, allocations: 2.082 MB / 3.875 GB, free: 67.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/10.43, allocations: 5.302 MB / 3.88 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/10.43, allocations: 11.34 kB / 3.88 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/10.43, allocations: 470.1 kB / 3.881 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-05/10.43, allocations: 11.41 kB / 3.881 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/10.43, allocations: 57.23 kB / 3.881 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.174e-05/10.43, allocations: 24.03 kB / 3.881 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/10.43, allocations: 10.69 kB / 3.881 GB, free: 66.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/10.44, allocations: 4.063 MB / 3.885 GB, free: 66.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/10.44, allocations: 0.4961 MB / 3.885 GB, free: 66.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006091/10.44, allocations: 54.64 kB / 3.885 GB, free: 66.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/10.44, allocations: 146.6 kB / 3.885 GB, free: 66.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/10.44, allocations: 150 kB / 3.886 GB, free: 66.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/10.44, allocations: 80.8 kB / 3.886 GB, free: 66.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001581/10.44, allocations: 0.8164 MB / 3.886 GB, free: 66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/10.44, allocations: 0 / 3.886 GB, free: 66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003829/10.45, allocations: 0.9335 MB / 3.887 GB, free: 65.98 MB / 0.698 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.00443/10.45, allocations: 2.631 MB / 3.89 GB, free: 64.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003891/10.46, allocations: 2.168 MB / 3.892 GB, free: 64.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/10.46, allocations: 3.562 kB / 3.892 GB, free: 64.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/10.46, allocations: 1.164 MB / 3.893 GB, free: 64.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008401/10.47, allocations: 1.124 MB / 3.894 GB, free: 64.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/10.48, allocations: 5.735 MB / 3.9 GB, free: 62.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/10.48, allocations: 1.646 MB / 3.901 GB, free: 61.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003972/10.48, allocations: 0.7549 MB / 3.902 GB, free: 61.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/10.48, allocations: 181.2 kB / 3.902 GB, free: 61.93 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/10.48, allocations: 1.906 kB / 3.902 GB, free: 61.93 MB / 0.698 GB Notification: Performance of Templates: time 0.1024/10.59, allocations: 67.06 MB / 3.968 GB, free: 58.17 MB / 0.698 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)