Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5763/0.5763, allocations: 90.92 MB / 99.35 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.000898, allocations: 102.4 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.277e-05/1.277e-05, allocations: 0 / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1469, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/5.597, allocations: 1.888 GB / 2.442 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/5.598, allocations: 86.44 kB / 2.442 GB, free: 16.59 MB / 0.6042 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 7.332/12.93, allocations: 1.656 GB / 4.097 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.885e-06/12.93, allocations: 4 kB / 4.097 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000421/12.93, allocations: 71.92 kB / 4.097 GB, free: 8.387 MB / 0.6511 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.01456/12.94, allocations: 3.234 MB / 4.101 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/12.94, allocations: 8.031 kB / 4.101 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007049/12.95, allocations: 0.7966 MB / 4.101 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/12.96, allocations: 1.689 MB / 4.103 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/12.96, allocations: 80 kB / 4.103 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/12.96, allocations: 147.9 kB / 4.103 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005781/12.97, allocations: 2.349 MB / 4.106 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006718/12.97, allocations: 2.629 MB / 4.108 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.574e-05/12.97, allocations: 8 kB / 4.108 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/12.97, allocations: 4 kB / 4.108 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/12.97, allocations: 116.7 kB / 4.108 GB, free: 13.08 MB / 0.6667 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.5503/13.52, allocations: 12.14 MB / 4.12 GB, free: 61.43 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/13.53, allocations: 2.629 MB / 4.123 GB, free: 60.46 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/13.53, allocations: 1.175 MB / 4.124 GB, free: 60.45 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/13.53, allocations: 1.379 MB / 4.125 GB, free: 58.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/13.53, allocations: 56.56 kB / 4.125 GB, free: 58.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=197): time 4.068e-06/13.53, allocations: 0.75 kB / 4.125 GB, free: 58.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=197): time 0.005034/13.54, allocations: 2.015 MB / 4.127 GB, free: 58.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/13.54, allocations: 74.25 kB / 4.127 GB, free: 58.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/13.54, allocations: 0.8652 MB / 4.128 GB, free: 58.63 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003097/13.54, allocations: 27.77 kB / 4.128 GB, free: 58.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/13.54, allocations: 0.958 MB / 4.129 GB, free: 58.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/13.54, allocations: 0.6504 MB / 4.13 GB, free: 58.01 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/13.54, allocations: 0 / 4.13 GB, free: 58.01 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001528/13.54, allocations: 376.3 kB / 4.13 GB, free: 57.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/13.54, allocations: 0.7679 MB / 4.131 GB, free: 57.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/13.54, allocations: 0.9849 MB / 4.132 GB, free: 57.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/13.55, allocations: 0.9422 MB / 4.133 GB, free: 57.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/13.55, allocations: 6.484 kB / 4.133 GB, free: 57.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00421/13.55, allocations: 2.109 MB / 4.135 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/13.55, allocations: 5.594 kB / 4.135 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/13.55, allocations: 3.062 kB / 4.135 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/13.55, allocations: 11.66 kB / 4.135 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/13.55, allocations: 393.1 kB / 4.135 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/13.55, allocations: 13.47 kB / 4.135 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/13.55, allocations: 274.8 kB / 4.135 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/13.55, allocations: 72 kB / 4.136 GB, free: 57.3 MB / 0.6667 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.0003375/13.55, allocations: 141 kB / 4.136 GB, free: 57.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/13.56, allocations: 177 kB / 4.136 GB, free: 57.11 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/13.56, allocations: 2.188 MB / 4.138 GB, free: 57 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/13.56, allocations: 19.91 kB / 4.138 GB, free: 57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/13.56, allocations: 1.781 kB / 4.138 GB, free: 57 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003179/13.56, allocations: 1.855 MB / 4.14 GB, free: 56.89 MB / 0.6667 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.009541/13.57, allocations: 5.121 MB / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/13.57, allocations: 0 / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/13.57, allocations: 446.7 kB / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/13.57, allocations: 10.22 kB / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/13.57, allocations: 36.78 kB / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/13.57, allocations: 11.53 kB / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/13.57, allocations: 3.375 kB / 4.145 GB, free: 56.07 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/13.58, allocations: 3.433 MB / 4.149 GB, free: 55.52 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/13.58, allocations: 0.4894 MB / 4.149 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/13.58, allocations: 12.75 kB / 4.149 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/13.58, allocations: 178.8 kB / 4.149 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/13.58, allocations: 130.3 kB / 4.149 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/13.58, allocations: 70.95 kB / 4.149 GB, free: 55.33 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001112/13.58, allocations: 0.6643 MB / 4.15 GB, free: 55.22 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.1e-07/13.58, allocations: 0 / 4.15 GB, free: 55.22 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003836/13.59, allocations: 1.069 MB / 4.151 GB, free: 55.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.006656/13.6, allocations: 4.598 MB / 4.156 GB, free: 53.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003281/13.6, allocations: 1.936 MB / 4.158 GB, free: 53.24 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/13.6, allocations: 0 / 4.158 GB, free: 53.24 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/13.6, allocations: 1.044 MB / 4.159 GB, free: 53.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/13.61, allocations: 0.9902 MB / 4.16 GB, free: 53.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/13.61, allocations: 4.442 MB / 4.164 GB, free: 52.21 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/13.61, allocations: 1.873 MB / 4.166 GB, free: 51.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002768/13.62, allocations: 0.6193 MB / 4.166 GB, free: 51.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/13.62, allocations: 188.9 kB / 4.167 GB, free: 51.43 MB / 0.6667 GB Notification: Performance of SimCode: time 5.92e-07/13.62, allocations: 0 / 4.167 GB, free: 51.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.08745/13.7, allocations: 56.78 MB / 4.222 GB, free: 47.91 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)