Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01341/0.01341, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.00195/0.001951, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.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.0015/0.0015, allocations: 71.89 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3083, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.233/1.541, allocations: 295.1 MB / 1.116 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03795/1.579, allocations: 21.04 MB / 1.137 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/1.584, allocations: 75.62 kB / 1.137 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006501/1.591, allocations: 1.829 MB / 1.139 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01922/1.61, allocations: 6.093 MB / 1.145 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01007/1.62, allocations: 3.026 MB / 1.148 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01497/1.635, allocations: 7.998 MB / 1.155 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00699/1.642, allocations: 3.193 MB / 1.158 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/1.652, allocations: 3.091 MB / 1.161 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006739/1.659, allocations: 2.964 MB / 1.164 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/1.66, allocations: 388 kB / 1.165 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/1.676, allocations: 5.787 MB / 1.17 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003525/1.68, allocations: 1.683 MB / 1.172 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004673/1.685, allocations: 2.147 MB / 1.174 GB, free: 9.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0168/1.701, allocations: 7.424 MB / 1.181 GB, free: 2.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.701, allocations: 0 / 1.181 GB, free: 2.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/1.701, allocations: 3.938 kB / 1.181 GB, free: 2.441 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001984/1.702, allocations: 0 / 1.181 GB, free: 2.441 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01325/1.715, allocations: 4.511 MB / 1.186 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.715, allocations: 12.02 kB / 1.186 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/1.721, allocations: 0.8816 MB / 1.187 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/1.725, allocations: 1.991 MB / 1.189 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/1.725, allocations: 238.2 kB / 1.189 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005915/1.726, allocations: 320 kB / 1.189 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007188/1.733, allocations: 4.149 MB / 1.193 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.529e-05/1.733, allocations: 15.84 kB / 1.193 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/1.734, allocations: 128 kB / 1.193 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/1.734, allocations: 166 kB / 1.193 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0078/1.742, allocations: 4.185 MB / 1.198 GB, free: 1.598 MB / 0.9356 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.02244/1.764, allocations: 15.37 MB / 1.213 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005312/1.769, allocations: 3.464 MB / 1.216 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/1.772, allocations: 1.889 MB / 1.218 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/1.774, allocations: 1.592 MB / 1.219 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002898/1.777, allocations: 1.697 MB / 1.221 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=301): time 5.2e-06/1.777, allocations: 0 / 1.221 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=301): time 0.007599/1.785, allocations: 4.359 MB / 1.225 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/1.785, allocations: 89.72 kB / 1.225 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/1.787, allocations: 1.566 MB / 1.227 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/1.787, allocations: 81.7 kB / 1.227 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.788, allocations: 1.148 MB / 1.228 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.789, allocations: 1.032 MB / 1.229 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007461/1.79, allocations: 477.8 kB / 1.23 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.79, allocations: 309.1 kB / 1.23 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/1.792, allocations: 1.262 MB / 1.231 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.795, allocations: 1.663 MB / 1.233 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/1.799, allocations: 3.161 MB / 1.236 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.799, allocations: 0 / 1.236 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005951/1.805, allocations: 3.487 MB / 1.239 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/1.806, allocations: 33.7 kB / 1.239 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.806, allocations: 8 kB / 1.239 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.806, allocations: 20 kB / 1.239 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.808, allocations: 0.5968 MB / 1.24 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/1.808, allocations: 25.78 kB / 1.24 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/1.811, allocations: 244.4 kB / 1.24 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.811, allocations: 107.9 kB / 1.24 GB, free: 3.898 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (351): * Single equations (assignments): 350 * 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.0015/1.813, allocations: 0.7859 MB / 1.241 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/1.813, allocations: 245.1 kB / 1.241 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/1.819, allocations: 3.454 MB / 1.245 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/1.819, allocations: 28 kB / 1.245 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.819, allocations: 4 kB / 1.245 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005051/1.824, allocations: 3.094 MB / 1.248 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.837, allocations: 7.12 MB / 1.255 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.837, allocations: 320 / 1.255 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.839, allocations: 0.6124 MB / 1.255 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/1.839, allocations: 12 kB / 1.255 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.839, allocations: 80.03 kB / 1.255 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/1.84, allocations: 12 kB / 1.255 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.84, allocations: 4 kB / 1.255 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/1.847, allocations: 5.389 MB / 1.261 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.849, allocations: 0.6731 MB / 1.261 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/1.849, allocations: 63.98 kB / 1.261 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.851, allocations: 78.19 kB / 1.261 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/1.851, allocations: 194 kB / 1.262 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.852, allocations: 87.97 kB / 1.262 GB, free: 13.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001415/1.853, allocations: 1.071 MB / 1.263 GB, free: 12.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.853, allocations: 0 / 1.263 GB, free: 12.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002454/1.855, allocations: 1.103 MB / 1.264 GB, free: 11.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,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 (301): * Single equations (assignments): 299 * 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.0008395/1.856, allocations: 418.4 kB / 1.264 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005156/1.861, allocations: 3.208 MB / 1.267 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.861, allocations: 8.312 kB / 1.267 GB, free: 7.672 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/1.864, allocations: 1.691 MB / 1.269 GB, free: 5.977 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006299/1.87, allocations: 1.367 MB / 1.27 GB, free: 4.629 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.881, allocations: 6.809 MB / 1.277 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/1.883, allocations: 2.129 MB / 1.279 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003496/1.886, allocations: 0.9897 MB / 1.28 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/1.887, allocations: 235.4 kB / 1.28 GB, free: 10.37 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/1.887, allocations: 0 / 1.28 GB, free: 10.37 MB / 1.029 GB Notification: Performance of Templates: time 0.5508/2.438, allocations: 54.47 MB / 1.333 GB, free: 387.8 MB / 1.045 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)