Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00191/0.00191, allocations: 101.4 kB / 16.27 MB, free: 6.395 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.001887/0.001887, allocations: 186.7 kB / 17.2 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.89 kB / 0.495 GB, free: 3.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4514, allocations: 78.7 MB / 0.5718 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 1.02/1.471, allocations: 294.2 MB / 0.8591 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04048/1.512, allocations: 23.05 MB / 0.8817 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007155/1.519, allocations: 74.97 kB / 0.8817 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007942/1.527, allocations: 1.8 MB / 0.8835 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02618/1.553, allocations: 6.128 MB / 0.8895 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0127/1.566, allocations: 2.874 MB / 0.8923 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01401/1.58, allocations: 7.31 MB / 0.8994 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007724/1.588, allocations: 2.98 MB / 0.9023 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/1.599, allocations: 2.86 MB / 0.9051 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/1.607, allocations: 2.706 MB / 0.9078 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00246/1.609, allocations: 344 kB / 0.9081 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/1.629, allocations: 5.982 MB / 0.9139 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00421/1.633, allocations: 1.461 MB / 0.9154 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008235/1.641, allocations: 1.906 MB / 0.9172 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02583/1.667, allocations: 6.888 MB / 0.9239 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/1.667, allocations: 0 / 0.9239 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.377e-06/1.667, allocations: 0 / 0.9239 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003378/1.668, allocations: 0 / 0.9239 GB, free: 7.684 MB / 0.6387 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.0198/1.688, allocations: 4.096 MB / 0.9279 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.002e-05/1.688, allocations: 11.97 kB / 0.928 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/1.696, allocations: 0.8391 MB / 0.9288 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006913/1.703, allocations: 1.798 MB / 0.9305 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/1.703, allocations: 209.4 kB / 0.9307 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/1.705, allocations: 275.9 kB / 0.931 GB, free: 336 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/1.718, allocations: 3.601 MB / 0.9345 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/1.718, allocations: 7.906 kB / 0.9345 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/1.72, allocations: 112 kB / 0.9346 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/1.72, allocations: 149.2 kB / 0.9348 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/1.731, allocations: 3.284 MB / 0.938 GB, free: 9.039 MB / 0.6544 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.03137/1.762, allocations: 14.31 MB / 0.9519 GB, free: 9.504 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005902/1.768, allocations: 2.474 MB / 0.9544 GB, free: 6.957 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00308/1.771, allocations: 1.352 MB / 0.9557 GB, free: 5.609 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/1.773, allocations: 1.386 MB / 0.957 GB, free: 3.926 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003329/1.777, allocations: 1.218 MB / 0.9582 GB, free: 2.695 MB / 0.67 GB Notification: Performance of pre-optimization done (n=213): time 7.023e-06/1.777, allocations: 4 kB / 0.9582 GB, free: 2.691 MB / 0.67 GB Notification: Performance of matching and sorting (n=213): time 0.008592/1.785, allocations: 3.171 MB / 0.9613 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.785, allocations: 77.34 kB / 0.9614 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/1.789, allocations: 1.46 MB / 0.9628 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000394/1.789, allocations: 65.7 kB / 0.9629 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.791, allocations: 1.111 MB / 0.964 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.792, allocations: 0.7277 MB / 0.9647 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009546/1.793, allocations: 363.5 kB / 0.965 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.794, allocations: 305.1 kB / 0.9653 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/1.796, allocations: 0.9097 MB / 0.9662 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/1.798, allocations: 1.258 MB / 0.9674 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/1.803, allocations: 2.317 MB / 0.9697 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/1.803, allocations: 4 kB / 0.9697 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006002/1.809, allocations: 2.606 MB / 0.9722 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/1.809, allocations: 37.69 kB / 0.9723 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.809, allocations: 8 kB / 0.9723 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-05/1.809, allocations: 16 kB / 0.9723 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/1.811, allocations: 463.3 kB / 0.9727 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.069e-05/1.811, allocations: 23.94 kB / 0.9728 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/1.814, allocations: 190 kB / 0.973 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/1.814, allocations: 75.98 kB / 0.973 GB, free: 3.219 MB / 0.6856 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.002158/1.816, allocations: 0.6816 MB / 0.9737 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.818, allocations: 217.4 kB / 0.9739 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/1.824, allocations: 2.526 MB / 0.9764 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/1.824, allocations: 24 kB / 0.9764 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.824, allocations: 4 kB / 0.9764 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004404/1.828, allocations: 2.335 MB / 0.9787 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.842, allocations: 5.599 MB / 0.9841 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.843, allocations: 0 / 0.9841 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.845, allocations: 479.7 kB / 0.9846 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-05/1.845, allocations: 11.94 kB / 0.9846 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/1.845, allocations: 55.97 kB / 0.9847 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.729e-05/1.845, allocations: 8 kB / 0.9847 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.845, allocations: 7.938 kB / 0.9847 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008279/1.854, allocations: 3.807 MB / 0.9884 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.856, allocations: 0.541 MB / 0.9889 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008364/1.857, allocations: 48 kB / 0.989 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.859, allocations: 61.84 kB / 0.989 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/1.859, allocations: 145.8 kB / 0.9892 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.86, allocations: 67.97 kB / 0.9892 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002648/1.862, allocations: 0.9945 MB / 0.9902 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.91e-07/1.862, allocations: 0 / 0.9902 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004841/1.867, allocations: 0.9389 MB / 0.9911 GB, free: 424 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.00139/1.868, allocations: 385.1 kB / 0.9915 GB, free: 44 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.879, allocations: 3.884 MB / 0.9953 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.879, allocations: 0 / 0.9953 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00303/1.882, allocations: 1.23 MB / 0.9965 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008972/1.891, allocations: 1.29 MB / 0.9977 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.906, allocations: 5.832 MB / 1.003 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.909, allocations: 1.968 MB / 1.005 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004457/1.914, allocations: 0.7249 MB / 1.006 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.915, allocations: 191.4 kB / 1.006 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.715e-06/1.915, allocations: 3.938 kB / 1.006 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of Templates: time 0.3624/2.277, allocations: 47.32 MB / 1.052 GB, free: 317.7 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)