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.76/0.76, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.0009832/0.0009832, allocations: 179.5 kB / 187.3 MB, free: 11.9 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.322/1.322, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009192/0.0009192, allocations: 102.1 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001796, allocations: 273.6 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.185e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.935/4.344, allocations: 1.897 GB / 2.662 GB, free: 149.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/4.344, allocations: 95.83 kB / 2.662 GB, free: 149.7 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.513/7.858, allocations: 1.035 GB / 3.696 GB, free: 88.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/7.858, allocations: 2.188 kB / 3.696 GB, free: 88.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001336/7.858, allocations: 57.28 kB / 3.696 GB, free: 88.88 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.006922/7.865, allocations: 2.627 MB / 3.699 GB, free: 87.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/7.865, allocations: 9.906 kB / 3.699 GB, free: 87.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/7.869, allocations: 0.6578 MB / 3.7 GB, free: 87.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/7.872, allocations: 1.572 MB / 3.701 GB, free: 87.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/7.872, allocations: 148.2 kB / 3.701 GB, free: 87.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/7.873, allocations: 204.3 kB / 3.701 GB, free: 87.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/7.876, allocations: 2.282 MB / 3.704 GB, free: 87.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/7.876, allocations: 3.625 kB / 3.704 GB, free: 87.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/7.876, allocations: 84.44 kB / 3.704 GB, free: 87.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/7.876, allocations: 85.72 kB / 3.704 GB, free: 87.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/7.88, allocations: 2.444 MB / 3.706 GB, free: 87.32 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.0108/7.891, allocations: 8.007 MB / 3.714 GB, free: 84.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/7.894, allocations: 2.239 MB / 3.716 GB, free: 84.06 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/7.895, allocations: 1.294 MB / 3.717 GB, free: 84.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/7.896, allocations: 1.563 MB / 3.719 GB, free: 82.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/7.896, allocations: 67.72 kB / 3.719 GB, free: 82.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=222): time 4.067e-06/7.896, allocations: 0 / 3.719 GB, free: 82.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226): time 0.009302/7.906, allocations: 5.774 MB / 3.725 GB, free: 80.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/7.906, allocations: 155.8 kB / 3.725 GB, free: 80.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/7.907, allocations: 1.027 MB / 3.726 GB, free: 80.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/7.907, allocations: 68.64 kB / 3.726 GB, free: 80.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/7.908, allocations: 0.7516 MB / 3.727 GB, free: 80.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/7.908, allocations: 0.7738 MB / 3.727 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/7.908, allocations: 43.12 kB / 3.727 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/7.908, allocations: 381 kB / 3.728 GB, free: 79.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/7.909, allocations: 0.8313 MB / 3.729 GB, free: 79.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/7.911, allocations: 1.117 MB / 3.73 GB, free: 79.05 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0543/7.965, allocations: 9.613 MB / 3.739 GB, free: 78.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/7.965, allocations: 6.688 kB / 3.739 GB, free: 78.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003584/7.969, allocations: 2.338 MB / 3.741 GB, free: 78.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/7.969, allocations: 11.73 kB / 3.741 GB, free: 78.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/7.969, allocations: 3.219 kB / 3.741 GB, free: 78.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/7.969, allocations: 15.59 kB / 3.741 GB, free: 78.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/7.97, allocations: 431 kB / 3.742 GB, free: 78.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/7.97, allocations: 15.2 kB / 3.742 GB, free: 78.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/7.973, allocations: 157.3 kB / 3.742 GB, free: 78.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/7.973, allocations: 75.44 kB / 3.742 GB, free: 78.62 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: 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.0003447/7.973, allocations: 222 kB / 3.742 GB, free: 78.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/7.973, allocations: 193.2 kB / 3.742 GB, free: 78.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/7.977, allocations: 2.478 MB / 3.745 GB, free: 78.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/7.977, allocations: 26.59 kB / 3.745 GB, free: 78.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/7.977, allocations: 3.125 kB / 3.745 GB, free: 78.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002467/7.98, allocations: 2.036 MB / 3.747 GB, free: 78.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/7.987, allocations: 5.29 MB / 3.752 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/7.987, allocations: 5.562 kB / 3.752 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/7.989, allocations: 473.7 kB / 3.753 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/7.989, allocations: 18.38 kB / 3.753 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/7.989, allocations: 55.75 kB / 3.753 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/7.989, allocations: 18.03 kB / 3.753 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/7.989, allocations: 8.125 kB / 3.753 GB, free: 77.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/7.994, allocations: 4.552 MB / 3.757 GB, free: 76.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/7.995, allocations: 0.4893 MB / 3.758 GB, free: 76.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/7.996, allocations: 51.73 kB / 3.758 GB, free: 76.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/7.997, allocations: 154.9 kB / 3.758 GB, free: 76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/7.998, allocations: 150.5 kB / 3.758 GB, free: 75.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/7.998, allocations: 79.59 kB / 3.758 GB, free: 75.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009837/7.999, allocations: 0.8068 MB / 3.759 GB, free: 75.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/7.999, allocations: 2.125 kB / 3.759 GB, free: 75.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002421/8.001, allocations: 0.9286 MB / 3.76 GB, free: 75.86 MB / 0.7292 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.003066/8.004, allocations: 2.602 MB / 3.762 GB, free: 74.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002866/8.007, allocations: 2.134 MB / 3.764 GB, free: 74.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/8.007, allocations: 3.344 kB / 3.764 GB, free: 74.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/8.009, allocations: 1.144 MB / 3.765 GB, free: 74.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/8.014, allocations: 1.089 MB / 3.766 GB, free: 74.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/8.019, allocations: 4.106 MB / 3.77 GB, free: 73.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009986/8.02, allocations: 1.692 MB / 3.772 GB, free: 73.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002704/8.023, allocations: 0.7518 MB / 3.773 GB, free: 73.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/8.024, allocations: 180.8 kB / 3.773 GB, free: 73.02 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/8.024, allocations: 0 / 3.773 GB, free: 73.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.09158/8.115, allocations: 72.12 MB / 3.843 GB, free: 40.94 MB / 0.7292 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)