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.001378/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00121/0.00121, allocations: 198.6 kB / 16.14 MB, free: 6.656 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 68.83 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4173, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.068/1.486, allocations: 292.1 MB / 1.353 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03311/1.519, allocations: 23.25 MB / 1.375 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006163/1.525, allocations: 68.34 kB / 1.376 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00674/1.532, allocations: 1.564 MB / 1.377 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02256/1.555, allocations: 5.778 MB / 1.383 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01119/1.566, allocations: 2.631 MB / 1.385 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02215/1.588, allocations: 10.73 MB / 1.396 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008967/1.597, allocations: 2.518 MB / 1.398 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01495/1.612, allocations: 2.525 MB / 1.401 GB, free: 6.238 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/1.623, allocations: 2.825 MB / 1.403 GB, free: 4.676 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/1.626, allocations: 202.6 kB / 1.404 GB, free: 4.676 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03242/1.658, allocations: 6.914 MB / 1.41 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004592/1.663, allocations: 1.334 MB / 1.412 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007285/1.67, allocations: 1.753 MB / 1.413 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/1.691, allocations: 7.174 MB / 1.42 GB, free: 8.957 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.691, allocations: 3.938 kB / 1.42 GB, free: 8.953 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.375e-06/1.691, allocations: 0 / 1.42 GB, free: 8.953 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002482/1.691, allocations: 4 kB / 1.42 GB, free: 8.949 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.01505/1.706, allocations: 4.094 MB / 1.424 GB, free: 4.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/1.706, allocations: 16.03 kB / 1.424 GB, free: 4.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00706/1.713, allocations: 0.8468 MB / 1.425 GB, free: 3.918 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005478/1.719, allocations: 1.783 MB / 1.427 GB, free: 2.078 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/1.719, allocations: 209.4 kB / 1.427 GB, free: 1.871 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/1.72, allocations: 279.9 kB / 1.427 GB, free: 1.598 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/1.731, allocations: 3.593 MB / 1.431 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/1.731, allocations: 3.938 kB / 1.431 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006887/1.732, allocations: 116 kB / 1.431 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/1.732, allocations: 149.2 kB / 1.431 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008006/1.74, allocations: 3.292 MB / 1.434 GB, free: 10.3 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.02418/1.764, allocations: 14.14 MB / 1.448 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/1.769, allocations: 2.478 MB / 1.451 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/1.772, allocations: 1.364 MB / 1.452 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.773, allocations: 1.371 MB / 1.453 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002766/1.776, allocations: 1.228 MB / 1.455 GB, free: 4.125 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 6.362e-06/1.776, allocations: 0 / 1.455 GB, free: 4.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.007341/1.783, allocations: 3.156 MB / 1.458 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/1.783, allocations: 89.27 kB / 1.458 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/1.787, allocations: 1.456 MB / 1.459 GB, free: 15.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/1.787, allocations: 69.7 kB / 1.459 GB, free: 15.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/1.788, allocations: 1.115 MB / 1.46 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.789, allocations: 0.7354 MB / 1.461 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007657/1.79, allocations: 355.5 kB / 1.461 GB, free: 13.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.79, allocations: 301.1 kB / 1.462 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.792, allocations: 0.9136 MB / 1.463 GB, free: 11.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/1.794, allocations: 1.255 MB / 1.464 GB, free: 10.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/1.798, allocations: 2.329 MB / 1.466 GB, free: 8.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.798, allocations: 0 / 1.466 GB, free: 8.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00536/1.804, allocations: 2.601 MB / 1.469 GB, free: 5.453 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/1.804, allocations: 34.58 kB / 1.469 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.804, allocations: 8 kB / 1.469 GB, free: 5.406 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.925e-05/1.804, allocations: 20 kB / 1.469 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.806, allocations: 471.2 kB / 1.469 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.926e-05/1.806, allocations: 24.58 kB / 1.469 GB, free: 4.902 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.809, allocations: 393.8 kB / 1.469 GB, free: 4.516 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/1.81, allocations: 83.97 kB / 1.47 GB, free: 4.434 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.001635/1.811, allocations: 0.6807 MB / 1.47 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008406/1.812, allocations: 217.5 kB / 1.47 GB, free: 3.527 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/1.817, allocations: 2.519 MB / 1.473 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.817, allocations: 31.92 kB / 1.473 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.817, allocations: 0 / 1.473 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003893/1.821, allocations: 2.335 MB / 1.475 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.833, allocations: 5.603 MB / 1.481 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.834, allocations: 4 kB / 1.481 GB, free: 8.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.836, allocations: 475.3 kB / 1.481 GB, free: 8.375 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/1.836, allocations: 12 kB / 1.481 GB, free: 8.363 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/1.836, allocations: 52.02 kB / 1.481 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-05/1.836, allocations: 12 kB / 1.481 GB, free: 8.301 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/1.836, allocations: 7.984 kB / 1.481 GB, free: 8.293 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006951/1.843, allocations: 3.807 MB / 1.485 GB, free: 4.438 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.845, allocations: 0.5371 MB / 1.485 GB, free: 3.879 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006566/1.846, allocations: 44 kB / 1.485 GB, free: 3.836 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.849, allocations: 240.8 kB / 1.486 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/1.849, allocations: 157.7 kB / 1.486 GB, free: 3.449 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.849, allocations: 67.98 kB / 1.486 GB, free: 3.383 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00219/1.851, allocations: 0.9905 MB / 1.487 GB, free: 2.398 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.1e-07/1.851, allocations: 0 / 1.487 GB, free: 2.398 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003343/1.855, allocations: 0.9312 MB / 1.488 GB, free: 1.465 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.001074/1.856, allocations: 382 kB / 1.488 GB, free: 1.09 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004847/1.861, allocations: 2.328 MB / 1.49 GB, free: 14.75 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.861, allocations: 0 / 1.49 GB, free: 14.75 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/1.863, allocations: 1.227 MB / 1.492 GB, free: 13.52 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007737/1.871, allocations: 1.235 MB / 1.493 GB, free: 12.3 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/1.885, allocations: 7.028 MB / 1.5 GB, free: 5.211 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003185/1.889, allocations: 1.971 MB / 1.502 GB, free: 3.203 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004598/1.893, allocations: 0.7251 MB / 1.502 GB, free: 2.473 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.895, allocations: 195.4 kB / 1.503 GB, free: 2.281 MB / 1.107 GB Notification: Performance of SimCode: time 1.313e-06/1.895, allocations: 0 / 1.503 GB, free: 2.281 MB / 1.107 GB Notification: Performance of Templates: time 0.09116/1.986, allocations: 45.4 MB / 1.547 GB, free: 5.371 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)