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.0007476/0.0007478, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004654/0.004654, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.466/1.466, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.726/1.726, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004903/0.0004903, allocations: 12.88 kB / 0.6743 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.828/1.052, allocations: 288 MB / 1.069 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03517/1.087, allocations: 22.88 MB / 1.091 GB, free: 5.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005928/1.093, allocations: 63.62 kB / 1.092 GB, free: 4.957 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006662/1.1, allocations: 1.551 MB / 1.093 GB, free: 3.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01947/1.119, allocations: 5.709 MB / 1.099 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00964/1.129, allocations: 2.672 MB / 1.101 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01388/1.143, allocations: 10.7 MB / 1.112 GB, free: 276 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005882/1.149, allocations: 2.428 MB / 1.114 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008844/1.158, allocations: 2.424 MB / 1.116 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/1.165, allocations: 2.717 MB / 1.119 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001907/1.167, allocations: 168 kB / 1.119 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01656/1.183, allocations: 6.873 MB / 1.126 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003117/1.186, allocations: 1.278 MB / 1.127 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005737/1.192, allocations: 1.712 MB / 1.129 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01886/1.211, allocations: 7.076 MB / 1.136 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.211, allocations: 0 / 1.136 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.207e-06/1.211, allocations: 0 / 1.136 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002721/1.211, allocations: 0 / 1.136 GB, free: 7.5 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.01409/1.226, allocations: 3.48 MB / 1.139 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.226, allocations: 8.031 kB / 1.139 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/1.232, allocations: 0.843 MB / 1.14 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/1.237, allocations: 1.774 MB / 1.142 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/1.237, allocations: 217.4 kB / 1.142 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/1.239, allocations: 276 kB / 1.142 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/1.247, allocations: 3.597 MB / 1.146 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/1.247, allocations: 11.84 kB / 1.146 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/1.247, allocations: 112 kB / 1.146 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/1.247, allocations: 145.3 kB / 1.146 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005899/1.253, allocations: 3.288 MB / 1.149 GB, free: 9.488 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.02117/1.274, allocations: 14.15 MB / 1.163 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004047/1.278, allocations: 2.538 MB / 1.166 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/1.281, allocations: 1.36 MB / 1.167 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/1.282, allocations: 1.382 MB / 1.168 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/1.284, allocations: 1.23 MB / 1.169 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 4.007e-06/1.284, allocations: 0 / 1.169 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.006021/1.29, allocations: 3.18 MB / 1.172 GB, free: 36 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/1.29, allocations: 73.41 kB / 1.173 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/1.293, allocations: 1.44 MB / 1.174 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/1.293, allocations: 65.7 kB / 1.174 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.294, allocations: 1.103 MB / 1.175 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/1.295, allocations: 0.7393 MB / 1.176 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.295, allocations: 169.6 kB / 1.176 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.295, allocations: 313.1 kB / 1.176 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.297, allocations: 0.9097 MB / 1.177 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/1.299, allocations: 1.277 MB / 1.178 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/1.303, allocations: 2.333 MB / 1.181 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.303, allocations: 4 kB / 1.181 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004754/1.307, allocations: 2.598 MB / 1.183 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/1.308, allocations: 41.64 kB / 1.183 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.308, allocations: 4 kB / 1.183 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-05/1.308, allocations: 20 kB / 1.183 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.31, allocations: 475.5 kB / 1.184 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-05/1.31, allocations: 19.94 kB / 1.184 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/1.313, allocations: 368.5 kB / 1.184 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.313, allocations: 83.92 kB / 1.184 GB, free: 3.711 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.001675/1.315, allocations: 0.6807 MB / 1.185 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/1.316, allocations: 209.5 kB / 1.185 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.32, allocations: 2.522 MB / 1.188 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.321, allocations: 24 kB / 1.188 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.321, allocations: 0 / 1.188 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003514/1.324, allocations: 2.334 MB / 1.19 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.335, allocations: 5.602 MB / 1.195 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.335, allocations: 4 kB / 1.195 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.337, allocations: 499.6 kB / 1.196 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.765e-05/1.337, allocations: 12 kB / 1.196 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/1.337, allocations: 55.98 kB / 1.196 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/1.337, allocations: 8 kB / 1.196 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.337, allocations: 4 kB / 1.196 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006436/1.344, allocations: 3.998 MB / 1.2 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.345, allocations: 0.5371 MB / 1.2 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/1.346, allocations: 44 kB / 1.2 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/1.349, allocations: 247.5 kB / 1.201 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/1.349, allocations: 157.6 kB / 1.201 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.349, allocations: 71.97 kB / 1.201 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001986/1.351, allocations: 0.9783 MB / 1.202 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/1.351, allocations: 0 / 1.202 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003474/1.355, allocations: 0.9351 MB / 1.203 GB, free: 0.5391 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.001079/1.356, allocations: 381.6 kB / 1.203 GB, free: 168 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004517/1.36, allocations: 2.345 MB / 1.205 GB, free: 13.81 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.36, allocations: 0 / 1.205 GB, free: 13.81 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.363, allocations: 1.231 MB / 1.207 GB, free: 12.58 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007319/1.37, allocations: 1.231 MB / 1.208 GB, free: 11.35 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.383, allocations: 7.24 MB / 1.215 GB, free: 4.051 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.385, allocations: 1.963 MB / 1.217 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00336/1.388, allocations: 0.7171 MB / 1.217 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/1.389, allocations: 195.4 kB / 1.218 GB, free: 1.141 MB / 0.92 GB Notification: Performance of SimCode: time 2.504e-06/1.389, allocations: 0 / 1.218 GB, free: 1.141 MB / 0.92 GB Notification: Performance of Templates: time 0.08259/1.472, allocations: 45.41 MB / 1.262 GB, free: 4.25 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: