Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001247/0.001247, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001348/0.001348, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 75.31 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3739, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9841/1.358, allocations: 290.9 MB / 1.352 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03195/1.39, allocations: 22.92 MB / 1.374 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005594/1.396, allocations: 66.66 kB / 1.374 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006109/1.402, allocations: 1.608 MB / 1.376 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02032/1.422, allocations: 5.765 MB / 1.381 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/1.432, allocations: 2.655 MB / 1.384 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.444, allocations: 7.308 MB / 1.391 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006002/1.45, allocations: 2.884 MB / 1.394 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009828/1.46, allocations: 2.916 MB / 1.397 GB, free: 8.906 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/1.466, allocations: 2.886 MB / 1.4 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001646/1.468, allocations: 342.6 kB / 1.4 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/1.484, allocations: 6.218 MB / 1.406 GB, free: 3.801 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003052/1.487, allocations: 1.472 MB / 1.407 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005681/1.493, allocations: 1.902 MB / 1.409 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01948/1.512, allocations: 7.287 MB / 1.416 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/1.513, allocations: 2.531 kB / 1.416 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/1.513, allocations: 3.938 kB / 1.416 GB, free: 13.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002542/1.513, allocations: 4 kB / 1.416 GB, free: 13.03 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.01399/1.527, allocations: 4.093 MB / 1.42 GB, free: 10.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.527, allocations: 12.03 kB / 1.42 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/1.533, allocations: 0.8468 MB / 1.421 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/1.537, allocations: 1.786 MB / 1.423 GB, free: 7.305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.537, allocations: 209.4 kB / 1.423 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/1.537, allocations: 276 kB / 1.423 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006034/1.543, allocations: 3.593 MB / 1.427 GB, free: 3.109 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/1.543, allocations: 7.938 kB / 1.427 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/1.543, allocations: 116 kB / 1.427 GB, free: 2.988 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/1.544, allocations: 157.1 kB / 1.427 GB, free: 2.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005354/1.549, allocations: 3.284 MB / 1.43 GB, free: 15.53 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.01789/1.567, allocations: 14.13 MB / 1.444 GB, free: 172 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/1.571, allocations: 2.489 MB / 1.447 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.573, allocations: 1.356 MB / 1.448 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.574, allocations: 1.375 MB / 1.449 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/1.576, allocations: 1.226 MB / 1.451 GB, free: 9.344 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 6.041e-06/1.576, allocations: 0 / 1.451 GB, free: 9.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.006192/1.582, allocations: 3.16 MB / 1.454 GB, free: 6.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/1.582, allocations: 93.27 kB / 1.454 GB, free: 6.074 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.585, allocations: 1.449 MB / 1.455 GB, free: 4.621 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/1.585, allocations: 73.69 kB / 1.455 GB, free: 4.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.586, allocations: 1.119 MB / 1.456 GB, free: 3.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/1.587, allocations: 0.7276 MB / 1.457 GB, free: 2.672 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000553/1.587, allocations: 359.5 kB / 1.457 GB, free: 2.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/1.587, allocations: 305.1 kB / 1.458 GB, free: 2.012 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/1.589, allocations: 0.9175 MB / 1.459 GB, free: 1.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/1.591, allocations: 1.251 MB / 1.46 GB, free: 15.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/1.594, allocations: 2.325 MB / 1.462 GB, free: 13.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/1.594, allocations: 4 kB / 1.462 GB, free: 13.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004297/1.598, allocations: 2.602 MB / 1.465 GB, free: 10.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/1.598, allocations: 33.7 kB / 1.465 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.598, allocations: 8 kB / 1.465 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/1.598, allocations: 20.03 kB / 1.465 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/1.6, allocations: 467.3 kB / 1.465 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/1.6, allocations: 23.88 kB / 1.465 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.603, allocations: 393.8 kB / 1.465 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.603, allocations: 79.98 kB / 1.466 GB, free: 9.652 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.001337/1.605, allocations: 0.6807 MB / 1.466 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/1.605, allocations: 213.5 kB / 1.466 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/1.609, allocations: 2.53 MB / 1.469 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/1.609, allocations: 20 kB / 1.469 GB, free: 6.184 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.609, allocations: 3.938 kB / 1.469 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003256/1.613, allocations: 2.339 MB / 1.471 GB, free: 3.773 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009886/1.622, allocations: 5.599 MB / 1.477 GB, free: 14.06 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.623, allocations: 4 kB / 1.477 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.625, allocations: 471.5 kB / 1.477 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/1.625, allocations: 15.98 kB / 1.477 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/1.625, allocations: 51.98 kB / 1.477 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/1.625, allocations: 15.94 kB / 1.477 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.625, allocations: 0 / 1.477 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/1.631, allocations: 3.803 MB / 1.481 GB, free: 9.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/1.633, allocations: 0.5449 MB / 1.481 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.633, allocations: 44 kB / 1.481 GB, free: 9.043 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.635, allocations: 242.1 kB / 1.482 GB, free: 8.809 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/1.636, allocations: 153.7 kB / 1.482 GB, free: 8.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.636, allocations: 71.97 kB / 1.482 GB, free: 8.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001362/1.637, allocations: 0.9906 MB / 1.483 GB, free: 7.605 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.2e-07/1.637, allocations: 0 / 1.483 GB, free: 7.605 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002416/1.64, allocations: 0.935 MB / 1.484 GB, free: 6.668 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.0007824/1.64, allocations: 389.8 kB / 1.484 GB, free: 6.289 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00793/1.648, allocations: 3.879 MB / 1.488 GB, free: 2.395 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.648, allocations: 9.625 kB / 1.488 GB, free: 2.387 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.65, allocations: 1.222 MB / 1.489 GB, free: 1.168 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/1.656, allocations: 1.281 MB / 1.49 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/1.665, allocations: 7.014 MB / 1.497 GB, free: 8.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.667, allocations: 1.968 MB / 1.499 GB, free: 6.836 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002906/1.67, allocations: 0.7329 MB / 1.5 GB, free: 6.098 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/1.67, allocations: 195.4 kB / 1.5 GB, free: 5.906 MB / 1.107 GB Notification: Performance of SimCode: time 5.21e-07/1.671, allocations: 0 / 1.5 GB, free: 5.906 MB / 1.107 GB Notification: Performance of Templates: time 0.08243/1.753, allocations: 46.98 MB / 1.546 GB, free: 7.457 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)