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.001467/0.001467, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 194.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.763/1.763, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00163/0.00163, allocations: 73.7 kB / 0.6722 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2385, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7289/0.9675, allocations: 294.2 MB / 1.071 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03382/1.001, allocations: 22.93 MB / 1.094 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004574/1.006, allocations: 75.62 kB / 1.094 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005912/1.012, allocations: 1.787 MB / 1.096 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/1.028, allocations: 6.056 MB / 1.102 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008698/1.037, allocations: 2.942 MB / 1.104 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0102/1.047, allocations: 7.281 MB / 1.112 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005037/1.052, allocations: 2.977 MB / 1.114 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00703/1.059, allocations: 2.872 MB / 1.117 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/1.064, allocations: 2.711 MB / 1.12 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001264/1.066, allocations: 340 kB / 1.12 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/1.078, allocations: 5.99 MB / 1.126 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002276/1.081, allocations: 1.465 MB / 1.127 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004076/1.085, allocations: 1.906 MB / 1.129 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/1.099, allocations: 6.935 MB / 1.136 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.099, allocations: 0 / 1.136 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/1.099, allocations: 4 kB / 1.136 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002193/1.099, allocations: 0 / 1.136 GB, free: 14.19 MB / 0.8575 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.01197/1.111, allocations: 4.088 MB / 1.14 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.111, allocations: 11.97 kB / 1.14 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/1.117, allocations: 0.8391 MB / 1.141 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/1.122, allocations: 1.833 MB / 1.143 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/1.122, allocations: 213.4 kB / 1.143 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007826/1.123, allocations: 287.8 kB / 1.143 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/1.131, allocations: 3.601 MB / 1.147 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/1.131, allocations: 7.938 kB / 1.147 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/1.131, allocations: 112 kB / 1.147 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.131, allocations: 153.2 kB / 1.147 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006827/1.138, allocations: 3.28 MB / 1.15 GB, free: 15.5 MB / 0.8731 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.01721/1.155, allocations: 14.18 MB / 1.164 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/1.159, allocations: 2.534 MB / 1.167 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.161, allocations: 1.36 MB / 1.168 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.162, allocations: 1.378 MB / 1.169 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001866/1.164, allocations: 1.218 MB / 1.17 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 3.907e-06/1.164, allocations: 0 / 1.17 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.005542/1.17, allocations: 3.16 MB / 1.173 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.17, allocations: 81.34 kB / 1.174 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.171, allocations: 1.436 MB / 1.175 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/1.172, allocations: 69.7 kB / 1.175 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008272/1.172, allocations: 1.107 MB / 1.176 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/1.173, allocations: 0.7354 MB / 1.177 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000542/1.174, allocations: 363.5 kB / 1.177 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.174, allocations: 309.1 kB / 1.177 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.175, allocations: 0.9019 MB / 1.178 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/1.177, allocations: 1.273 MB / 1.18 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/1.18, allocations: 2.317 MB / 1.182 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.18, allocations: 0 / 1.182 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004356/1.185, allocations: 2.59 MB / 1.184 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/1.185, allocations: 37.7 kB / 1.184 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.185, allocations: 8 kB / 1.184 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/1.185, allocations: 16 kB / 1.184 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.187, allocations: 471.8 kB / 1.185 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-05/1.187, allocations: 19.94 kB / 1.185 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.189, allocations: 184.6 kB / 1.185 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.189, allocations: 83.92 kB / 1.185 GB, free: 9.766 MB / 0.9044 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.001141/1.19, allocations: 0.6814 MB / 1.186 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/1.19, allocations: 217.5 kB / 1.186 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/1.195, allocations: 2.514 MB / 1.188 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.195, allocations: 20 kB / 1.188 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.195, allocations: 0 / 1.188 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003314/1.198, allocations: 2.327 MB / 1.191 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/1.207, allocations: 5.58 MB / 1.196 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.207, allocations: 0 / 1.196 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.209, allocations: 491.6 kB / 1.197 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.11e-05/1.209, allocations: 15.94 kB / 1.197 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/1.21, allocations: 55.98 kB / 1.197 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/1.21, allocations: 15.92 kB / 1.197 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.21, allocations: 4 kB / 1.197 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/1.216, allocations: 3.981 MB / 1.201 GB, free: 9.625 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.217, allocations: 0.5371 MB / 1.201 GB, free: 9.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/1.217, allocations: 47.98 kB / 1.201 GB, free: 9.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.219, allocations: 59.97 kB / 1.201 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.219, allocations: 149.7 kB / 1.201 GB, free: 8.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.219, allocations: 71.97 kB / 1.201 GB, free: 8.742 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001462/1.221, allocations: 0.9822 MB / 1.202 GB, free: 7.766 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.221, allocations: 0 / 1.202 GB, free: 7.766 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002248/1.223, allocations: 0.9389 MB / 1.203 GB, free: 6.824 MB / 0.92 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.000831/1.224, allocations: 379.9 kB / 1.204 GB, free: 6.453 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003968/1.228, allocations: 2.341 MB / 1.206 GB, free: 4.102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.228, allocations: 4 kB / 1.206 GB, free: 4.098 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.23, allocations: 1.226 MB / 1.207 GB, free: 2.871 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/1.236, allocations: 1.285 MB / 1.208 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009285/1.245, allocations: 5.741 MB / 1.214 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/1.247, allocations: 1.967 MB / 1.216 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002804/1.25, allocations: 0.717 MB / 1.217 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/1.251, allocations: 191.4 kB / 1.217 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/1.251, allocations: 0 / 1.217 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of Templates: time 0.07612/1.327, allocations: 47.65 MB / 1.263 GB, free: 9.812 MB / 0.9825 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)