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.00132/0.00132, 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.0012/0.0012, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 57.5 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3648, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.15/1.515, allocations: 294.3 MB / 1.356 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03041/1.546, allocations: 23.04 MB / 1.378 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/1.551, allocations: 79.84 kB / 1.378 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006253/1.558, allocations: 1.799 MB / 1.38 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01917/1.577, allocations: 6.12 MB / 1.386 GB, free: 13 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009877/1.587, allocations: 2.884 MB / 1.389 GB, free: 11.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01182/1.599, allocations: 7.297 MB / 1.396 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0054/1.604, allocations: 2.979 MB / 1.399 GB, free: 6.305 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009013/1.613, allocations: 2.871 MB / 1.401 GB, free: 4.766 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006404/1.619, allocations: 2.718 MB / 1.404 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001829/1.621, allocations: 340.8 kB / 1.404 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/1.638, allocations: 5.976 MB / 1.41 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00342/1.641, allocations: 1.471 MB / 1.412 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006076/1.647, allocations: 1.9 MB / 1.414 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02137/1.669, allocations: 6.88 MB / 1.42 GB, free: 9.363 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/1.669, allocations: 3.938 kB / 1.42 GB, free: 9.359 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/1.669, allocations: 0 / 1.42 GB, free: 9.359 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002179/1.669, allocations: 0 / 1.42 GB, free: 9.359 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.01433/1.683, allocations: 4.1 MB / 1.424 GB, free: 5.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.684, allocations: 8.031 kB / 1.424 GB, free: 5.832 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00594/1.689, allocations: 0.8429 MB / 1.425 GB, free: 4.984 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/1.694, allocations: 1.79 MB / 1.427 GB, free: 3.137 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/1.694, allocations: 205.4 kB / 1.427 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/1.695, allocations: 275.9 kB / 1.427 GB, free: 2.664 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006575/1.701, allocations: 3.597 MB / 1.431 GB, free: 14.94 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/1.701, allocations: 7.938 kB / 1.431 GB, free: 14.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/1.702, allocations: 119.9 kB / 1.431 GB, free: 14.81 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/1.702, allocations: 145.3 kB / 1.431 GB, free: 14.67 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00585/1.708, allocations: 3.288 MB / 1.434 GB, free: 11.37 MB / 1.045 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.01878/1.726, allocations: 14.3 MB / 1.448 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/1.73, allocations: 2.48 MB / 1.451 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.732, allocations: 1.352 MB / 1.452 GB, free: 7.926 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/1.733, allocations: 1.375 MB / 1.453 GB, free: 6.254 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/1.735, allocations: 1.224 MB / 1.455 GB, free: 5.023 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 5.23e-06/1.735, allocations: 4 kB / 1.455 GB, free: 5.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.005904/1.741, allocations: 3.168 MB / 1.458 GB, free: 1.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/1.742, allocations: 77.34 kB / 1.458 GB, free: 1.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.744, allocations: 1.456 MB / 1.459 GB, free: 304 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.744, allocations: 65.7 kB / 1.459 GB, free: 232 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.745, allocations: 1.123 MB / 1.46 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/1.746, allocations: 0.7354 MB / 1.461 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/1.746, allocations: 355.5 kB / 1.461 GB, free: 13.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.746, allocations: 301.1 kB / 1.462 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/1.748, allocations: 0.9136 MB / 1.463 GB, free: 12.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/1.75, allocations: 1.258 MB / 1.464 GB, free: 11.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/1.753, allocations: 2.321 MB / 1.466 GB, free: 8.965 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/1.753, allocations: 4 kB / 1.466 GB, free: 8.961 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00464/1.758, allocations: 2.605 MB / 1.469 GB, free: 6.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/1.758, allocations: 33.7 kB / 1.469 GB, free: 6.301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/1.758, allocations: 8 kB / 1.469 GB, free: 6.293 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.081e-05/1.758, allocations: 23.92 kB / 1.469 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/1.76, allocations: 463.9 kB / 1.469 GB, free: 5.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.268e-05/1.76, allocations: 27.92 kB / 1.469 GB, free: 5.789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.763, allocations: 190 kB / 1.469 GB, free: 5.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/1.763, allocations: 75.98 kB / 1.469 GB, free: 5.527 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.001632/1.764, allocations: 0.6768 MB / 1.47 GB, free: 4.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00084/1.765, allocations: 213.5 kB / 1.47 GB, free: 4.629 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/1.77, allocations: 2.53 MB / 1.473 GB, free: 2.082 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.77, allocations: 20 kB / 1.473 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.77, allocations: 0 / 1.473 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003666/1.774, allocations: 2.343 MB / 1.475 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/1.785, allocations: 5.599 MB / 1.481 GB, free: 9.941 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.785, allocations: 4 kB / 1.481 GB, free: 9.938 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.788, allocations: 479.6 kB / 1.481 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-05/1.788, allocations: 8 kB / 1.481 GB, free: 9.461 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.788, allocations: 55.98 kB / 1.481 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.782e-05/1.788, allocations: 11.98 kB / 1.481 GB, free: 9.395 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.788, allocations: 7.938 kB / 1.481 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006652/1.795, allocations: 3.792 MB / 1.485 GB, free: 5.547 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.796, allocations: 0.541 MB / 1.485 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007303/1.797, allocations: 47.98 kB / 1.485 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.799, allocations: 62.84 kB / 1.485 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/1.8, allocations: 157.7 kB / 1.486 GB, free: 4.727 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.8, allocations: 67.97 kB / 1.486 GB, free: 4.66 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002014/1.802, allocations: 0.9945 MB / 1.487 GB, free: 3.672 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.802, allocations: 0 / 1.487 GB, free: 3.672 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003587/1.806, allocations: 0.9312 MB / 1.488 GB, free: 2.738 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.001083/1.807, allocations: 396.6 kB / 1.488 GB, free: 2.352 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009159/1.816, allocations: 3.88 MB / 1.492 GB, free: 14.46 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.816, allocations: 0 / 1.492 GB, free: 14.46 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002298/1.818, allocations: 1.221 MB / 1.493 GB, free: 13.24 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007895/1.826, allocations: 1.295 MB / 1.494 GB, free: 11.97 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.839, allocations: 5.836 MB / 1.5 GB, free: 6.07 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/1.841, allocations: 1.975 MB / 1.502 GB, free: 4.059 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004034/1.846, allocations: 0.721 MB / 1.502 GB, free: 3.336 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.847, allocations: 199.4 kB / 1.503 GB, free: 3.141 MB / 1.107 GB Notification: Performance of SimCode: time 1.092e-06/1.847, allocations: 0 / 1.503 GB, free: 3.141 MB / 1.107 GB Notification: Performance of Templates: time 0.08876/1.935, allocations: 47.35 MB / 1.549 GB, free: 4.328 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)