Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005181/0.005181, allocations: 97.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 201.8 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 282.5 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.3 MB / 0.4983 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 100.3 kB / 0.681 GB, free: 40 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1661, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.6043/0.7705, allocations: 284.2 MB / 1.043 GB, free: 6.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.7963, allocations: 17.32 MB / 1.06 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.7988, allocations: 67.69 kB / 1.06 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004216/0.8031, allocations: 1.705 MB / 1.062 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.8171, allocations: 5.897 MB / 1.068 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007029/0.8242, allocations: 2.806 MB / 1.071 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008743/0.8329, allocations: 6.574 MB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.8365, allocations: 2.561 MB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.8412, allocations: 2.461 MB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00491/0.8461, allocations: 2.404 MB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009554/0.8471, allocations: 300 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.8584, allocations: 5.939 MB / 1.09 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.8601, allocations: 1.301 MB / 1.092 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.8623, allocations: 1.707 MB / 1.093 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4127/1.275, allocations: 6.454 MB / 1.1 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.275, allocations: 0.9062 kB / 1.1 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/1.275, allocations: 0 / 1.1 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.236e-05/1.275, allocations: 1.234 kB / 1.1 GB, free: 22.23 MB / 0.8419 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.009557/1.285, allocations: 3.843 MB / 1.103 GB, free: 20.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.285, allocations: 9.828 kB / 1.103 GB, free: 20.61 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000497/1.285, allocations: 349.2 kB / 1.104 GB, free: 20.56 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005379/1.291, allocations: 0.8301 MB / 1.105 GB, free: 20.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/1.294, allocations: 1.718 MB / 1.106 GB, free: 19.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.294, allocations: 182.4 kB / 1.106 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/1.295, allocations: 248.5 kB / 1.107 GB, free: 19.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/1.3, allocations: 3.093 MB / 1.11 GB, free: 19.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/1.3, allocations: 6.125 kB / 1.11 GB, free: 19.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/1.301, allocations: 102.9 kB / 1.11 GB, free: 19.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/1.301, allocations: 134.8 kB / 1.11 GB, free: 19.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005122/1.306, allocations: 2.844 MB / 1.113 GB, free: 19.55 MB / 0.8419 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.01467/1.321, allocations: 12.12 MB / 1.124 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/1.324, allocations: 2.282 MB / 1.127 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/1.326, allocations: 1.249 MB / 1.128 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009711/1.327, allocations: 1.368 MB / 1.129 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.327, allocations: 63.17 kB / 1.129 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=197): time 4.017e-06/1.327, allocations: 0.8438 kB / 1.129 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=197): time 0.005485/1.333, allocations: 2.832 MB / 1.132 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/1.333, allocations: 71.97 kB / 1.132 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/1.336, allocations: 1.318 MB / 1.133 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.336, allocations: 64.17 kB / 1.134 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008474/1.337, allocations: 0.966 MB / 1.134 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/1.337, allocations: 0.7157 MB / 1.135 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007622/1.338, allocations: 300.2 kB / 1.135 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/1.338, allocations: 310 kB / 1.136 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/1.34, allocations: 0.7841 MB / 1.137 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/1.342, allocations: 0.9617 MB / 1.137 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/1.347, allocations: 1.871 MB / 1.139 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.347, allocations: 0 / 1.139 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005359/1.352, allocations: 2.17 MB / 1.141 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.352, allocations: 10.5 kB / 1.141 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.352, allocations: 3.594 kB / 1.141 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.775e-05/1.352, allocations: 17.81 kB / 1.141 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.355, allocations: 367.9 kB / 1.142 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.605e-05/1.355, allocations: 13.69 kB / 1.142 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.357, allocations: 147.8 kB / 1.142 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/1.358, allocations: 67.11 kB / 1.142 GB, free: 8.617 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00152/1.359, allocations: 0.5948 MB / 1.143 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/1.36, allocations: 207.4 kB / 1.143 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/1.365, allocations: 2.252 MB / 1.145 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.365, allocations: 20.53 kB / 1.145 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.365, allocations: 3.938 kB / 1.145 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/1.369, allocations: 1.872 MB / 1.147 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.381, allocations: 5.111 MB / 1.152 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.381, allocations: 7.641 kB / 1.152 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.384, allocations: 425.8 kB / 1.152 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.053e-05/1.384, allocations: 10.92 kB / 1.152 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/1.384, allocations: 49.39 kB / 1.152 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.652e-05/1.384, allocations: 9.469 kB / 1.152 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.384, allocations: 2.375 kB / 1.152 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/1.391, allocations: 3.422 MB / 1.156 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.392, allocations: 0.5126 MB / 1.156 GB, free: 22.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/1.393, allocations: 41.64 kB / 1.156 GB, free: 22.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.394, allocations: 52.19 kB / 1.156 GB, free: 22.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/1.395, allocations: 136 kB / 1.156 GB, free: 22.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.395, allocations: 65.66 kB / 1.156 GB, free: 22.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001329/1.396, allocations: 0.9092 MB / 1.157 GB, free: 22.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.396, allocations: 0.625 kB / 1.157 GB, free: 22.78 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002653/1.399, allocations: 0.848 MB / 1.158 GB, free: 22.66 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005569/1.404, allocations: 4.232 MB / 1.162 GB, free: 21.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0028/1.407, allocations: 1.98 MB / 1.164 GB, free: 21.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.407, allocations: 2.531 kB / 1.164 GB, free: 21.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/1.409, allocations: 1.08 MB / 1.165 GB, free: 21.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/1.414, allocations: 1.256 MB / 1.166 GB, free: 21.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/1.438, allocations: 16.55 MB / 1.183 GB, free: 17.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/1.44, allocations: 1.828 MB / 1.184 GB, free: 16.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002693/1.442, allocations: 0.6266 MB / 1.185 GB, free: 16.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.444, allocations: 0.9683 MB / 1.186 GB, free: 16.55 MB / 0.8575 GB Notification: Performance of SimCode: time 8.72e-07/1.444, allocations: 0 / 1.186 GB, free: 16.55 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.49/2.934, allocations: 61.16 MB / 1.246 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/18.38, allocations: 3.938 kB / 1.246 GB, free: 14.45 MB / 0.9044 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)