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.001411/0.001419, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.584/1.584, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.732/1.732, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.001497/0.001497, allocations: 68.59 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2959, allocations: 114.5 MB / 0.7833 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8416/1.138, allocations: 294.2 MB / 1.071 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03449/1.172, allocations: 22.93 MB / 1.093 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/1.177, allocations: 67.69 kB / 1.093 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006705/1.184, allocations: 1.802 MB / 1.095 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01892/1.203, allocations: 6.049 MB / 1.101 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009196/1.212, allocations: 2.932 MB / 1.104 GB, free: 15.31 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.222, allocations: 7.262 MB / 1.111 GB, free: 8.027 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005422/1.228, allocations: 2.986 MB / 1.114 GB, free: 5 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007133/1.235, allocations: 2.866 MB / 1.116 GB, free: 2.156 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005/1.24, allocations: 2.703 MB / 1.119 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/1.241, allocations: 347.9 kB / 1.119 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.256, allocations: 5.978 MB / 1.125 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003185/1.259, allocations: 1.469 MB / 1.127 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005617/1.265, allocations: 1.902 MB / 1.129 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/1.281, allocations: 6.892 MB / 1.135 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.281, allocations: 4 kB / 1.135 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.281, allocations: 0 / 1.135 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001598/1.281, allocations: 0 / 1.135 GB, free: 14.82 MB / 0.8575 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.01163/1.293, allocations: 4.088 MB / 1.139 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.293, allocations: 8.031 kB / 1.139 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/1.298, allocations: 0.8391 MB / 1.14 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/1.302, allocations: 1.771 MB / 1.142 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.303, allocations: 217.4 kB / 1.142 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006204/1.303, allocations: 279.9 kB / 1.142 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/1.31, allocations: 3.597 MB / 1.146 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/1.31, allocations: 7.938 kB / 1.146 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/1.31, allocations: 112 kB / 1.146 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/1.31, allocations: 145.3 kB / 1.146 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/1.316, allocations: 3.276 MB / 1.149 GB, free: 220 kB / 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.01933/1.335, allocations: 14.29 MB / 1.163 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/1.339, allocations: 2.533 MB / 1.166 GB, free: 14.09 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.341, allocations: 1.36 MB / 1.167 GB, free: 12.73 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.342, allocations: 1.371 MB / 1.168 GB, free: 11.06 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/1.344, allocations: 1.222 MB / 1.17 GB, free: 9.832 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=213): time 4.328e-06/1.344, allocations: 0 / 1.17 GB, free: 9.832 MB / 0.8888 GB Notification: Performance of matching and sorting (n=213): time 0.005781/1.35, allocations: 3.161 MB / 1.173 GB, free: 6.668 MB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.35, allocations: 73.41 kB / 1.173 GB, free: 6.582 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/1.352, allocations: 1.44 MB / 1.174 GB, free: 5.137 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/1.352, allocations: 65.7 kB / 1.174 GB, free: 5.066 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.00093/1.353, allocations: 1.107 MB / 1.175 GB, free: 3.945 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006815/1.354, allocations: 0.7393 MB / 1.176 GB, free: 3.195 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/1.355, allocations: 363.5 kB / 1.176 GB, free: 2.832 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/1.355, allocations: 305.1 kB / 1.177 GB, free: 2.531 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/1.356, allocations: 0.9058 MB / 1.178 GB, free: 1.621 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/1.358, allocations: 1.269 MB / 1.179 GB, free: 228 kB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/1.361, allocations: 2.321 MB / 1.181 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/1.361, allocations: 4 kB / 1.181 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00446/1.366, allocations: 2.586 MB / 1.184 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/1.366, allocations: 37.7 kB / 1.184 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.366, allocations: 12 kB / 1.184 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/1.366, allocations: 16 kB / 1.184 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.368, allocations: 467.8 kB / 1.184 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.072e-05/1.368, allocations: 19.94 kB / 1.184 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.37, allocations: 196.7 kB / 1.184 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/1.37, allocations: 83.88 kB / 1.184 GB, free: 10.37 MB / 0.9044 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.001232/1.372, allocations: 0.6807 MB / 1.185 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/1.372, allocations: 213.5 kB / 1.185 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/1.376, allocations: 2.514 MB / 1.188 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/1.376, allocations: 31.98 kB / 1.188 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.377, allocations: 3.984 kB / 1.188 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003304/1.38, allocations: 2.311 MB / 1.19 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/1.389, allocations: 5.591 MB / 1.195 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.389, allocations: 4 kB / 1.195 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.392, allocations: 479.4 kB / 1.196 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/1.392, allocations: 16.06 kB / 1.196 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/1.392, allocations: 55.97 kB / 1.196 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/1.392, allocations: 15.94 kB / 1.196 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.392, allocations: 4 kB / 1.196 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/1.398, allocations: 3.975 MB / 1.2 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.4, allocations: 0.541 MB / 1.2 GB, free: 9.664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/1.4, allocations: 47.98 kB / 1.2 GB, free: 9.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.401, allocations: 58.41 kB / 1.2 GB, free: 9.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/1.402, allocations: 145.7 kB / 1.201 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.402, allocations: 71.97 kB / 1.201 GB, free: 9.352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001406/1.403, allocations: 0.9822 MB / 1.202 GB, free: 8.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.403, allocations: 4 kB / 1.202 GB, free: 8.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002489/1.406, allocations: 0.9389 MB / 1.203 GB, free: 7.43 MB / 0.92 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.000793/1.407, allocations: 384.9 kB / 1.203 GB, free: 7.055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008063/1.415, allocations: 3.876 MB / 1.207 GB, free: 3.164 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.415, allocations: 8.125 kB / 1.207 GB, free: 3.156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.417, allocations: 1.221 MB / 1.208 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006702/1.423, allocations: 1.295 MB / 1.209 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.434, allocations: 5.796 MB / 1.215 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/1.437, allocations: 1.963 MB / 1.217 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003515/1.441, allocations: 0.7131 MB / 1.217 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009983/1.442, allocations: 195.4 kB / 1.218 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of SimCode: time 8.72e-07/1.442, allocations: 4 kB / 1.218 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of Templates: time 0.08352/1.525, allocations: 47.68 MB / 1.264 GB, free: 8.801 MB / 0.9825 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)