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.001399/0.001399, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4871/0.4871, allocations: 90.92 MB / 99.35 MB, free: 2.145 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.396/1.396, allocations: 221.5 MB / 343.2 MB, free: 1.539 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.0008671/0.0008671, allocations: 90.36 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.909e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.934/5.081, allocations: 1.888 GB / 2.442 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/5.081, allocations: 86.62 kB / 2.442 GB, free: 42.71 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.489/11.57, allocations: 1.656 GB / 4.097 GB, free: 55.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.254e-06/11.57, allocations: 2.844 kB / 4.097 GB, free: 55.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002878/11.57, allocations: 66 kB / 4.098 GB, free: 55.68 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.01364/11.58, allocations: 3.237 MB / 4.101 GB, free: 54.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/11.58, allocations: 14.03 kB / 4.101 GB, free: 54.18 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/11.59, allocations: 0.8009 MB / 4.102 GB, free: 54.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005626/11.6, allocations: 1.686 MB / 4.103 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/11.6, allocations: 77.59 kB / 4.103 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/11.6, allocations: 151.2 kB / 4.103 GB, free: 53.51 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006831/11.6, allocations: 2.343 MB / 4.106 GB, free: 53.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008155/11.61, allocations: 2.633 MB / 4.108 GB, free: 53.17 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/11.61, allocations: 3.25 kB / 4.108 GB, free: 53.17 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005529/11.61, allocations: 5.875 kB / 4.108 GB, free: 53.17 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/11.61, allocations: 119.3 kB / 4.108 GB, free: 53.16 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.01645/11.63, allocations: 12.14 MB / 4.12 GB, free: 46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/11.63, allocations: 2.639 MB / 4.123 GB, free: 45.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/11.64, allocations: 1.18 MB / 4.124 GB, free: 45 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/11.64, allocations: 1.374 MB / 4.125 GB, free: 43.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/11.64, allocations: 61.25 kB / 4.125 GB, free: 43.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=197): time 3.677e-06/11.64, allocations: 3 kB / 4.125 GB, free: 43.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=197): time 0.003896/11.64, allocations: 2.017 MB / 4.127 GB, free: 43.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/11.64, allocations: 71.81 kB / 4.127 GB, free: 43.22 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/11.64, allocations: 0.8652 MB / 4.128 GB, free: 43.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/11.64, allocations: 25.7 kB / 4.128 GB, free: 43.05 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/11.64, allocations: 0.9559 MB / 4.129 GB, free: 42.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/11.64, allocations: 0.6551 MB / 4.13 GB, free: 42.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/11.64, allocations: 0 / 4.13 GB, free: 42.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001233/11.64, allocations: 375.2 kB / 4.13 GB, free: 41.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/11.64, allocations: 0.7679 MB / 4.131 GB, free: 41.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/11.65, allocations: 0.9886 MB / 4.132 GB, free: 41.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/11.65, allocations: 0.9498 MB / 4.133 GB, free: 41.67 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/11.65, allocations: 0 / 4.133 GB, free: 41.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003324/11.65, allocations: 2.103 MB / 4.135 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/11.65, allocations: 7.062 kB / 4.135 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/11.65, allocations: 6.812 kB / 4.135 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/11.65, allocations: 10.5 kB / 4.135 GB, free: 41.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/11.65, allocations: 400 kB / 4.135 GB, free: 41.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.048e-05/11.65, allocations: 11.09 kB / 4.135 GB, free: 41.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/11.66, allocations: 270.5 kB / 4.136 GB, free: 41.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/11.66, allocations: 77.34 kB / 4.136 GB, free: 41.41 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.0004217/11.66, allocations: 131.1 kB / 4.136 GB, free: 41.28 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003936/11.66, allocations: 1.987 MB / 4.138 GB, free: 41.11 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/11.66, allocations: 174.6 kB / 4.138 GB, free: 41.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/11.66, allocations: 2.194 MB / 4.14 GB, free: 40.72 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/11.66, allocations: 20.03 kB / 4.14 GB, free: 40.72 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/11.66, allocations: 3.562 kB / 4.14 GB, free: 40.72 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002612/11.67, allocations: 1.857 MB / 4.142 GB, free: 40.04 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.008812/11.68, allocations: 5.115 MB / 4.147 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/11.68, allocations: 3.625 kB / 4.147 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/11.68, allocations: 449.5 kB / 4.147 GB, free: 37.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-05/11.68, allocations: 9.875 kB / 4.147 GB, free: 37.65 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/11.68, allocations: 37.52 kB / 4.147 GB, free: 37.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/11.68, allocations: 13.88 kB / 4.147 GB, free: 37.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/11.68, allocations: 2.844 kB / 4.147 GB, free: 37.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/11.68, allocations: 3.421 MB / 4.151 GB, free: 36.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/11.68, allocations: 0.4983 MB / 4.151 GB, free: 35.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/11.69, allocations: 13.52 kB / 4.151 GB, free: 35.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/11.69, allocations: 178.2 kB / 4.151 GB, free: 35.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/11.69, allocations: 117.2 kB / 4.151 GB, free: 35.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/11.69, allocations: 73.5 kB / 4.152 GB, free: 35.69 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001096/11.69, allocations: 0.6737 MB / 4.152 GB, free: 35.39 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/11.69, allocations: 0 / 4.152 GB, free: 35.39 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003792/11.69, allocations: 1.076 MB / 4.153 GB, free: 34.93 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.01099/11.7, allocations: 9.132 MB / 4.162 GB, free: 26.87 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002926/11.71, allocations: 1.925 MB / 4.164 GB, free: 25.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/11.71, allocations: 4 kB / 4.164 GB, free: 25.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/11.71, allocations: 1.047 MB / 4.165 GB, free: 24.12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/11.71, allocations: 0.9922 MB / 4.166 GB, free: 23.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/11.73, allocations: 5.031 MB / 4.171 GB, free: 19.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/11.73, allocations: 1.872 MB / 4.173 GB, free: 17.54 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003109/11.73, allocations: 0.6151 MB / 4.173 GB, free: 17.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/11.73, allocations: 0.9749 MB / 4.174 GB, free: 16.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/11.73, allocations: 0 / 4.174 GB, free: 16.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6007/12.33, allocations: 81.49 MB / 4.254 GB, free: 69.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/12.33, allocations: 167.5 kB / 4.254 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/16.93, allocations: 0 / 4.254 GB, free: 68.87 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)