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.001188/0.001188, allocations: 107.7 kB / 16.27 MB, free: 5.961 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.001106/0.001106, allocations: 191.3 kB / 17.19 MB, free: 5.602 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.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.823/1.823, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001767/0.001768, allocations: 75.17 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7992/1.082, allocations: 294.2 MB / 1.071 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03846/1.121, allocations: 22.93 MB / 1.094 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00503/1.126, allocations: 75.62 kB / 1.094 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006334/1.132, allocations: 1.783 MB / 1.096 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01997/1.152, allocations: 6.057 MB / 1.101 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01038/1.163, allocations: 2.92 MB / 1.104 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01312/1.176, allocations: 7.28 MB / 1.111 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006843/1.183, allocations: 2.97 MB / 1.114 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009313/1.192, allocations: 2.873 MB / 1.117 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006133/1.198, allocations: 2.712 MB / 1.12 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001772/1.2, allocations: 340 kB / 1.12 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/1.216, allocations: 5.993 MB / 1.126 GB, free: 11.89 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003206/1.219, allocations: 1.457 MB / 1.127 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006719/1.226, allocations: 1.902 MB / 1.129 GB, free: 8.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02105/1.247, allocations: 6.892 MB / 1.136 GB, free: 1.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.247, allocations: 0 / 1.136 GB, free: 1.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.807e-06/1.247, allocations: 0 / 1.136 GB, free: 1.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002731/1.248, allocations: 0 / 1.136 GB, free: 1.609 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.5311/1.779, allocations: 4.086 MB / 1.14 GB, free: 307.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.779, allocations: 10.5 kB / 1.14 GB, free: 307.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/1.785, allocations: 0.8328 MB / 1.141 GB, free: 307.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004607/1.789, allocations: 1.779 MB / 1.142 GB, free: 307.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/1.789, allocations: 210.6 kB / 1.143 GB, free: 307.1 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/1.79, allocations: 281 kB / 1.143 GB, free: 307.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006911/1.797, allocations: 3.592 MB / 1.146 GB, free: 306.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/1.797, allocations: 9.688 kB / 1.146 GB, free: 306.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/1.797, allocations: 117.6 kB / 1.147 GB, free: 306.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/1.798, allocations: 142.9 kB / 1.147 GB, free: 306.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008295/1.806, allocations: 3.28 MB / 1.15 GB, free: 305.1 MB / 0.92 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.02305/1.829, allocations: 14.28 MB / 1.164 GB, free: 294.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/1.833, allocations: 2.536 MB / 1.166 GB, free: 293.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/1.836, allocations: 1.354 MB / 1.168 GB, free: 292.9 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/1.837, allocations: 1.375 MB / 1.169 GB, free: 291.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002382/1.839, allocations: 1.218 MB / 1.17 GB, free: 291 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 5.5e-06/1.839, allocations: 5.188 kB / 1.17 GB, free: 291 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.006782/1.846, allocations: 3.164 MB / 1.173 GB, free: 289.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/1.846, allocations: 75.62 kB / 1.173 GB, free: 289.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.849, allocations: 1.439 MB / 1.175 GB, free: 289.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002795/1.849, allocations: 71.92 kB / 1.175 GB, free: 289.1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.85, allocations: 1.106 MB / 1.176 GB, free: 288.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/1.851, allocations: 0.7333 MB / 1.177 GB, free: 287.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007021/1.852, allocations: 358.5 kB / 1.177 GB, free: 287.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/1.852, allocations: 306.2 kB / 1.177 GB, free: 287.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/1.854, allocations: 0.91 MB / 1.178 GB, free: 286.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/1.856, allocations: 1.267 MB / 1.179 GB, free: 286.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.86, allocations: 2.318 MB / 1.182 GB, free: 285 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.86, allocations: 2.781 kB / 1.182 GB, free: 285 MB / 0.92 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005413/1.865, allocations: 2.592 MB / 1.184 GB, free: 284 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.865, allocations: 38.97 kB / 1.184 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.865, allocations: 14.84 kB / 1.184 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.328e-05/1.865, allocations: 16.97 kB / 1.184 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/1.867, allocations: 461.8 kB / 1.185 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/1.867, allocations: 21.06 kB / 1.185 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/1.87, allocations: 188.1 kB / 1.185 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/1.87, allocations: 81.61 kB / 1.185 GB, free: 283.9 MB / 0.92 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.001643/1.872, allocations: 0.6795 MB / 1.186 GB, free: 283.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/1.873, allocations: 214.5 kB / 1.186 GB, free: 283.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.878, allocations: 2.52 MB / 1.188 GB, free: 282.4 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.878, allocations: 21.06 kB / 1.188 GB, free: 282.4 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.878, allocations: 0 / 1.188 GB, free: 282.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003711/1.881, allocations: 2.322 MB / 1.191 GB, free: 281.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.893, allocations: 5.586 MB / 1.196 GB, free: 278.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.893, allocations: 2.75 kB / 1.196 GB, free: 278.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/1.896, allocations: 483.1 kB / 1.197 GB, free: 278.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/1.896, allocations: 11.39 kB / 1.197 GB, free: 278.9 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.896, allocations: 57.06 kB / 1.197 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/1.896, allocations: 18.62 kB / 1.197 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.896, allocations: 5.312 kB / 1.197 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/1.902, allocations: 3.988 MB / 1.2 GB, free: 277.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.904, allocations: 0.5398 MB / 1.201 GB, free: 276.8 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/1.904, allocations: 41.97 kB / 1.201 GB, free: 276.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.906, allocations: 65.81 kB / 1.201 GB, free: 276.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.906, allocations: 144.1 kB / 1.201 GB, free: 276.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.906, allocations: 72.22 kB / 1.201 GB, free: 276.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001611/1.908, allocations: 0.987 MB / 1.202 GB, free: 276.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/1.908, allocations: 0 / 1.202 GB, free: 276.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002982/1.911, allocations: 0.9359 MB / 1.203 GB, free: 276.1 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.0008732/1.912, allocations: 385.6 kB / 1.204 GB, free: 276 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008945/1.921, allocations: 3.881 MB / 1.207 GB, free: 275 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.921, allocations: 2.625 kB / 1.207 GB, free: 275 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.923, allocations: 1.216 MB / 1.209 GB, free: 274.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006639/1.929, allocations: 1.3 MB / 1.21 GB, free: 274 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.94, allocations: 5.983 MB / 1.216 GB, free: 270.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.941, allocations: 1.973 MB / 1.218 GB, free: 269.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.942, allocations: 212.7 kB / 1.218 GB, free: 269.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.022e-06/1.942, allocations: 0 / 1.218 GB, free: 269.1 MB / 0.92 GB Notification: Performance of Templates: time 0.05795/2, allocations: 41.7 MB / 1.259 GB, free: 227.7 MB / 0.92 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)