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.001088/0.001088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001249/0.001249, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.468/1.468, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.714/1.714, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001314/0.001314, allocations: 69.72 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2768, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.007/1.284, allocations: 290.8 MB / 1.067 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03464/1.318, allocations: 22.8 MB / 1.089 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006309/1.325, allocations: 67.62 kB / 1.089 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006677/1.332, allocations: 1.606 MB / 1.091 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02062/1.352, allocations: 5.705 MB / 1.096 GB, free: 2.25 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01119/1.363, allocations: 2.702 MB / 1.099 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01252/1.376, allocations: 7.28 MB / 1.106 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/1.382, allocations: 2.874 MB / 1.109 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009833/1.392, allocations: 2.908 MB / 1.112 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00665/1.399, allocations: 2.884 MB / 1.114 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002048/1.401, allocations: 340 kB / 1.115 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/1.418, allocations: 6.23 MB / 1.121 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/1.422, allocations: 1.461 MB / 1.122 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.006241/1.429, allocations: 1.898 MB / 1.124 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/1.449, allocations: 7.3 MB / 1.131 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/1.449, allocations: 0 / 1.131 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.826e-06/1.449, allocations: 0 / 1.131 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001643/1.45, allocations: 0 / 1.131 GB, free: 14.29 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.0127/1.462, allocations: 4.1 MB / 1.135 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.462, allocations: 8.031 kB / 1.135 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006102/1.468, allocations: 0.8391 MB / 1.136 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/1.473, allocations: 1.767 MB / 1.138 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/1.473, allocations: 213.4 kB / 1.138 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/1.473, allocations: 283.9 kB / 1.138 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006487/1.48, allocations: 3.594 MB / 1.142 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.5e-05/1.48, allocations: 7.875 kB / 1.142 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/1.48, allocations: 116 kB / 1.142 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/1.481, allocations: 145.3 kB / 1.142 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005577/1.486, allocations: 3.284 MB / 1.145 GB, free: 15.67 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.01836/1.504, allocations: 14.12 MB / 1.159 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/1.508, allocations: 2.542 MB / 1.162 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/1.51, allocations: 1.352 MB / 1.163 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.511, allocations: 1.378 MB / 1.164 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/1.513, allocations: 1.222 MB / 1.165 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 4.94e-06/1.513, allocations: 0 / 1.165 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.005925/1.519, allocations: 3.164 MB / 1.169 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/1.519, allocations: 77.34 kB / 1.169 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/1.522, allocations: 1.444 MB / 1.17 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/1.522, allocations: 65.7 kB / 1.17 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1.523, allocations: 1.103 MB / 1.171 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/1.524, allocations: 0.7355 MB / 1.172 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/1.524, allocations: 359.5 kB / 1.172 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.524, allocations: 309.1 kB / 1.173 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.526, allocations: 0.9097 MB / 1.173 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/1.528, allocations: 1.265 MB / 1.175 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/1.531, allocations: 2.317 MB / 1.177 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.531, allocations: 0 / 1.177 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004586/1.536, allocations: 2.59 MB / 1.179 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/1.536, allocations: 41.69 kB / 1.179 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.536, allocations: 8 kB / 1.179 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/1.536, allocations: 16 kB / 1.179 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.538, allocations: 463.8 kB / 1.18 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.341e-05/1.538, allocations: 23.92 kB / 1.18 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/1.541, allocations: 353.7 kB / 1.18 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/1.541, allocations: 87.92 kB / 1.18 GB, free: 9.824 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.001547/1.542, allocations: 0.6768 MB / 1.181 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/1.543, allocations: 221.5 kB / 1.181 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/1.547, allocations: 2.503 MB / 1.184 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.547, allocations: 20 kB / 1.184 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.547, allocations: 4 kB / 1.184 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003249/1.55, allocations: 2.319 MB / 1.186 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009941/1.56, allocations: 5.598 MB / 1.191 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.56, allocations: 4 kB / 1.191 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.563, allocations: 487.7 kB / 1.192 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-05/1.563, allocations: 15.94 kB / 1.192 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.563, allocations: 47.98 kB / 1.192 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.563, allocations: 15.98 kB / 1.192 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.563, allocations: 7.938 kB / 1.192 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006006/1.569, allocations: 3.979 MB / 1.196 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.571, allocations: 0.5371 MB / 1.196 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/1.571, allocations: 43.98 kB / 1.196 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.573, allocations: 244.2 kB / 1.197 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/1.574, allocations: 149.7 kB / 1.197 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.574, allocations: 67.97 kB / 1.197 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001431/1.575, allocations: 0.9783 MB / 1.198 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.61e-07/1.575, allocations: 4 kB / 1.198 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002737/1.578, allocations: 0.9351 MB / 1.199 GB, free: 6.719 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.0008747/1.579, allocations: 392 kB / 1.199 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008498/1.587, allocations: 3.876 MB / 1.203 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.587, allocations: 8.25 kB / 1.203 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.589, allocations: 1.221 MB / 1.204 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/1.596, allocations: 1.289 MB / 1.205 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/1.607, allocations: 6.986 MB / 1.212 GB, free: 8.914 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/1.609, allocations: 1.959 MB / 1.214 GB, free: 6.918 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003361/1.612, allocations: 0.7171 MB / 1.215 GB, free: 6.199 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/1.613, allocations: 195.4 kB / 1.215 GB, free: 6.008 MB / 0.92 GB Notification: Performance of SimCode: time 1.663e-06/1.613, allocations: 8 kB / 1.215 GB, free: 6 MB / 0.92 GB Notification: Performance of Templates: time 0.08055/1.693, allocations: 47.32 MB / 1.261 GB, free: 7.262 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)