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: translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001101/0.001102, allocations: 187 kB / 17.34 MB, free: 5.742 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 292.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 91.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5081, allocations: 86.98 MB / 0.767 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.776/1.284, allocations: 284.2 MB / 1.045 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0238/1.308, allocations: 17.31 MB / 1.062 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004403/1.312, allocations: 70.84 kB / 1.062 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005256/1.318, allocations: 1.712 MB / 1.063 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01855/1.336, allocations: 5.89 MB / 1.069 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008989/1.345, allocations: 2.816 MB / 1.072 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01103/1.356, allocations: 6.575 MB / 1.078 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005064/1.362, allocations: 2.549 MB / 1.081 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006822/1.368, allocations: 2.496 MB / 1.083 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005961/1.374, allocations: 2.395 MB / 1.085 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001365/1.376, allocations: 300 kB / 1.086 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/1.391, allocations: 5.938 MB / 1.092 GB, free: 216 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002524/1.393, allocations: 1.308 MB / 1.093 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004891/1.398, allocations: 1.707 MB / 1.094 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01651/1.415, allocations: 6.433 MB / 1.101 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.415, allocations: 0 / 1.101 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.636e-06/1.415, allocations: 0 / 1.101 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001911/1.415, allocations: 7.188 kB / 1.101 GB, free: 7.184 MB / 0.7481 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.01242/1.428, allocations: 3.749 MB / 1.104 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.428, allocations: 12.03 kB / 1.104 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/1.434, allocations: 0.8199 MB / 1.105 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00451/1.439, allocations: 1.696 MB / 1.107 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/1.439, allocations: 180.4 kB / 1.107 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008803/1.44, allocations: 243 kB / 1.107 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007562/1.447, allocations: 3.099 MB / 1.11 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/1.447, allocations: 3.906 kB / 1.11 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005604/1.448, allocations: 104.9 kB / 1.11 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/1.448, allocations: 139.9 kB / 1.111 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0064/1.455, allocations: 2.838 MB / 1.113 GB, free: 10.24 MB / 0.7637 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.01862/1.473, allocations: 12.1 MB / 1.125 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/1.477, allocations: 2.279 MB / 1.127 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/1.48, allocations: 1.255 MB / 1.129 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.481, allocations: 1.365 MB / 1.13 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/1.481, allocations: 60.5 kB / 1.13 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=197): time 5.881e-06/1.481, allocations: 0 / 1.13 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=197): time 0.0061/1.487, allocations: 2.835 MB / 1.133 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.487, allocations: 69.41 kB / 1.133 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/1.49, allocations: 1.323 MB / 1.134 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/1.49, allocations: 61.7 kB / 1.134 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007792/1.491, allocations: 0.9555 MB / 1.135 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008126/1.492, allocations: 0.6739 MB / 1.136 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/1.492, allocations: 299.5 kB / 1.136 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.492, allocations: 305.1 kB / 1.136 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/1.494, allocations: 0.7769 MB / 1.137 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.496, allocations: 0.9713 MB / 1.138 GB, free: 15.69 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/1.499, allocations: 1.873 MB / 1.14 GB, free: 13.78 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.499, allocations: 0 / 1.14 GB, free: 13.78 MB / 0.795 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004274/1.503, allocations: 2.163 MB / 1.142 GB, free: 11.61 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.503, allocations: 8 kB / 1.142 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.503, allocations: 4 kB / 1.142 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.503, allocations: 8 kB / 1.142 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.505, allocations: 375.5 kB / 1.142 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.031e-05/1.505, allocations: 8 kB / 1.142 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.507, allocations: 150.3 kB / 1.143 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.507, allocations: 64.11 kB / 1.143 GB, free: 11 MB / 0.795 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.001362/1.509, allocations: 0.6012 MB / 1.143 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/1.509, allocations: 197.6 kB / 1.143 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/1.514, allocations: 2.252 MB / 1.146 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/1.514, allocations: 23.94 kB / 1.146 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.514, allocations: 4 kB / 1.146 GB, free: 7.906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003213/1.517, allocations: 1.874 MB / 1.147 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.528, allocations: 5.099 MB / 1.152 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.528, allocations: 0 / 1.152 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.53, allocations: 427.8 kB / 1.153 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.288e-05/1.53, allocations: 8 kB / 1.153 GB, free: 436 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/1.53, allocations: 51.98 kB / 1.153 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/1.531, allocations: 11.94 kB / 1.153 GB, free: 372 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.531, allocations: 4 kB / 1.153 GB, free: 368 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006325/1.537, allocations: 3.407 MB / 1.156 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.538, allocations: 0.5099 MB / 1.157 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005723/1.539, allocations: 47.98 kB / 1.157 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.541, allocations: 46.83 kB / 1.157 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.541, allocations: 133.7 kB / 1.157 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.541, allocations: 63.98 kB / 1.157 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001866/1.543, allocations: 0.9044 MB / 1.158 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.543, allocations: 4 kB / 1.158 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00273/1.546, allocations: 0.8456 MB / 1.159 GB, free: 10.34 MB / 0.8106 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.001032/1.547, allocations: 379.8 kB / 1.159 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003664/1.551, allocations: 1.977 MB / 1.161 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.551, allocations: 0.6875 kB / 1.161 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.553, allocations: 1.089 MB / 1.162 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/1.559, allocations: 1.233 MB / 1.163 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.57, allocations: 5.421 MB / 1.169 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.572, allocations: 1.836 MB / 1.17 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.574, allocations: 191.4 kB / 1.171 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of SimCode: time 1.132e-06/1.574, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.06299/1.637, allocations: 38.2 MB / 1.208 GB, free: 8.207 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)