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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008912/0.0008913, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005018, allocations: 20.86 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6606/0.8702, allocations: 238.6 MB / 1.02 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02557/0.8958, allocations: 21.13 MB / 1.041 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.8985, allocations: 57.31 kB / 1.041 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.9025, allocations: 1.54 MB / 1.042 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.9161, allocations: 4.452 MB / 1.047 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/0.9214, allocations: 2.158 MB / 1.049 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005461/0.9269, allocations: 4.133 MB / 1.053 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.9303, allocations: 2.288 MB / 1.055 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.9347, allocations: 2.224 MB / 1.057 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.9367, allocations: 1.744 MB / 1.059 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.937, allocations: 168 kB / 1.059 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.9424, allocations: 2.395 MB / 1.061 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009827/0.9434, allocations: 1.165 MB / 1.063 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006931/0.9441, allocations: 0.6759 MB / 1.063 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.948, allocations: 4.189 MB / 1.067 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.948, allocations: 0 / 1.067 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.948, allocations: 0 / 1.067 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.822e-05/0.948, allocations: 4 kB / 1.067 GB, free: 9.297 MB / 0.7794 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.007528/0.9556, allocations: 3.379 MB / 1.071 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.9556, allocations: 8.031 kB / 1.071 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.9606, allocations: 0.8586 MB / 1.071 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.9637, allocations: 1.749 MB / 1.073 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.9639, allocations: 217.4 kB / 1.073 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.9642, allocations: 279.9 kB / 1.074 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005158/0.9694, allocations: 3.554 MB / 1.077 GB, free: 15 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.9695, allocations: 7.938 kB / 1.077 GB, free: 14.99 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.9697, allocations: 124 kB / 1.077 GB, free: 14.87 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.9699, allocations: 141.3 kB / 1.077 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005117/0.975, allocations: 3.28 MB / 1.081 GB, free: 11.44 MB / 0.795 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.01367/0.9887, allocations: 14.16 MB / 1.094 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.9921, allocations: 2.563 MB / 1.097 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.9932, allocations: 1.295 MB / 1.098 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.995, allocations: 1.234 MB / 1.099 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=216): time 4.338e-06/0.995, allocations: 3.938 kB / 1.099 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216): time 0.005229/1, allocations: 3.195 MB / 1.103 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1, allocations: 77.41 kB / 1.103 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/1.002, allocations: 1.424 MB / 1.104 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/1.002, allocations: 69.7 kB / 1.104 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/1.003, allocations: 1.103 MB / 1.105 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/1.003, allocations: 0.7431 MB / 1.106 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.003, allocations: 40 kB / 1.106 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.004, allocations: 394 kB / 1.106 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.005, allocations: 0.9136 MB / 1.107 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/1.007, allocations: 1.291 MB / 1.108 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/1.008, allocations: 1.132 MB / 1.11 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.008, allocations: 3.938 kB / 1.11 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003836/1.012, allocations: 2.609 MB / 1.112 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/1.012, allocations: 37.69 kB / 1.112 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.012, allocations: 8 kB / 1.112 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.012, allocations: 20 kB / 1.112 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.014, allocations: 483.8 kB / 1.113 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/1.014, allocations: 19.94 kB / 1.113 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.017, allocations: 367.5 kB / 1.113 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.017, allocations: 79.98 kB / 1.113 GB, free: 8.395 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009564/1.018, allocations: 0.6768 MB / 1.114 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/1.018, allocations: 221.5 kB / 1.114 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/1.022, allocations: 2.55 MB / 1.116 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/1.022, allocations: 24 kB / 1.116 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.022, allocations: 3.953 kB / 1.116 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003233/1.025, allocations: 2.339 MB / 1.119 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008297/1.034, allocations: 5.63 MB / 1.124 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.034, allocations: 8.031 kB / 1.124 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.036, allocations: 495.4 kB / 1.125 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.036, allocations: 15.98 kB / 1.125 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/1.036, allocations: 51.98 kB / 1.125 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/1.036, allocations: 15.94 kB / 1.125 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.036, allocations: 4 kB / 1.125 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/1.042, allocations: 4.167 MB / 1.129 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.043, allocations: 0.5449 MB / 1.129 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/1.043, allocations: 44 kB / 1.129 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.045, allocations: 251.4 kB / 1.13 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.045, allocations: 149.8 kB / 1.13 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.045, allocations: 67.97 kB / 1.13 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001163/1.046, allocations: 0.9821 MB / 1.131 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/1.046, allocations: 0 / 1.131 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001863/1.048, allocations: 0.9429 MB / 1.132 GB, free: 4.898 MB / 0.8419 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00072/1.049, allocations: 409.3 kB / 1.132 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003285/1.052, allocations: 2.352 MB / 1.134 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.052, allocations: 1.375 kB / 1.134 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.054, allocations: 1.238 MB / 1.136 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/1.058, allocations: 1.199 MB / 1.137 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/1.067, allocations: 7.014 MB / 1.144 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.068, allocations: 2.026 MB / 1.146 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002239/1.07, allocations: 0.7251 MB / 1.146 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/1.071, allocations: 203.4 kB / 1.147 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/1.071, allocations: 0 / 1.147 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of Templates: time 0.06135/1.132, allocations: 44.77 MB / 1.19 GB, free: 9.41 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: