Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.5 MB / 303.2 MB, free: 8.203 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.001329/0.001328, allocations: 182.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.0009268, allocations: 88.94 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 10.62 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.444/6.661, allocations: 2.089 GB / 3.068 GB, free: 231.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/6.661, allocations: 97.61 kB / 3.068 GB, free: 231.3 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 8.531/15.19, allocations: 1.643 GB / 4.711 GB, free: 32.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.178e-06/15.19, allocations: 3.984 kB / 4.711 GB, free: 32.59 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003003/15.19, allocations: 63.94 kB / 4.711 GB, free: 32.53 MB / 0.9792 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.01994/15.21, allocations: 3.547 MB / 4.715 GB, free: 28.93 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/15.21, allocations: 16.03 kB / 4.715 GB, free: 28.91 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008935/15.22, allocations: 0.7975 MB / 4.716 GB, free: 28.11 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/15.23, allocations: 1.712 MB / 4.717 GB, free: 26.34 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/15.23, allocations: 189.2 kB / 4.717 GB, free: 26.16 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/15.23, allocations: 252.3 kB / 4.718 GB, free: 25.91 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/15.24, allocations: 3.048 MB / 4.721 GB, free: 22.74 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/15.24, allocations: 3.938 kB / 4.721 GB, free: 22.74 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007493/15.24, allocations: 107.9 kB / 4.721 GB, free: 22.63 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/15.24, allocations: 112.7 kB / 4.721 GB, free: 22.52 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009825/15.25, allocations: 2.72 MB / 4.724 GB, free: 19.79 MB / 0.9792 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.02425/15.28, allocations: 12.38 MB / 4.736 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005065/15.28, allocations: 2.083 MB / 4.738 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/15.28, allocations: 1.237 MB / 4.739 GB, free: 2.945 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/15.29, allocations: 1.378 MB / 4.74 GB, free: 1.273 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/15.29, allocations: 56.56 kB / 4.74 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=197): time 4.919e-06/15.29, allocations: 4 kB / 4.74 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of matching and sorting (n=197): time 0.009897/15.3, allocations: 2.805 MB / 4.743 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/15.3, allocations: 73.41 kB / 4.743 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/15.3, allocations: 1.295 MB / 4.744 GB, free: 13 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005309/15.3, allocations: 65.64 kB / 4.744 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/15.3, allocations: 0.9517 MB / 4.745 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/15.3, allocations: 0.6852 MB / 4.746 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/15.3, allocations: 36 kB / 4.746 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002714/15.3, allocations: 369.9 kB / 4.746 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/15.31, allocations: 0.7691 MB / 4.747 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/15.31, allocations: 1.026 MB / 4.748 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/15.31, allocations: 1.862 MB / 4.75 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-05/15.31, allocations: 4 kB / 4.75 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007773/15.32, allocations: 2.135 MB / 4.752 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/15.32, allocations: 4 kB / 4.752 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/15.32, allocations: 8.344 kB / 4.752 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.768e-05/15.32, allocations: 19.94 kB / 4.752 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/15.33, allocations: 379.4 kB / 4.752 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-05/15.33, allocations: 12 kB / 4.752 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/15.33, allocations: 290.2 kB / 4.753 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005471/15.33, allocations: 59.98 kB / 4.753 GB, free: 4.207 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 () * Number of clocked 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.002493/15.33, allocations: 0.5949 MB / 4.753 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/15.34, allocations: 193.8 kB / 4.754 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007639/15.34, allocations: 2.247 MB / 4.756 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/15.34, allocations: 20 kB / 4.756 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/15.34, allocations: 7.922 kB / 4.756 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006004/15.35, allocations: 1.858 MB / 4.758 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/15.37, allocations: 5.067 MB / 4.763 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/15.37, allocations: 4 kB / 4.763 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004533/15.37, allocations: 443.7 kB / 4.763 GB, free: 9.625 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.619e-05/15.37, allocations: 8 kB / 4.763 GB, free: 9.617 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004456/15.37, allocations: 55.97 kB / 4.763 GB, free: 9.562 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/15.37, allocations: 8 kB / 4.763 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/15.37, allocations: 11.88 kB / 4.763 GB, free: 9.543 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/15.38, allocations: 3.552 MB / 4.767 GB, free: 5.941 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/15.38, allocations: 0.5022 MB / 4.767 GB, free: 5.418 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008531/15.39, allocations: 43.98 kB / 4.767 GB, free: 5.375 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004095/15.39, allocations: 203.5 kB / 4.767 GB, free: 5.176 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004717/15.39, allocations: 129.7 kB / 4.767 GB, free: 5.051 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/15.39, allocations: 63.97 kB / 4.767 GB, free: 4.988 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002431/15.39, allocations: 0.896 MB / 4.768 GB, free: 4.094 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.223e-06/15.39, allocations: 0 / 4.768 GB, free: 4.094 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005641/15.4, allocations: 1.217 MB / 4.769 GB, free: 2.875 MB / 1.01 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 () * Number of clocked 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.8271/16.23, allocations: 4.185 MB / 4.774 GB, free: 126.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006132/16.23, allocations: 1.957 MB / 4.775 GB, free: 126.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/16.23, allocations: 1.406 kB / 4.775 GB, free: 126.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/16.23, allocations: 1.062 MB / 4.777 GB, free: 126.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/16.25, allocations: 1.185 MB / 4.778 GB, free: 126.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/16.26, allocations: 6.387 MB / 4.784 GB, free: 124.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/16.26, allocations: 1.823 MB / 4.786 GB, free: 123.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004877/16.27, allocations: 0.627 MB / 4.786 GB, free: 123.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/16.27, allocations: 184.2 kB / 4.786 GB, free: 123.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.202e-06/16.27, allocations: 0 / 4.786 GB, free: 123.3 MB / 1.01 GB Notification: Performance of Templates: time 0.21/16.48, allocations: 83.32 MB / 4.868 GB, free: 120.3 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)