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.002215/0.002215, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5015/0.5015, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009476/0.0009478, allocations: 92.27 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 15.98 kB / 0.4982 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 72.31 MB / 0.5689 GB, free: 1.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.623/4.78, allocations: 1.889 GB / 2.458 GB, free: 217.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/4.78, allocations: 93.61 kB / 2.458 GB, free: 217.6 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 6.158/10.94, allocations: 1.674 GB / 4.132 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.905e-06/10.94, allocations: 0 / 4.132 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003382/10.94, allocations: 67.94 kB / 4.132 GB, free: 14.82 MB / 0.6667 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.01821/10.96, allocations: 3.585 MB / 4.136 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/10.96, allocations: 8.031 kB / 4.136 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006778/10.96, allocations: 0.7966 MB / 4.137 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006281/10.97, allocations: 1.7 MB / 4.138 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/10.97, allocations: 188.8 kB / 4.139 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/10.97, allocations: 248 kB / 4.139 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/10.98, allocations: 3.021 MB / 4.142 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/10.98, allocations: 11.89 kB / 4.142 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007956/10.98, allocations: 104 kB / 4.142 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/10.98, allocations: 112.7 kB / 4.142 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006654/10.99, allocations: 2.728 MB / 4.145 GB, free: 2.062 MB / 0.6667 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.02415/11.01, allocations: 12.39 MB / 4.157 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/11.02, allocations: 2.121 MB / 4.159 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/11.02, allocations: 1.375 MB / 4.16 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.481e-05/11.02, allocations: 60.5 kB / 4.16 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=197): time 6.933e-06/11.02, allocations: 0 / 4.16 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197): time 0.6464/11.67, allocations: 2.806 MB / 4.163 GB, free: 65.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/11.67, allocations: 72.88 kB / 4.163 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/11.67, allocations: 1.138 MB / 4.164 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/11.67, allocations: 69.14 kB / 4.164 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/11.67, allocations: 0.9537 MB / 4.165 GB, free: 65.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/11.67, allocations: 0.6756 MB / 4.166 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/11.67, allocations: 35.69 kB / 4.166 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002156/11.67, allocations: 372.7 kB / 4.166 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/11.67, allocations: 0.7677 MB / 4.167 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/11.68, allocations: 1.001 MB / 4.168 GB, free: 64.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/11.68, allocations: 0.9179 MB / 4.169 GB, free: 64.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/11.68, allocations: 0.625 kB / 4.169 GB, free: 64.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004713/11.68, allocations: 2.142 MB / 4.171 GB, free: 64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/11.68, allocations: 12.33 kB / 4.171 GB, free: 64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/11.68, allocations: 2.844 kB / 4.171 GB, free: 64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.462e-05/11.68, allocations: 14.2 kB / 4.171 GB, free: 64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/11.68, allocations: 372 kB / 4.171 GB, free: 64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/11.68, allocations: 15.03 kB / 4.171 GB, free: 64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/11.69, allocations: 333.2 kB / 4.172 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/11.69, allocations: 65.66 kB / 4.172 GB, free: 63.95 MB / 0.6823 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.001507/11.69, allocations: 0.5956 MB / 4.172 GB, free: 63.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/11.69, allocations: 192.9 kB / 4.172 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/11.69, allocations: 2.254 MB / 4.175 GB, free: 63.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/11.69, allocations: 20.5 kB / 4.175 GB, free: 63.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/11.69, allocations: 3.938 kB / 4.175 GB, free: 63.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002636/11.7, allocations: 1.859 MB / 4.176 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009844/11.71, allocations: 5.083 MB / 4.181 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/11.71, allocations: 3.25 kB / 4.181 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/11.71, allocations: 431.8 kB / 4.182 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.931e-05/11.71, allocations: 10.08 kB / 4.182 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/11.71, allocations: 54.8 kB / 4.182 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/11.71, allocations: 17.25 kB / 4.182 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/11.71, allocations: 10.27 kB / 4.182 GB, free: 62.92 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/11.71, allocations: 3.514 MB / 4.185 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/11.72, allocations: 0.5078 MB / 4.186 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/11.72, allocations: 41.89 kB / 4.186 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/11.72, allocations: 209 kB / 4.186 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/11.72, allocations: 124.3 kB / 4.186 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/11.72, allocations: 66.36 kB / 4.186 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001977/11.72, allocations: 0.8955 MB / 4.187 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/11.72, allocations: 3.875 kB / 4.187 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0049/11.73, allocations: 1.227 MB / 4.188 GB, free: 61.95 MB / 0.6823 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 () * 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.008981/11.74, allocations: 4.194 MB / 4.192 GB, free: 60.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004326/11.74, allocations: 1.955 MB / 4.194 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/11.74, allocations: 3.594 kB / 4.194 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/11.74, allocations: 1.053 MB / 4.195 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007189/11.75, allocations: 1.166 MB / 4.197 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/11.76, allocations: 6.421 MB / 4.203 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/11.76, allocations: 1.877 MB / 4.205 GB, free: 56.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003289/11.76, allocations: 0.633 MB / 4.205 GB, free: 56.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/11.76, allocations: 186.5 kB / 4.205 GB, free: 56.76 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/11.76, allocations: 0 / 4.205 GB, free: 56.76 MB / 0.6823 GB Notification: Performance of Templates: time 0.1357/11.9, allocations: 83.13 MB / 4.287 GB, free: 52.52 MB / 0.6823 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)