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.001466/0.001465, allocations: 182.9 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.5605/0.5605, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.471/1.471, allocations: 223.2 MB / 354.3 MB, free: 12.25 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.0008768/0.0008765, allocations: 104.2 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 12 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1918, allocations: 72.3 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.814/5.006, allocations: 1.889 GB / 2.458 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/5.006, allocations: 96.88 kB / 2.458 GB, free: 167.2 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 5.644/10.65, allocations: 1.674 GB / 4.132 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/10.65, allocations: 0 / 4.132 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002421/10.65, allocations: 68.3 kB / 4.133 GB, free: 61.72 MB / 0.6823 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.01594/10.67, allocations: 3.596 MB / 4.136 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/10.67, allocations: 9.469 kB / 4.136 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/10.67, allocations: 348.8 kB / 4.136 GB, free: 60.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/10.67, allocations: 0.7982 MB / 4.137 GB, free: 60.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/10.68, allocations: 1.693 MB / 4.139 GB, free: 60.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/10.68, allocations: 185 kB / 4.139 GB, free: 60.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005693/10.68, allocations: 252.4 kB / 4.139 GB, free: 60.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006284/10.69, allocations: 3.033 MB / 4.142 GB, free: 59.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.548e-05/10.69, allocations: 9.5 kB / 4.142 GB, free: 59.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/10.69, allocations: 98.53 kB / 4.142 GB, free: 59.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/10.69, allocations: 119.6 kB / 4.142 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004989/10.69, allocations: 2.733 MB / 4.145 GB, free: 59.86 MB / 0.6823 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.01852/10.71, allocations: 12.39 MB / 4.157 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/10.71, allocations: 2.118 MB / 4.159 GB, free: 52.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/10.72, allocations: 1.373 MB / 4.161 GB, free: 50.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/10.72, allocations: 57.44 kB / 4.161 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=197): time 4.368e-06/10.72, allocations: 2.594 kB / 4.161 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197): time 0.006349/10.72, allocations: 2.808 MB / 4.163 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/10.72, allocations: 75.53 kB / 4.163 GB, free: 50.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/10.72, allocations: 1.147 MB / 4.165 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/10.72, allocations: 63.27 kB / 4.165 GB, free: 50.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/10.72, allocations: 0.9567 MB / 4.166 GB, free: 50.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006551/10.73, allocations: 0.6792 MB / 4.166 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/10.73, allocations: 40.06 kB / 4.166 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001361/10.73, allocations: 369.1 kB / 4.167 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/10.73, allocations: 0.7688 MB / 4.167 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/10.73, allocations: 1.002 MB / 4.168 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/10.73, allocations: 0.9158 MB / 4.169 GB, free: 49.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/10.73, allocations: 1.188 kB / 4.169 GB, free: 49.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003403/10.73, allocations: 2.138 MB / 4.171 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/10.73, allocations: 7.344 kB / 4.171 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/10.73, allocations: 3.906 kB / 4.171 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/10.73, allocations: 15.42 kB / 4.171 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/10.74, allocations: 378.2 kB / 4.172 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/10.74, allocations: 10.19 kB / 4.172 GB, free: 48.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/10.74, allocations: 329.7 kB / 4.172 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/10.74, allocations: 64.45 kB / 4.172 GB, free: 48.89 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.001489/10.74, allocations: 0.5986 MB / 4.173 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/10.74, allocations: 199 kB / 4.173 GB, free: 48.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/10.74, allocations: 2.249 MB / 4.175 GB, free: 48.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/10.74, allocations: 21.25 kB / 4.175 GB, free: 48.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/10.74, allocations: 3.953 kB / 4.175 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002517/10.75, allocations: 1.86 MB / 4.177 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009181/10.76, allocations: 5.079 MB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/10.76, allocations: 2.688 kB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/10.76, allocations: 430.4 kB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/10.76, allocations: 9.844 kB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/10.76, allocations: 54.73 kB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/10.76, allocations: 12.25 kB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/10.76, allocations: 3.25 kB / 4.182 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/10.76, allocations: 3.528 MB / 4.186 GB, free: 47.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/10.76, allocations: 0.5063 MB / 4.186 GB, free: 47.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/10.77, allocations: 39.2 kB / 4.186 GB, free: 47.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/10.77, allocations: 208.9 kB / 4.187 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/10.77, allocations: 122.3 kB / 4.187 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/10.77, allocations: 68.7 kB / 4.187 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001307/10.77, allocations: 0.8953 MB / 4.188 GB, free: 46.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/10.77, allocations: 0 / 4.188 GB, free: 46.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003852/10.77, allocations: 1.229 MB / 4.189 GB, free: 46.76 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.01165/10.78, allocations: 8.843 MB / 4.197 GB, free: 43.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003442/10.79, allocations: 1.95 MB / 4.199 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/10.79, allocations: 0 / 4.199 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/10.79, allocations: 1.051 MB / 4.2 GB, free: 43.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/10.8, allocations: 1.165 MB / 4.201 GB, free: 43.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/10.82, allocations: 16.28 MB / 4.217 GB, free: 36.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/10.82, allocations: 1.878 MB / 4.219 GB, free: 35.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002832/10.82, allocations: 0.6265 MB / 4.22 GB, free: 35.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/10.82, allocations: 0.9757 MB / 4.221 GB, free: 35.78 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/10.82, allocations: 0 / 4.221 GB, free: 35.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1799/11, allocations: 114.3 MB / 4.332 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/11, allocations: 220.6 kB / 4.333 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.283/17.29, allocations: 4 kB / 4.333 GB, free: 25.5 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)