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.00131/0.00131, allocations: 105.8 kB / 15.98 MB, free: 5.891 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.001272/0.001272, allocations: 189.6 kB / 16.91 MB, free: 5.746 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.508/1.508, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.69/1.69, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001362/0.001362, allocations: 67.8 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2558, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8123/1.068, allocations: 290.8 MB / 1.067 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03533/1.104, allocations: 22.8 MB / 1.09 GB, free: 9.766 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005312/1.109, allocations: 63.62 kB / 1.09 GB, free: 9.703 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00625/1.115, allocations: 1.602 MB / 1.091 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01876/1.134, allocations: 5.694 MB / 1.097 GB, free: 2.379 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009722/1.144, allocations: 2.711 MB / 1.1 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01233/1.156, allocations: 7.28 MB / 1.107 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/1.162, allocations: 2.868 MB / 1.109 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009553/1.172, allocations: 2.913 MB / 1.112 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00675/1.178, allocations: 2.886 MB / 1.115 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001742/1.18, allocations: 344 kB / 1.115 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/1.196, allocations: 6.211 MB / 1.122 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003422/1.199, allocations: 1.481 MB / 1.123 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005992/1.205, allocations: 1.898 MB / 1.125 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.217, allocations: 5.181 MB / 1.13 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.217, allocations: 0 / 1.13 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/1.217, allocations: 4 kB / 1.13 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002438/1.217, allocations: 4 kB / 1.13 GB, free: 0.5273 MB / 0.8262 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.01538/1.233, allocations: 4.092 MB / 1.134 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.233, allocations: 8.031 kB / 1.134 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00676/1.24, allocations: 0.8353 MB / 1.135 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/1.245, allocations: 1.778 MB / 1.136 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/1.245, allocations: 205.4 kB / 1.137 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/1.246, allocations: 279.9 kB / 1.137 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/1.258, allocations: 3.601 MB / 1.14 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/1.258, allocations: 0 / 1.14 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008812/1.259, allocations: 120 kB / 1.141 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/1.259, allocations: 149.2 kB / 1.141 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009382/1.268, allocations: 3.276 MB / 1.144 GB, free: 1.918 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.02292/1.291, allocations: 14.13 MB / 1.158 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/1.296, allocations: 2.542 MB / 1.16 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/1.298, allocations: 1.349 MB / 1.161 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/1.3, allocations: 1.375 MB / 1.163 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002354/1.302, allocations: 1.222 MB / 1.164 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 5.009e-06/1.302, allocations: 0 / 1.164 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.006345/1.308, allocations: 3.156 MB / 1.167 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/1.308, allocations: 81.39 kB / 1.167 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.311, allocations: 1.44 MB / 1.169 GB, free: 7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.311, allocations: 61.7 kB / 1.169 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.312, allocations: 1.115 MB / 1.17 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008236/1.313, allocations: 0.7277 MB / 1.17 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006983/1.314, allocations: 359.5 kB / 1.171 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.314, allocations: 309 kB / 1.171 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.316, allocations: 0.9136 MB / 1.172 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/1.318, allocations: 1.265 MB / 1.173 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/1.321, allocations: 2.325 MB / 1.175 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/1.321, allocations: 8 kB / 1.175 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00485/1.326, allocations: 2.586 MB / 1.178 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/1.326, allocations: 33.7 kB / 1.178 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.326, allocations: 8 kB / 1.178 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.003e-05/1.326, allocations: 16.66 kB / 1.178 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.328, allocations: 467.3 kB / 1.179 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-05/1.328, allocations: 19.98 kB / 1.179 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/1.331, allocations: 366.6 kB / 1.179 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/1.332, allocations: 79.94 kB / 1.179 GB, free: 12.07 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.001534/1.333, allocations: 0.6846 MB / 1.18 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000762/1.334, allocations: 213.5 kB / 1.18 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/1.339, allocations: 2.507 MB / 1.182 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.339, allocations: 23.98 kB / 1.182 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.339, allocations: 0 / 1.182 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003864/1.343, allocations: 2.319 MB / 1.185 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.355, allocations: 5.595 MB / 1.19 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.355, allocations: 0 / 1.19 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.357, allocations: 491.6 kB / 1.191 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.73e-05/1.357, allocations: 15.98 kB / 1.191 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/1.358, allocations: 59.97 kB / 1.191 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/1.358, allocations: 8 kB / 1.191 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.358, allocations: 8 kB / 1.191 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006701/1.364, allocations: 3.975 MB / 1.194 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.366, allocations: 0.5371 MB / 1.195 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006136/1.367, allocations: 48 kB / 1.195 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.369, allocations: 244.2 kB / 1.195 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003616/1.37, allocations: 149.7 kB / 1.195 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/1.37, allocations: 71.97 kB / 1.195 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001848/1.372, allocations: 0.9822 MB / 1.196 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.372, allocations: 0 / 1.196 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002915/1.375, allocations: 0.9351 MB / 1.197 GB, free: 8.961 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.0009761/1.376, allocations: 370.3 kB / 1.198 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009008/1.385, allocations: 3.891 MB / 1.202 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.385, allocations: 3.938 kB / 1.202 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/1.387, allocations: 1.214 MB / 1.203 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007172/1.394, allocations: 1.295 MB / 1.204 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.407, allocations: 7.157 MB / 1.211 GB, free: 10.99 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/1.41, allocations: 1.975 MB / 1.213 GB, free: 8.977 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.411, allocations: 211.4 kB / 1.213 GB, free: 8.77 MB / 0.92 GB Notification: Performance of SimCode: time 8.72e-07/1.411, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.92 GB Notification: Performance of Templates: time 0.07226/1.484, allocations: 41.71 MB / 1.254 GB, free: 15.25 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)