Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008171/0.0008172, allocations: 97.8 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.006445/0.006445, 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 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 473.4 MB / 0.7469 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003727, allocations: 12.38 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3656, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9611/1.327, allocations: 288.1 MB / 1.355 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02884/1.356, allocations: 23 MB / 1.378 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005038/1.361, allocations: 64.09 kB / 1.378 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005685/1.366, allocations: 1.55 MB / 1.38 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01752/1.384, allocations: 5.775 MB / 1.385 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009053/1.393, allocations: 2.638 MB / 1.388 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01319/1.406, allocations: 10.72 MB / 1.398 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004863/1.411, allocations: 2.444 MB / 1.401 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/1.419, allocations: 2.432 MB / 1.403 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005807/1.425, allocations: 2.707 MB / 1.406 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/1.426, allocations: 168.5 kB / 1.406 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/1.441, allocations: 6.867 MB / 1.412 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003481/1.445, allocations: 1.277 MB / 1.414 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005666/1.451, allocations: 1.705 MB / 1.415 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01941/1.47, allocations: 7.079 MB / 1.422 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.47, allocations: 3.312 kB / 1.422 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.665e-06/1.47, allocations: 0 / 1.422 GB, free: 13.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002387/1.47, allocations: 0 / 1.422 GB, free: 13.69 MB / 1.029 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.01211/1.483, allocations: 3.482 MB / 1.426 GB, free: 11.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.483, allocations: 8.031 kB / 1.426 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006386/1.489, allocations: 0.8453 MB / 1.427 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/1.494, allocations: 1.792 MB / 1.428 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/1.494, allocations: 204.9 kB / 1.428 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/1.495, allocations: 282.6 kB / 1.429 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008362/1.503, allocations: 3.599 MB / 1.432 GB, free: 4.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.391e-05/1.503, allocations: 11.92 kB / 1.432 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/1.504, allocations: 110.3 kB / 1.432 GB, free: 4.133 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/1.504, allocations: 153.2 kB / 1.433 GB, free: 3.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006035/1.51, allocations: 3.304 MB / 1.436 GB, free: 0.6641 MB / 1.029 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.01698/1.527, allocations: 14.17 MB / 1.45 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/1.531, allocations: 2.489 MB / 1.452 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/1.532, allocations: 1.356 MB / 1.453 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.534, allocations: 1.38 MB / 1.455 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001985/1.536, allocations: 1.233 MB / 1.456 GB, free: 10.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 4.248e-06/1.536, allocations: 0 / 1.456 GB, free: 10.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.00574/1.541, allocations: 3.185 MB / 1.459 GB, free: 7.395 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/1.542, allocations: 85.34 kB / 1.459 GB, free: 7.301 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/1.544, allocations: 1.452 MB / 1.46 GB, free: 5.844 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/1.544, allocations: 65.7 kB / 1.461 GB, free: 5.773 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009555/1.545, allocations: 1.119 MB / 1.462 GB, free: 4.645 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006976/1.545, allocations: 0.7326 MB / 1.462 GB, free: 3.918 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/1.546, allocations: 165.7 kB / 1.463 GB, free: 3.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.546, allocations: 309.1 kB / 1.463 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.547, allocations: 0.9175 MB / 1.464 GB, free: 2.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.549, allocations: 1.258 MB / 1.465 GB, free: 1.141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/1.552, allocations: 2.341 MB / 1.467 GB, free: 14.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.552, allocations: 4 kB / 1.467 GB, free: 14.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004517/1.557, allocations: 2.609 MB / 1.47 GB, free: 12.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/1.557, allocations: 37.69 kB / 1.47 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/1.557, allocations: 8.656 kB / 1.47 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.557, allocations: 16 kB / 1.47 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.559, allocations: 479.3 kB / 1.47 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/1.559, allocations: 19.98 kB / 1.47 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.562, allocations: 401.7 kB / 1.471 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.562, allocations: 79.98 kB / 1.471 GB, free: 11.04 MB / 1.076 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.001489/1.564, allocations: 0.6853 MB / 1.471 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/1.564, allocations: 217.5 kB / 1.472 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/1.569, allocations: 2.538 MB / 1.474 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.569, allocations: 23.94 kB / 1.474 GB, free: 7.551 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.569, allocations: 0 / 1.474 GB, free: 7.551 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003654/1.573, allocations: 2.347 MB / 1.476 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00988/1.583, allocations: 5.619 MB / 1.482 GB, free: 15.46 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.583, allocations: 4 kB / 1.482 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/1.585, allocations: 483.7 kB / 1.482 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/1.585, allocations: 12 kB / 1.482 GB, free: 14.97 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/1.585, allocations: 55.92 kB / 1.482 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/1.585, allocations: 11.98 kB / 1.482 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.585, allocations: 4 kB / 1.482 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/1.591, allocations: 3.823 MB / 1.486 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.593, allocations: 0.5332 MB / 1.487 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.593, allocations: 47.98 kB / 1.487 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.595, allocations: 247.4 kB / 1.487 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/1.595, allocations: 157.7 kB / 1.487 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.595, allocations: 72.03 kB / 1.487 GB, free: 9.961 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001451/1.597, allocations: 0.9906 MB / 1.488 GB, free: 8.977 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.597, allocations: 0 / 1.488 GB, free: 8.977 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00249/1.599, allocations: 0.9273 MB / 1.489 GB, free: 8.047 MB / 1.092 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.0007985/1.6, allocations: 393.1 kB / 1.489 GB, free: 7.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00392/1.604, allocations: 2.341 MB / 1.492 GB, free: 5.328 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.604, allocations: 4.188 kB / 1.492 GB, free: 5.324 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/1.606, allocations: 1.229 MB / 1.493 GB, free: 4.094 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/1.613, allocations: 1.237 MB / 1.494 GB, free: 2.871 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.623, allocations: 7.268 MB / 1.501 GB, free: 11.54 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.625, allocations: 1.979 MB / 1.503 GB, free: 9.527 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003104/1.628, allocations: 0.7173 MB / 1.504 GB, free: 8.805 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/1.629, allocations: 191.4 kB / 1.504 GB, free: 8.617 MB / 1.107 GB Notification: Performance of SimCode: time 9.42e-07/1.629, allocations: 4 kB / 1.504 GB, free: 8.613 MB / 1.107 GB Notification: Performance of Templates: time 0.07891/1.708, allocations: 45.1 MB / 1.548 GB, free: 12.04 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)