Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.546/1.546, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007214/0.0007214, allocations: 100.6 kB / 0.7808 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 19.94 kB / 0.9088 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4881, allocations: 120.3 MB / 1.026 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.273/3.762, allocations: 1.926 GB / 2.953 GB, free: 256.8 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/3.762, allocations: 96.7 kB / 2.953 GB, free: 256.7 MB / 0.9792 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 4.675/8.436, allocations: 1.664 GB / 4.616 GB, free: 94.16 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.894e-06/8.437, allocations: 0 / 4.616 GB, free: 94.16 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002252/8.437, allocations: 60.12 kB / 4.616 GB, free: 94.15 MB / 1.026 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.01187/8.449, allocations: 3.552 MB / 4.62 GB, free: 91.75 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/8.449, allocations: 13.75 kB / 4.62 GB, free: 91.74 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005683/8.454, allocations: 0.7988 MB / 4.621 GB, free: 91.38 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/8.458, allocations: 1.731 MB / 4.622 GB, free: 90.14 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/8.459, allocations: 186.5 kB / 4.623 GB, free: 90.05 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008576/8.46, allocations: 251.6 kB / 4.623 GB, free: 89.97 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006112/8.466, allocations: 3.046 MB / 4.626 GB, free: 87.08 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/8.466, allocations: 11.92 kB / 4.626 GB, free: 87.07 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/8.466, allocations: 99.98 kB / 4.626 GB, free: 86.98 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/8.466, allocations: 116.7 kB / 4.626 GB, free: 86.86 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004892/8.471, allocations: 2.728 MB / 4.629 GB, free: 84.12 MB / 1.026 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.01311/8.484, allocations: 12.38 MB / 4.641 GB, free: 70.7 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/8.487, allocations: 2.081 MB / 4.643 GB, free: 68.56 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/8.489, allocations: 1.233 MB / 4.644 GB, free: 67.33 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/8.49, allocations: 1.375 MB / 4.645 GB, free: 65.66 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/8.49, allocations: 60.5 kB / 4.645 GB, free: 65.59 MB / 1.026 GB Notification: Performance of pre-optimization done (n=197): time 5.17e-06/8.49, allocations: 4 kB / 4.645 GB, free: 65.59 MB / 1.026 GB Notification: Performance of matching and sorting (n=197): time 0.004362/8.494, allocations: 2.805 MB / 4.648 GB, free: 62.78 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/8.494, allocations: 73.41 kB / 4.648 GB, free: 62.7 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/8.496, allocations: 1.287 MB / 4.649 GB, free: 61.4 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/8.496, allocations: 69.7 kB / 4.65 GB, free: 61.32 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/8.497, allocations: 0.9477 MB / 4.65 GB, free: 60.36 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/8.497, allocations: 0.6853 MB / 4.651 GB, free: 59.67 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/8.497, allocations: 36 kB / 4.651 GB, free: 59.63 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/8.497, allocations: 369.9 kB / 4.652 GB, free: 59.27 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/8.498, allocations: 0.7691 MB / 4.652 GB, free: 58.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/8.499, allocations: 1.026 MB / 4.653 GB, free: 57.39 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/8.502, allocations: 1.861 MB / 4.655 GB, free: 55.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/8.502, allocations: 0 / 4.655 GB, free: 55.5 MB / 1.026 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003077/8.505, allocations: 2.135 MB / 4.657 GB, free: 53.36 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/8.505, allocations: 10.19 kB / 4.657 GB, free: 53.35 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/8.505, allocations: 352 / 4.657 GB, free: 53.35 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/8.505, allocations: 31.77 kB / 4.657 GB, free: 53.32 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/8.506, allocations: 379.7 kB / 4.658 GB, free: 52.95 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/8.507, allocations: 11.94 kB / 4.658 GB, free: 52.94 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/8.509, allocations: 298.1 kB / 4.658 GB, free: 52.64 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/8.51, allocations: 59.98 kB / 4.658 GB, free: 52.59 MB / 1.026 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.001658/8.511, allocations: 0.595 MB / 4.659 GB, free: 51.98 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/8.512, allocations: 193.7 kB / 4.659 GB, free: 51.79 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/8.515, allocations: 2.243 MB / 4.661 GB, free: 49.53 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/8.515, allocations: 27.98 kB / 4.661 GB, free: 49.5 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/8.515, allocations: 0 / 4.661 GB, free: 49.5 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00227/8.517, allocations: 1.854 MB / 4.663 GB, free: 47.64 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/8.525, allocations: 5.078 MB / 4.668 GB, free: 42.44 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/8.525, allocations: 0 / 4.668 GB, free: 42.44 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/8.527, allocations: 443.8 kB / 4.668 GB, free: 42.01 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/8.527, allocations: 12 kB / 4.668 GB, free: 42 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/8.527, allocations: 47.98 kB / 4.668 GB, free: 41.95 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/8.527, allocations: 12 kB / 4.668 GB, free: 41.94 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/8.527, allocations: 11.86 kB / 4.668 GB, free: 41.93 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/8.531, allocations: 3.554 MB / 4.672 GB, free: 38.32 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/8.533, allocations: 0.5022 MB / 4.672 GB, free: 37.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/8.533, allocations: 43.94 kB / 4.672 GB, free: 37.76 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/8.535, allocations: 211.5 kB / 4.672 GB, free: 37.55 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/8.535, allocations: 117.8 kB / 4.673 GB, free: 37.44 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/8.535, allocations: 67.97 kB / 4.673 GB, free: 37.37 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001141/8.536, allocations: 0.8921 MB / 4.673 GB, free: 36.48 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.1e-07/8.536, allocations: 0 / 4.673 GB, free: 36.48 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003138/8.54, allocations: 1.232 MB / 4.675 GB, free: 35.25 MB / 1.026 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.004757/8.544, allocations: 4.214 MB / 4.679 GB, free: 30.77 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002882/8.547, allocations: 1.962 MB / 4.681 GB, free: 28.81 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/8.547, allocations: 0 / 4.681 GB, free: 28.81 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/8.549, allocations: 1.057 MB / 4.682 GB, free: 27.75 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/8.554, allocations: 1.183 MB / 4.683 GB, free: 26.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/8.561, allocations: 6.387 MB / 4.689 GB, free: 20.22 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/8.562, allocations: 1.825 MB / 4.691 GB, free: 18.36 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.002626/8.565, allocations: 0.6242 MB / 4.692 GB, free: 17.76 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/8.566, allocations: 187.4 kB / 4.692 GB, free: 17.57 MB / 1.026 GB Notification: Performance of SimCode: time 1.052e-06/8.566, allocations: 4 kB / 4.692 GB, free: 17.57 MB / 1.026 GB Notification: Performance of Templates: time 0.5703/9.136, allocations: 84.3 MB / 4.774 GB, free: 121.1 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)