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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 181.8 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5522/0.5522, allocations: 90.81 MB / 104.5 MB, free: 9.805 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.344/1.344, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009128, allocations: 94.66 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.698e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3726, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.326/4.699, allocations: 1.889 GB / 2.449 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/4.699, allocations: 88.61 kB / 2.449 GB, free: 137 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.461/12.16, allocations: 1.673 GB / 4.122 GB, free: 48.41 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.335e-06/12.16, allocations: 0 / 4.122 GB, free: 48.41 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002121/12.16, allocations: 70.39 kB / 4.122 GB, free: 48.41 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.0138/12.17, allocations: 3.238 MB / 4.126 GB, free: 47.12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/12.17, allocations: 14.27 kB / 4.126 GB, free: 47.12 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001219/12.18, allocations: 354.8 kB / 4.126 GB, free: 47.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007357/12.18, allocations: 0.797 MB / 4.127 GB, free: 46.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007217/12.19, allocations: 1.689 MB / 4.128 GB, free: 46.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/12.19, allocations: 185.5 kB / 4.129 GB, free: 46.46 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008099/12.19, allocations: 252.5 kB / 4.129 GB, free: 46.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008104/12.2, allocations: 2.969 MB / 4.132 GB, free: 46.13 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.353e-05/12.2, allocations: 3.281 kB / 4.132 GB, free: 46.13 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/12.2, allocations: 105.9 kB / 4.132 GB, free: 46.13 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/12.2, allocations: 119.1 kB / 4.132 GB, free: 46.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006628/12.21, allocations: 2.658 MB / 4.134 GB, free: 46.09 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.02076/12.23, allocations: 12.4 MB / 4.147 GB, free: 38.97 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/12.23, allocations: 2.077 MB / 4.149 GB, free: 38.55 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/12.23, allocations: 1.213 MB / 4.15 GB, free: 38.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/12.24, allocations: 1.382 MB / 4.151 GB, free: 37.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/12.24, allocations: 54.69 kB / 4.151 GB, free: 36.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=197): time 6.222e-06/12.24, allocations: 0 / 4.151 GB, free: 36.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=197): time 0.00535/12.24, allocations: 1.99 MB / 4.153 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/12.24, allocations: 72.97 kB / 4.153 GB, free: 36.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/12.24, allocations: 1.13 MB / 4.154 GB, free: 36.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/12.24, allocations: 66.27 kB / 4.154 GB, free: 36.57 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/12.24, allocations: 0.9487 MB / 4.155 GB, free: 36.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/12.25, allocations: 0.6869 MB / 4.156 GB, free: 35.74 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/12.25, allocations: 35.16 kB / 4.156 GB, free: 35.74 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001787/12.25, allocations: 376.1 kB / 4.156 GB, free: 35.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/12.25, allocations: 0.7486 MB / 4.157 GB, free: 35.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/12.25, allocations: 0.9867 MB / 4.158 GB, free: 35.24 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/12.25, allocations: 0.9024 MB / 4.159 GB, free: 35.22 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/12.25, allocations: 0 / 4.159 GB, free: 35.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005339/12.26, allocations: 2.108 MB / 4.161 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/12.26, allocations: 7.656 kB / 4.161 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/12.26, allocations: 8.875 kB / 4.161 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.802e-05/12.26, allocations: 9.375 kB / 4.161 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/12.26, allocations: 378.3 kB / 4.161 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.311e-05/12.26, allocations: 12.62 kB / 4.161 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/12.26, allocations: 327.2 kB / 4.162 GB, free: 34.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/12.26, allocations: 65.02 kB / 4.162 GB, free: 34.96 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.0004983/12.26, allocations: 202.5 kB / 4.162 GB, free: 34.86 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/12.27, allocations: 191.5 kB / 4.162 GB, free: 34.76 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005509/12.27, allocations: 2.227 MB / 4.164 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/12.27, allocations: 18.78 kB / 4.164 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/12.27, allocations: 4.531 kB / 4.164 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003801/12.27, allocations: 1.831 MB / 4.166 GB, free: 34.53 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/12.29, allocations: 5.059 MB / 4.171 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/12.29, allocations: 0 / 4.171 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/12.29, allocations: 433.9 kB / 4.172 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.907e-05/12.29, allocations: 8.406 kB / 4.172 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/12.29, allocations: 53.83 kB / 4.172 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/12.29, allocations: 10.03 kB / 4.172 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/12.29, allocations: 4.969 kB / 4.172 GB, free: 33.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/12.3, allocations: 3.472 MB / 4.175 GB, free: 33.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/12.3, allocations: 0.5102 MB / 4.175 GB, free: 33.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005427/12.3, allocations: 44.02 kB / 4.176 GB, free: 33.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/12.3, allocations: 209.8 kB / 4.176 GB, free: 33.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/12.3, allocations: 120.2 kB / 4.176 GB, free: 33.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/12.31, allocations: 69.23 kB / 4.176 GB, free: 33.07 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001894/12.31, allocations: 0.8783 MB / 4.177 GB, free: 32.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/12.31, allocations: 2.719 kB / 4.177 GB, free: 32.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005634/12.31, allocations: 1.221 MB / 4.178 GB, free: 32.83 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.01571/12.33, allocations: 8.793 MB / 4.187 GB, free: 29.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004955/12.33, allocations: 1.917 MB / 4.188 GB, free: 29.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/12.33, allocations: 0 / 4.188 GB, free: 29.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/12.34, allocations: 1.038 MB / 4.189 GB, free: 29.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008812/12.34, allocations: 1.167 MB / 4.191 GB, free: 29.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/12.36, allocations: 5.144 MB / 4.196 GB, free: 27.79 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/12.36, allocations: 1.882 MB / 4.197 GB, free: 27 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003985/12.37, allocations: 0.6234 MB / 4.198 GB, free: 26.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/12.37, allocations: 0.9743 MB / 4.199 GB, free: 26.91 MB / 0.6667 GB Notification: Performance of SimCode: time 1.182e-06/12.37, allocations: 0 / 4.199 GB, free: 26.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9349/13.3, allocations: 123.8 MB / 4.32 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/13.3, allocations: 191.9 kB / 4.32 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.12/19.42, allocations: 8.562 kB / 4.32 GB, free: 40.84 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)