Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 197.3 kB / 376.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 0.6354 GB, free: 9.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 95.86 kB / 0.748 GB, free: 61.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 47.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2692, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7663/1.036, allocations: 292 MB / 1.267 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0326/1.068, allocations: 23.15 MB / 1.29 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/1.072, allocations: 65.81 kB / 1.29 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005244/1.078, allocations: 1.558 MB / 1.292 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01829/1.096, allocations: 5.713 MB / 1.297 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009862/1.106, allocations: 2.657 MB / 1.3 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01322/1.119, allocations: 10.74 MB / 1.31 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004628/1.124, allocations: 2.517 MB / 1.313 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009749/1.134, allocations: 2.551 MB / 1.315 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005562/1.139, allocations: 2.818 MB / 1.318 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/1.14, allocations: 204 kB / 1.318 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01424/1.155, allocations: 6.904 MB / 1.325 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002843/1.157, allocations: 1.34 MB / 1.326 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004847/1.162, allocations: 1.761 MB / 1.328 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01584/1.178, allocations: 7.183 MB / 1.335 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.178, allocations: 0 / 1.335 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.704e-06/1.178, allocations: 0 / 1.335 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001911/1.178, allocations: 0 / 1.335 GB, free: 10.29 MB / 0.9011 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.01203/1.19, allocations: 4.089 MB / 1.339 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.19, allocations: 12.03 kB / 1.339 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/1.197, allocations: 0.8391 MB / 1.34 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/1.201, allocations: 1.775 MB / 1.341 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/1.201, allocations: 209.4 kB / 1.342 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006629/1.201, allocations: 287.9 kB / 1.342 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/1.207, allocations: 3.581 MB / 1.345 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/1.207, allocations: 7.938 kB / 1.345 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/1.208, allocations: 116 kB / 1.346 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/1.208, allocations: 145.3 kB / 1.346 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005465/1.213, allocations: 3.284 MB / 1.349 GB, free: 11.69 MB / 0.9167 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.01782/1.231, allocations: 14.12 MB / 1.363 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/1.235, allocations: 2.549 MB / 1.365 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/1.237, allocations: 1.356 MB / 1.367 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.238, allocations: 1.375 MB / 1.368 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/1.24, allocations: 1.225 MB / 1.369 GB, free: 5.461 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=213): time 4.85e-06/1.24, allocations: 0 / 1.369 GB, free: 5.461 MB / 0.9323 GB Notification: Performance of matching and sorting (n=213): time 0.005561/1.245, allocations: 3.152 MB / 1.372 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.245, allocations: 77.41 kB / 1.372 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.247, allocations: 1.444 MB / 1.374 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/1.247, allocations: 69.7 kB / 1.374 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.5202/1.767, allocations: 1.1 MB / 1.375 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.769, allocations: 0.7338 MB / 1.375 GB, free: 282.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006335/1.769, allocations: 361.9 kB / 1.376 GB, free: 282.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/1.769, allocations: 304.9 kB / 1.376 GB, free: 282 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.771, allocations: 0.9083 MB / 1.377 GB, free: 282 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/1.773, allocations: 1.27 MB / 1.378 GB, free: 281.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/1.776, allocations: 2.317 MB / 1.381 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.776, allocations: 5.062 kB / 1.381 GB, free: 281.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004554/1.78, allocations: 2.591 MB / 1.383 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/1.781, allocations: 36.61 kB / 1.383 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.781, allocations: 8.656 kB / 1.383 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.551e-05/1.781, allocations: 22.55 kB / 1.383 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/1.783, allocations: 462 kB / 1.384 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.852e-05/1.783, allocations: 21.11 kB / 1.384 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.786, allocations: 358.4 kB / 1.384 GB, free: 281 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.786, allocations: 76.67 kB / 1.384 GB, free: 281 MB / 0.9323 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.001445/1.787, allocations: 0.681 MB / 1.385 GB, free: 280.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007147/1.788, allocations: 213.4 kB / 1.385 GB, free: 280.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/1.793, allocations: 2.518 MB / 1.387 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/1.793, allocations: 26.2 kB / 1.387 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/1.793, allocations: 0 / 1.387 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003414/1.797, allocations: 2.317 MB / 1.39 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.808, allocations: 5.581 MB / 1.395 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.808, allocations: 2.062 kB / 1.395 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/1.81, allocations: 489.4 kB / 1.396 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/1.81, allocations: 9.188 kB / 1.396 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.81, allocations: 58.95 kB / 1.396 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.607e-05/1.81, allocations: 11.17 kB / 1.396 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.81, allocations: 5.25 kB / 1.396 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0398/1.85, allocations: 20.68 MB / 1.416 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.851, allocations: 0.5373 MB / 1.416 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/1.851, allocations: 44.03 kB / 1.416 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/1.853, allocations: 241 kB / 1.417 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/1.854, allocations: 155.6 kB / 1.417 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.854, allocations: 75.11 kB / 1.417 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001304/1.855, allocations: 0.9788 MB / 1.418 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.855, allocations: 0 / 1.418 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006909/1.862, allocations: 1.457 MB / 1.419 GB, free: 266.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.001055/1.863, allocations: 414.3 kB / 1.42 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003556/1.867, allocations: 2.338 MB / 1.422 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.867, allocations: 0 / 1.422 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/1.868, allocations: 1.225 MB / 1.423 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/1.874, allocations: 1.225 MB / 1.424 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.884, allocations: 8.142 MB / 1.432 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.885, allocations: 2.029 MB / 1.434 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003555/1.889, allocations: 0.772 MB / 1.435 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/1.89, allocations: 206.3 kB / 1.435 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/1.89, allocations: 5.594 kB / 1.435 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.0926/1.982, allocations: 54.06 MB / 1.488 GB, free: 249.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)