Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001926/0.001926, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 68.95 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2624, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8699/1.132, allocations: 292 MB / 1.068 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03636/1.169, allocations: 23.13 MB / 1.09 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005591/1.174, allocations: 63.62 kB / 1.091 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006187/1.181, allocations: 1.567 MB / 1.092 GB, free: 5.656 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01851/1.199, allocations: 5.717 MB / 1.098 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009228/1.208, allocations: 2.654 MB / 1.1 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.221, allocations: 10.7 MB / 1.111 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005352/1.227, allocations: 2.53 MB / 1.113 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008644/1.235, allocations: 2.524 MB / 1.116 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006817/1.242, allocations: 2.82 MB / 1.118 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001934/1.244, allocations: 207.9 kB / 1.119 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/1.26, allocations: 6.912 MB / 1.125 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002714/1.262, allocations: 1.332 MB / 1.127 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00523/1.268, allocations: 1.758 MB / 1.128 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01684/1.285, allocations: 7.183 MB / 1.135 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.285, allocations: 0 / 1.135 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.803e-06/1.285, allocations: 0 / 1.135 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002275/1.285, allocations: 0 / 1.135 GB, free: 9.188 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01329/1.298, allocations: 4.088 MB / 1.139 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.298, allocations: 8.031 kB / 1.139 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006317/1.305, allocations: 0.8391 MB / 1.14 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004569/1.309, allocations: 1.782 MB / 1.142 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/1.309, allocations: 205.4 kB / 1.142 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/1.31, allocations: 275.9 kB / 1.142 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009116/1.32, allocations: 3.601 MB / 1.146 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/1.32, allocations: 7.938 kB / 1.146 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007137/1.32, allocations: 116 kB / 1.146 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/1.321, allocations: 141.3 kB / 1.146 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007666/1.328, allocations: 3.288 MB / 1.149 GB, free: 10.57 MB / 0.8575 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.02089/1.349, allocations: 14.13 MB / 1.163 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/1.354, allocations: 2.534 MB / 1.166 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/1.356, allocations: 1.356 MB / 1.167 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/1.357, allocations: 1.375 MB / 1.168 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002448/1.36, allocations: 1.214 MB / 1.169 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 5.58e-06/1.36, allocations: 0 / 1.169 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.006547/1.366, allocations: 3.164 MB / 1.173 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/1.367, allocations: 77.34 kB / 1.173 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.369, allocations: 1.436 MB / 1.174 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/1.369, allocations: 69.7 kB / 1.174 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.371, allocations: 1.107 MB / 1.175 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008483/1.372, allocations: 0.7316 MB / 1.176 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006784/1.372, allocations: 367.5 kB / 1.176 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/1.372, allocations: 305.1 kB / 1.177 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.374, allocations: 0.9058 MB / 1.177 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/1.376, allocations: 1.277 MB / 1.179 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/1.379, allocations: 2.309 MB / 1.181 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.379, allocations: 3.984 kB / 1.181 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004506/1.384, allocations: 2.59 MB / 1.183 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/1.384, allocations: 37.7 kB / 1.183 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.384, allocations: 4 kB / 1.183 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.384, allocations: 20 kB / 1.184 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.386, allocations: 467.8 kB / 1.184 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.521e-05/1.386, allocations: 23.88 kB / 1.184 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.389, allocations: 360.6 kB / 1.184 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.389, allocations: 90.11 kB / 1.184 GB, free: 4.727 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.001326/1.39, allocations: 0.6806 MB / 1.185 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/1.391, allocations: 213.5 kB / 1.185 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/1.395, allocations: 2.511 MB / 1.188 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.396, allocations: 23.98 kB / 1.188 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.396, allocations: 0 / 1.188 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003388/1.399, allocations: 2.323 MB / 1.19 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.409, allocations: 5.587 MB / 1.195 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.41, allocations: 4 kB / 1.195 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/1.412, allocations: 495.6 kB / 1.196 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-05/1.412, allocations: 8 kB / 1.196 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.412, allocations: 51.98 kB / 1.196 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/1.412, allocations: 12 kB / 1.196 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.412, allocations: 0 / 1.196 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006363/1.418, allocations: 3.991 MB / 1.2 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.42, allocations: 0.5332 MB / 1.2 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/1.421, allocations: 40 kB / 1.2 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/1.423, allocations: 245.2 kB / 1.201 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/1.424, allocations: 153.7 kB / 1.201 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.424, allocations: 71.97 kB / 1.201 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001736/1.426, allocations: 0.9783 MB / 1.202 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.71e-07/1.426, allocations: 4 kB / 1.202 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002836/1.428, allocations: 0.9312 MB / 1.203 GB, free: 1.625 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009014/1.429, allocations: 380.8 kB / 1.203 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003972/1.433, allocations: 2.33 MB / 1.205 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.433, allocations: 8.125 kB / 1.205 GB, free: 14.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/1.435, allocations: 1.221 MB / 1.207 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006218/1.442, allocations: 1.234 MB / 1.208 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.452, allocations: 6.983 MB / 1.215 GB, free: 5.414 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/1.454, allocations: 1.967 MB / 1.217 GB, free: 3.41 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003413/1.458, allocations: 0.7171 MB / 1.217 GB, free: 2.691 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/1.459, allocations: 195.4 kB / 1.217 GB, free: 2.5 MB / 0.92 GB Notification: Performance of SimCode: time 8.81e-07/1.459, allocations: 0 / 1.217 GB, free: 2.5 MB / 0.92 GB Notification: Performance of Templates: time 0.07366/1.533, allocations: 45.72 MB / 1.262 GB, free: 5.312 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)