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.001685/0.001685, 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.002185/0.002185, allocations: 193 kB / 16.13 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.25 kB / 0.9113 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4369, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.15/1.587, allocations: 292.1 MB / 1.353 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03332/1.62, allocations: 23.25 MB / 1.375 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006661/1.627, allocations: 68.12 kB / 1.376 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00679/1.634, allocations: 1.555 MB / 1.377 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02062/1.655, allocations: 5.784 MB / 1.383 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009744/1.664, allocations: 2.628 MB / 1.385 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01509/1.679, allocations: 10.73 MB / 1.396 GB, free: 8.801 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00476/1.684, allocations: 2.519 MB / 1.398 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009469/1.694, allocations: 2.533 MB / 1.401 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007774/1.702, allocations: 2.822 MB / 1.403 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001348/1.703, allocations: 204.9 kB / 1.404 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0181/1.721, allocations: 6.9 MB / 1.41 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003313/1.724, allocations: 1.333 MB / 1.412 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005079/1.729, allocations: 1.764 MB / 1.413 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01853/1.748, allocations: 7.175 MB / 1.42 GB, free: 8.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/1.748, allocations: 0 / 1.42 GB, free: 8.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/1.748, allocations: 0 / 1.42 GB, free: 8.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001784/1.748, allocations: 0 / 1.42 GB, free: 8.785 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.01312/1.761, allocations: 4.094 MB / 1.424 GB, free: 4.621 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.761, allocations: 12.03 kB / 1.424 GB, free: 4.609 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006244/1.768, allocations: 0.8468 MB / 1.425 GB, free: 3.758 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/1.772, allocations: 1.783 MB / 1.427 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.772, allocations: 205.4 kB / 1.427 GB, free: 1.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005873/1.773, allocations: 283.8 kB / 1.427 GB, free: 1.438 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/1.779, allocations: 3.608 MB / 1.431 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/1.78, allocations: 7.938 kB / 1.431 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/1.78, allocations: 116 kB / 1.431 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/1.78, allocations: 145.2 kB / 1.431 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006199/1.786, allocations: 3.296 MB / 1.434 GB, free: 10.12 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.0194/1.806, allocations: 14.15 MB / 1.448 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003645/1.809, allocations: 2.472 MB / 1.451 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.811, allocations: 1.352 MB / 1.452 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.813, allocations: 1.378 MB / 1.453 GB, free: 5.184 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/1.815, allocations: 1.224 MB / 1.455 GB, free: 3.953 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 4.529e-06/1.815, allocations: 0 / 1.455 GB, free: 3.953 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.006098/1.821, allocations: 3.168 MB / 1.458 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/1.821, allocations: 85.28 kB / 1.458 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/1.823, allocations: 1.449 MB / 1.459 GB, free: 15.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.823, allocations: 69.7 kB / 1.459 GB, free: 15.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/1.824, allocations: 1.119 MB / 1.46 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007653/1.825, allocations: 0.7315 MB / 1.461 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/1.826, allocations: 359.5 kB / 1.461 GB, free: 12.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.826, allocations: 313.1 kB / 1.462 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/1.827, allocations: 0.9097 MB / 1.463 GB, free: 11.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/1.829, allocations: 1.255 MB / 1.464 GB, free: 10.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/1.833, allocations: 2.325 MB / 1.466 GB, free: 7.891 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.833, allocations: 0 / 1.466 GB, free: 7.891 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00474/1.837, allocations: 2.598 MB / 1.469 GB, free: 5.277 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/1.837, allocations: 41.69 kB / 1.469 GB, free: 5.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.837, allocations: 4 kB / 1.469 GB, free: 5.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.206e-05/1.837, allocations: 23.98 kB / 1.469 GB, free: 5.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.839, allocations: 467.3 kB / 1.469 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/1.839, allocations: 23.92 kB / 1.469 GB, free: 4.723 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/1.843, allocations: 393.9 kB / 1.469 GB, free: 4.336 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.843, allocations: 83.92 kB / 1.47 GB, free: 4.254 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.001547/1.844, allocations: 0.6846 MB / 1.47 GB, free: 3.559 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005322/1.845, allocations: 213.5 kB / 1.47 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/1.849, allocations: 2.519 MB / 1.473 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/1.849, allocations: 23.94 kB / 1.473 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.849, allocations: 0 / 1.473 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003497/1.853, allocations: 2.339 MB / 1.475 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009994/1.863, allocations: 5.595 MB / 1.481 GB, free: 8.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.863, allocations: 4 kB / 1.481 GB, free: 8.672 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.865, allocations: 483.6 kB / 1.481 GB, free: 8.199 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/1.865, allocations: 12 kB / 1.481 GB, free: 8.188 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.865, allocations: 59.97 kB / 1.481 GB, free: 8.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/1.866, allocations: 8 kB / 1.481 GB, free: 8.121 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.866, allocations: 8.062 kB / 1.481 GB, free: 8.113 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/1.871, allocations: 3.799 MB / 1.485 GB, free: 4.266 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.873, allocations: 0.5371 MB / 1.485 GB, free: 3.707 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/1.873, allocations: 43.98 kB / 1.485 GB, free: 3.664 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.876, allocations: 245 kB / 1.486 GB, free: 3.426 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/1.876, allocations: 149.7 kB / 1.486 GB, free: 3.281 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.876, allocations: 71.97 kB / 1.486 GB, free: 3.211 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001512/1.878, allocations: 0.9866 MB / 1.487 GB, free: 2.23 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.81e-07/1.878, allocations: 0 / 1.487 GB, free: 2.23 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002703/1.881, allocations: 0.9351 MB / 1.488 GB, free: 1.293 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.0008632/1.881, allocations: 390.1 kB / 1.488 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003872/1.885, allocations: 2.329 MB / 1.49 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.885, allocations: 4.5 kB / 1.49 GB, free: 14.56 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.887, allocations: 1.225 MB / 1.492 GB, free: 13.34 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005732/1.893, allocations: 1.234 MB / 1.493 GB, free: 12.12 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.903, allocations: 7.011 MB / 1.5 GB, free: 5.043 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.905, allocations: 1.979 MB / 1.502 GB, free: 3.027 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003464/1.909, allocations: 0.7251 MB / 1.502 GB, free: 2.297 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/1.909, allocations: 195.4 kB / 1.503 GB, free: 2.105 MB / 1.107 GB Notification: Performance of SimCode: time 2.094e-06/1.909, allocations: 0 / 1.503 GB, free: 2.105 MB / 1.107 GB Notification: Performance of Templates: time 0.08046/1.99, allocations: 45.4 MB / 1.547 GB, free: 5.195 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)