Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009733/0.009733, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001763/0.001763, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.01128/0.01128, allocations: 287 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 100.1 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2241, allocations: 86.98 MB / 0.7664 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9157/1.14, allocations: 294.2 MB / 1.054 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03533/1.175, allocations: 23.06 MB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005753/1.181, allocations: 75.62 kB / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007607/1.189, allocations: 1.798 MB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02011/1.209, allocations: 6.125 MB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/1.219, allocations: 2.891 MB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0137/1.233, allocations: 7.303 MB / 1.094 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.812/2.045, allocations: 2.975 MB / 1.097 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/2.055, allocations: 2.904 MB / 1.1 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007693/2.063, allocations: 2.708 MB / 1.102 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001621/2.065, allocations: 342 kB / 1.103 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/2.082, allocations: 5.984 MB / 1.109 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004477/2.087, allocations: 1.464 MB / 1.11 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007992/2.095, allocations: 1.905 MB / 1.112 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02145/2.116, allocations: 6.935 MB / 1.119 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/2.116, allocations: 0.6562 kB / 1.119 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.435e-06/2.116, allocations: 0.875 kB / 1.119 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002526/2.116, allocations: 0.5312 kB / 1.119 GB, free: 8.359 MB / 0.8419 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.0178/2.134, allocations: 4.101 MB / 1.123 GB, free: 22.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/2.134, allocations: 9.344 kB / 1.123 GB, free: 22.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006956/2.141, allocations: 0.846 MB / 1.124 GB, free: 22.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/2.147, allocations: 1.855 MB / 1.125 GB, free: 22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/2.147, allocations: 212.2 kB / 1.126 GB, free: 21.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/2.148, allocations: 277.3 kB / 1.126 GB, free: 21.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008055/2.156, allocations: 3.592 MB / 1.129 GB, free: 21.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/2.156, allocations: 14.06 kB / 1.129 GB, free: 21.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/2.157, allocations: 121.4 kB / 1.129 GB, free: 21.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/2.157, allocations: 142.1 kB / 1.13 GB, free: 21.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00654/2.163, allocations: 3.289 MB / 1.133 GB, free: 21.59 MB / 0.8575 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.01929/2.183, allocations: 14.2 MB / 1.147 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/2.186, allocations: 2.489 MB / 1.149 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/2.188, allocations: 1.354 MB / 1.15 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/2.19, allocations: 1.373 MB / 1.152 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/2.192, allocations: 1.228 MB / 1.153 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 5.17e-06/2.192, allocations: 0 / 1.153 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.006758/2.198, allocations: 3.167 MB / 1.156 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/2.199, allocations: 73.5 kB / 1.156 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/2.201, allocations: 1.457 MB / 1.158 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002694/2.202, allocations: 64.77 kB / 1.158 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/2.203, allocations: 1.124 MB / 1.159 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/2.204, allocations: 0.7302 MB / 1.159 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/2.205, allocations: 361 kB / 1.16 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001468/2.205, allocations: 306.1 kB / 1.16 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/2.206, allocations: 0.9164 MB / 1.161 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/2.208, allocations: 1.255 MB / 1.162 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/2.212, allocations: 2.32 MB / 1.164 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/2.212, allocations: 4.469 kB / 1.164 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004855/2.217, allocations: 2.601 MB / 1.167 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/2.217, allocations: 38.16 kB / 1.167 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/2.217, allocations: 8.656 kB / 1.167 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/2.217, allocations: 18.81 kB / 1.167 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/2.219, allocations: 462.7 kB / 1.167 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/2.219, allocations: 20.92 kB / 1.167 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/2.222, allocations: 189 kB / 1.168 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/2.222, allocations: 85.19 kB / 1.168 GB, free: 8.629 MB / 0.8575 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.001633/2.224, allocations: 0.6834 MB / 1.168 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/2.224, allocations: 218.3 kB / 1.169 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/2.229, allocations: 2.532 MB / 1.171 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/2.229, allocations: 18.97 kB / 1.171 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/2.229, allocations: 2.906 kB / 1.171 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00331/2.232, allocations: 2.328 MB / 1.173 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00986/2.242, allocations: 5.598 MB / 1.179 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/2.242, allocations: 3.656 kB / 1.179 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/2.244, allocations: 482.2 kB / 1.179 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/2.244, allocations: 9.469 kB / 1.179 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/2.244, allocations: 59.48 kB / 1.179 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/2.244, allocations: 10.88 kB / 1.179 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.244, allocations: 4.906 kB / 1.179 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/2.25, allocations: 3.804 MB / 1.183 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/2.252, allocations: 0.54 MB / 1.184 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/2.252, allocations: 41.09 kB / 1.184 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/2.254, allocations: 61.88 kB / 1.184 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/2.254, allocations: 153.5 kB / 1.184 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/2.254, allocations: 72.25 kB / 1.184 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001401/2.256, allocations: 0.987 MB / 1.185 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/2.256, allocations: 0 / 1.185 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002815/2.258, allocations: 0.9357 MB / 1.186 GB, free: 6.359 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.0008842/2.259, allocations: 387.3 kB / 1.186 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003793/2.263, allocations: 2.341 MB / 1.188 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.263, allocations: 1.438 kB / 1.188 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/2.265, allocations: 1.229 MB / 1.19 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006193/2.271, allocations: 1.286 MB / 1.191 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/2.281, allocations: 5.778 MB / 1.197 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/2.282, allocations: 1.972 MB / 1.199 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003053/2.285, allocations: 0.72 MB / 1.199 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/2.286, allocations: 193.3 kB / 1.199 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/2.286, allocations: 4 kB / 1.199 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of Templates: time 0.07992/2.366, allocations: 47.82 MB / 1.246 GB, free: 5.492 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)