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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 293 MB / 309 MB, free: 4.777 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.001095/0.001095, allocations: 168 kB / 378.7 MB, free: 1.027 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.606/1.606, allocations: 205.4 MB / 0.6383 GB, free: 8.246 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.0008422/0.0008421, allocations: 91.38 kB / 0.7527 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 16 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.286, allocations: 116.4 MB / 0.9904 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.666/4.952, allocations: 2.09 GB / 3.08 GB, free: 126.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/4.953, allocations: 93.53 kB / 3.08 GB, free: 126 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.46/11.41, allocations: 1.643 GB / 4.724 GB, free: 101.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.456e-06/11.41, allocations: 0.9375 kB / 4.724 GB, free: 101.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003747/11.41, allocations: 66.7 kB / 4.724 GB, free: 101.6 MB / 1.01 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.01705/11.43, allocations: 3.555 MB / 4.727 GB, free: 100.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/11.43, allocations: 11.03 kB / 4.727 GB, free: 100.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/11.44, allocations: 0.7939 MB / 4.728 GB, free: 100.5 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006003/11.44, allocations: 1.727 MB / 4.73 GB, free: 100.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/11.44, allocations: 189.4 kB / 4.73 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/11.44, allocations: 253.3 kB / 4.73 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/11.46, allocations: 3.047 MB / 4.733 GB, free: 99.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/11.46, allocations: 2.094 kB / 4.733 GB, free: 99.82 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007997/11.46, allocations: 105.7 kB / 4.733 GB, free: 99.82 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/11.46, allocations: 115.1 kB / 4.734 GB, free: 99.81 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00702/11.46, allocations: 2.725 MB / 4.736 GB, free: 99.78 MB / 1.01 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.01915/11.48, allocations: 12.39 MB / 4.748 GB, free: 92.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/11.49, allocations: 2.087 MB / 4.75 GB, free: 92.35 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/11.49, allocations: 1.231 MB / 4.752 GB, free: 92.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/11.49, allocations: 1.38 MB / 4.753 GB, free: 90.84 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/11.49, allocations: 55.59 kB / 4.753 GB, free: 90.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=197): time 5.4e-06/11.49, allocations: 0 / 4.753 GB, free: 90.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=197): time 0.005822/11.5, allocations: 2.802 MB / 4.756 GB, free: 90.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/11.5, allocations: 76.72 kB / 4.756 GB, free: 90.55 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/11.5, allocations: 1.295 MB / 4.757 GB, free: 90.39 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/11.5, allocations: 60.52 kB / 4.757 GB, free: 90.36 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/11.5, allocations: 0.9528 MB / 4.758 GB, free: 90.08 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/11.5, allocations: 0.6746 MB / 4.759 GB, free: 89.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/11.5, allocations: 36.69 kB / 4.759 GB, free: 89.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001363/11.5, allocations: 374.6 kB / 4.759 GB, free: 89.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/11.5, allocations: 0.7655 MB / 4.76 GB, free: 89.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/11.5, allocations: 1.028 MB / 4.761 GB, free: 89.22 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/11.51, allocations: 1.861 MB / 4.763 GB, free: 89.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/11.51, allocations: 0.8438 kB / 4.763 GB, free: 89.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003956/11.51, allocations: 2.139 MB / 4.765 GB, free: 88.92 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/11.51, allocations: 5.719 kB / 4.765 GB, free: 88.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/11.51, allocations: 4.5 kB / 4.765 GB, free: 88.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/11.51, allocations: 16.16 kB / 4.765 GB, free: 88.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/11.51, allocations: 381.6 kB / 4.765 GB, free: 88.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.819e-05/11.51, allocations: 11.03 kB / 4.765 GB, free: 88.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/11.51, allocations: 301 kB / 4.765 GB, free: 88.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/11.51, allocations: 66.33 kB / 4.765 GB, free: 88.87 MB / 1.01 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.001668/11.52, allocations: 0.5977 MB / 4.766 GB, free: 88.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007559/11.52, allocations: 192.2 kB / 4.766 GB, free: 88.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/11.52, allocations: 2.239 MB / 4.768 GB, free: 88.55 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/11.52, allocations: 17.75 kB / 4.768 GB, free: 88.55 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/11.52, allocations: 6.688 kB / 4.768 GB, free: 88.55 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003222/11.52, allocations: 1.854 MB / 4.77 GB, free: 88.44 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/11.54, allocations: 5.078 MB / 4.775 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/11.54, allocations: 7.562 kB / 4.775 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/11.54, allocations: 440.3 kB / 4.776 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.47e-05/11.54, allocations: 13.59 kB / 4.776 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/11.54, allocations: 54.73 kB / 4.776 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.873e-05/11.54, allocations: 8.844 kB / 4.776 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/11.54, allocations: 7.219 kB / 4.776 GB, free: 87.82 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/11.55, allocations: 3.55 MB / 4.779 GB, free: 87.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/11.55, allocations: 0.5061 MB / 4.78 GB, free: 87.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006731/11.55, allocations: 42.89 kB / 4.78 GB, free: 87.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/11.55, allocations: 206.6 kB / 4.78 GB, free: 87.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/11.55, allocations: 128 kB / 4.78 GB, free: 87.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/11.55, allocations: 68.48 kB / 4.78 GB, free: 87.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002696/11.55, allocations: 0.8863 MB / 4.781 GB, free: 87.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.31e-07/11.55, allocations: 2.438 kB / 4.781 GB, free: 87.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007122/11.56, allocations: 1.226 MB / 4.782 GB, free: 86.95 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.01027/11.57, allocations: 4.23 MB / 4.786 GB, free: 85.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005793/11.58, allocations: 1.957 MB / 4.788 GB, free: 85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/11.58, allocations: 3.5 kB / 4.788 GB, free: 85 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003178/11.58, allocations: 1.053 MB / 4.789 GB, free: 84.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/11.59, allocations: 1.181 MB / 4.79 GB, free: 84.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/11.61, allocations: 6.397 MB / 4.797 GB, free: 82.47 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/11.61, allocations: 1.825 MB / 4.798 GB, free: 81.72 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006198/11.62, allocations: 0.6249 MB / 4.799 GB, free: 81.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/11.62, allocations: 188.3 kB / 4.799 GB, free: 81.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.373e-06/11.62, allocations: 0 / 4.799 GB, free: 81.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1423/11.76, allocations: 84.29 MB / 4.882 GB, free: 77.87 MB / 1.01 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)