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.7562/0.7562, 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.001025/0.001025, allocations: 186.8 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.335/1.335, allocations: 221.3 MB / 441.4 MB, free: 4.562 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.00096/0.0009601, allocations: 97.16 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 270.2 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.859e-05, allocations: 0 / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3852, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.973/4.358, allocations: 1.897 GB / 2.662 GB, free: 149.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/4.359, allocations: 91.89 kB / 2.662 GB, free: 149.2 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.806, allocations: 1.035 GB / 3.697 GB, free: 89.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.92e-07/7.806, allocations: 2.125 kB / 3.697 GB, free: 89.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.00019/7.807, allocations: 59.38 kB / 3.697 GB, free: 89.45 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.007385/7.814, allocations: 2.617 MB / 3.699 GB, free: 88.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/7.814, allocations: 12.59 kB / 3.699 GB, free: 88.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/7.819, allocations: 0.6617 MB / 3.7 GB, free: 88.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/7.822, allocations: 1.576 MB / 3.702 GB, free: 88.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/7.822, allocations: 147.4 kB / 3.702 GB, free: 88.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/7.823, allocations: 200.3 kB / 3.702 GB, free: 88.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/7.826, allocations: 2.271 MB / 3.704 GB, free: 87.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/7.826, allocations: 5.594 kB / 3.704 GB, free: 87.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/7.826, allocations: 82.58 kB / 3.704 GB, free: 87.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/7.827, allocations: 87.34 kB / 3.704 GB, free: 87.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/7.83, allocations: 2.441 MB / 3.707 GB, free: 87.91 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.01013/7.84, allocations: 7.841 MB / 3.714 GB, free: 84.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/7.843, allocations: 2.215 MB / 3.717 GB, free: 84.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/7.844, allocations: 1.293 MB / 3.718 GB, free: 84.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/7.845, allocations: 1.566 MB / 3.719 GB, free: 83.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/7.845, allocations: 58.03 kB / 3.719 GB, free: 83.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 3.686e-06/7.845, allocations: 0 / 3.719 GB, free: 83.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.008757/7.854, allocations: 5.3 MB / 3.725 GB, free: 81.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/7.854, allocations: 104.2 kB / 3.725 GB, free: 81.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/7.856, allocations: 1.024 MB / 3.726 GB, free: 81.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/7.856, allocations: 68.05 kB / 3.726 GB, free: 81.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/7.856, allocations: 0.7467 MB / 3.726 GB, free: 81.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/7.857, allocations: 0.7675 MB / 3.727 GB, free: 80.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/7.857, allocations: 44.81 kB / 3.727 GB, free: 80.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000105/7.857, allocations: 386.8 kB / 3.728 GB, free: 80.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/7.858, allocations: 0.833 MB / 3.728 GB, free: 80.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/7.859, allocations: 1.103 MB / 3.73 GB, free: 80.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.05409/7.913, allocations: 9.625 MB / 3.739 GB, free: 80.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/7.913, allocations: 0 / 3.739 GB, free: 80.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003694/7.917, allocations: 2.334 MB / 3.741 GB, free: 79.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/7.917, allocations: 12.77 kB / 3.741 GB, free: 79.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/7.917, allocations: 3.812 kB / 3.741 GB, free: 79.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/7.917, allocations: 16.56 kB / 3.741 GB, free: 79.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/7.919, allocations: 423.3 kB / 3.742 GB, free: 79.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/7.919, allocations: 18.75 kB / 3.742 GB, free: 79.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/7.921, allocations: 160.6 kB / 3.742 GB, free: 79.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/7.921, allocations: 72.73 kB / 3.742 GB, free: 79.91 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.0003506/7.922, allocations: 219.5 kB / 3.742 GB, free: 79.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/7.922, allocations: 192.6 kB / 3.742 GB, free: 79.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/7.926, allocations: 2.484 MB / 3.745 GB, free: 79.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/7.926, allocations: 23.16 kB / 3.745 GB, free: 79.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/7.926, allocations: 0 / 3.745 GB, free: 79.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00253/7.928, allocations: 2.047 MB / 3.747 GB, free: 79.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007611/7.936, allocations: 5.275 MB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/7.936, allocations: 10.84 kB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/7.938, allocations: 465.3 kB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.689e-05/7.938, allocations: 17.56 kB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/7.938, allocations: 62.33 kB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/7.938, allocations: 16.47 kB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/7.938, allocations: 8.938 kB / 3.752 GB, free: 78.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/7.943, allocations: 4.374 MB / 3.757 GB, free: 77.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/7.944, allocations: 0.4926 MB / 3.757 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/7.945, allocations: 49.31 kB / 3.757 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/7.946, allocations: 146 kB / 3.757 GB, free: 77.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/7.946, allocations: 155.8 kB / 3.757 GB, free: 77.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/7.947, allocations: 76.45 kB / 3.758 GB, free: 77.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001054/7.948, allocations: 0.8044 MB / 3.758 GB, free: 77.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.3e-07/7.948, allocations: 0 / 3.758 GB, free: 77.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002574/7.95, allocations: 0.9371 MB / 3.759 GB, free: 77.34 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.003149/7.953, allocations: 2.598 MB / 3.762 GB, free: 76.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002897/7.956, allocations: 2.139 MB / 3.764 GB, free: 76.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/7.956, allocations: 0 / 3.764 GB, free: 76.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/7.958, allocations: 1.147 MB / 3.765 GB, free: 76.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/7.963, allocations: 1.093 MB / 3.766 GB, free: 76.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/7.968, allocations: 4.093 MB / 3.77 GB, free: 75.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/7.969, allocations: 1.685 MB / 3.772 GB, free: 74.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002669/7.972, allocations: 0.7545 MB / 3.772 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/7.973, allocations: 180.9 kB / 3.773 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/7.973, allocations: 3.531 kB / 3.773 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.08619/8.059, allocations: 72.19 MB / 3.843 GB, free: 41.29 MB / 0.7292 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)