Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.9 MB / 297.4 MB, free: 6.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 176.9 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000929/0.0009291, allocations: 93.45 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.84e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6498, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.803, allocations: 2.089 GB / 3.062 GB, free: 40.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/5.804, allocations: 90.91 kB / 3.062 GB, free: 40.56 MB / 0.948 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 6.689/12.49, allocations: 1.628 GB / 4.69 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.464e-06/12.49, allocations: 1.969 kB / 4.69 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001679/12.49, allocations: 69.27 kB / 4.69 GB, free: 103.5 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01404/12.51, allocations: 3.239 MB / 4.694 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/12.51, allocations: 9.719 kB / 4.694 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006445/12.51, allocations: 0.7971 MB / 4.694 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/12.52, allocations: 1.661 MB / 4.696 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/12.52, allocations: 81.81 kB / 4.696 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/12.52, allocations: 146 kB / 4.696 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004322/12.52, allocations: 2.338 MB / 4.698 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/12.53, allocations: 2.63 MB / 4.701 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/12.53, allocations: 6.969 kB / 4.701 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/12.53, allocations: 0 / 4.701 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/12.53, allocations: 118.7 kB / 4.701 GB, free: 101.7 MB / 0.9948 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.01349/12.54, allocations: 12.12 MB / 4.713 GB, free: 94.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/12.54, allocations: 2.61 MB / 4.716 GB, free: 93.74 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/12.54, allocations: 1.173 MB / 4.717 GB, free: 93.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009247/12.55, allocations: 1.38 MB / 4.718 GB, free: 92.22 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/12.55, allocations: 60.59 kB / 4.718 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 3.026e-06/12.55, allocations: 3.406 kB / 4.718 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.003604/12.55, allocations: 1.997 MB / 4.72 GB, free: 92.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/12.55, allocations: 74.44 kB / 4.72 GB, free: 91.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/12.55, allocations: 0.8562 MB / 4.721 GB, free: 91.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/12.55, allocations: 25.7 kB / 4.721 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/12.55, allocations: 0.9601 MB / 4.722 GB, free: 91.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/12.55, allocations: 0.6478 MB / 4.723 GB, free: 90.96 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/12.55, allocations: 2.531 kB / 4.723 GB, free: 90.96 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/12.55, allocations: 377.2 kB / 4.723 GB, free: 90.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009607/12.55, allocations: 0.7673 MB / 4.724 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/12.55, allocations: 1.002 MB / 4.725 GB, free: 90.44 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/12.56, allocations: 0.9396 MB / 4.726 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/12.56, allocations: 0 / 4.726 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003292/12.56, allocations: 2.097 MB / 4.728 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/12.56, allocations: 9.594 kB / 4.728 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/12.56, allocations: 3.625 kB / 4.728 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/12.56, allocations: 11.06 kB / 4.728 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/12.56, allocations: 394.9 kB / 4.728 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/12.56, allocations: 10.34 kB / 4.728 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/12.56, allocations: 238.5 kB / 4.728 GB, free: 90.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/12.56, allocations: 65 kB / 4.728 GB, free: 90.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.0003241/12.56, allocations: 141.1 kB / 4.728 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/12.56, allocations: 176.4 kB / 4.729 GB, free: 90 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/12.57, allocations: 2.177 MB / 4.731 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/12.57, allocations: 23.66 kB / 4.731 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/12.57, allocations: 2.062 kB / 4.731 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002384/12.57, allocations: 1.839 MB / 4.733 GB, free: 89.77 MB / 0.9948 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.008047/12.58, allocations: 5.101 MB / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/12.58, allocations: 0 / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/12.58, allocations: 456.2 kB / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/12.58, allocations: 13.45 kB / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/12.58, allocations: 35.3 kB / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/12.58, allocations: 14.23 kB / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/12.58, allocations: 9.281 kB / 4.738 GB, free: 88.91 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005277/12.59, allocations: 3.685 MB / 4.742 GB, free: 88.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/12.59, allocations: 0.4951 MB / 4.742 GB, free: 88.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/12.59, allocations: 7.406 kB / 4.742 GB, free: 88.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/12.59, allocations: 184.3 kB / 4.742 GB, free: 88.14 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/12.59, allocations: 122.1 kB / 4.742 GB, free: 88.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/12.59, allocations: 75.48 kB / 4.742 GB, free: 88.13 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0012/12.59, allocations: 0.6594 MB / 4.743 GB, free: 88.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.81e-07/12.59, allocations: 0 / 4.743 GB, free: 88.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004851/12.6, allocations: 1.07 MB / 4.744 GB, free: 87.89 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.008789/12.61, allocations: 4.592 MB / 4.749 GB, free: 85.97 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004203/12.61, allocations: 1.933 MB / 4.751 GB, free: 85.94 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/12.61, allocations: 3.281 kB / 4.751 GB, free: 85.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/12.61, allocations: 1.054 MB / 4.752 GB, free: 85.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/12.62, allocations: 0.9739 MB / 4.753 GB, free: 85.91 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/12.62, allocations: 4.427 MB / 4.757 GB, free: 84.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/12.63, allocations: 1.874 MB / 4.759 GB, free: 84.14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002941/12.63, allocations: 0.614 MB / 4.759 GB, free: 84.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/12.63, allocations: 184 kB / 4.759 GB, free: 84.12 MB / 0.9948 GB Notification: Performance of SimCode: time 1.062e-06/12.63, allocations: 0 / 4.759 GB, free: 84.12 MB / 0.9948 GB Notification: Performance of Templates: time 0.08285/12.71, allocations: 56.85 MB / 4.815 GB, free: 80.33 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)