Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1999/0.2026, allocations: 80.84 MB / 0.5899 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7387/0.9414, allocations: 291.3 MB / 0.8743 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02855/0.97, allocations: 20 MB / 0.8938 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005689/0.9757, allocations: 71.56 kB / 0.8939 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007622/0.9834, allocations: 1.707 MB / 0.8956 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01929/1.003, allocations: 5.681 MB / 0.9011 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/1.013, allocations: 2.926 MB / 0.904 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01486/1.028, allocations: 8.392 MB / 0.9122 GB, free: 3.484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00571/1.034, allocations: 3.192 MB / 0.9153 GB, free: 244 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008535/1.043, allocations: 3.294 MB / 0.9185 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007479/1.05, allocations: 3.242 MB / 0.9217 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001874/1.052, allocations: 408 kB / 0.9221 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/1.067, allocations: 5.599 MB / 0.9275 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003766/1.07, allocations: 1.73 MB / 0.9292 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006636/1.077, allocations: 2.186 MB / 0.9313 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01932/1.097, allocations: 7.818 MB / 0.939 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.097, allocations: 0 / 0.939 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.964e-06/1.097, allocations: 0 / 0.939 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002999/1.097, allocations: 4 kB / 0.939 GB, free: 7.906 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01805/1.115, allocations: 4.602 MB / 0.9435 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.115, allocations: 12.03 kB / 0.9435 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006674/1.122, allocations: 0.8464 MB / 0.9443 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005528/1.127, allocations: 1.897 MB / 0.9462 GB, free: 420 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/1.128, allocations: 242.3 kB / 0.9464 GB, free: 176 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/1.129, allocations: 324 kB / 0.9467 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/1.141, allocations: 4.242 MB / 0.9508 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/1.141, allocations: 7.906 kB / 0.9509 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004231/1.142, allocations: 132 kB / 0.951 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/1.142, allocations: 162.2 kB / 0.9511 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00776/1.15, allocations: 4.236 MB / 0.9553 GB, free: 6.965 MB / 0.7169 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.41/1.56, allocations: 16.93 MB / 0.9718 GB, free: 273.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/1.565, allocations: 2.992 MB / 0.9747 GB, free: 273.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/1.567, allocations: 1.876 MB / 0.9766 GB, free: 272.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.569, allocations: 1.332 MB / 0.9779 GB, free: 271.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00315/1.572, allocations: 1.869 MB / 0.9797 GB, free: 270.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=297): time 5.249e-06/1.572, allocations: 2.625 kB / 0.9797 GB, free: 270.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=297): time 0.009208/1.581, allocations: 4.363 MB / 0.9839 GB, free: 269 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.581, allocations: 275.6 kB / 0.9842 GB, free: 268.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/1.584, allocations: 1.559 MB / 0.9857 GB, free: 268.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003596/1.585, allocations: 80.02 kB / 0.9858 GB, free: 268.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.586, allocations: 1.182 MB / 0.987 GB, free: 267.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008889/1.587, allocations: 1.009 MB / 0.9879 GB, free: 266.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008206/1.587, allocations: 0.4966 MB / 0.9884 GB, free: 266.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/1.588, allocations: 306.2 kB / 0.9887 GB, free: 266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.59, allocations: 1.296 MB / 0.99 GB, free: 265.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.592, allocations: 1.794 MB / 0.9917 GB, free: 264.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/1.597, allocations: 3.269 MB / 0.9949 GB, free: 262.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.597, allocations: 3.969 kB / 0.9949 GB, free: 262.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=361) (initialization): time 0.00627/1.603, allocations: 3.623 MB / 0.9985 GB, free: 261.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.603, allocations: 69.03 kB / 0.9985 GB, free: 261.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/1.603, allocations: 7.938 kB / 0.9986 GB, free: 261.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.419e-05/1.603, allocations: 25.03 kB / 0.9986 GB, free: 261.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.606, allocations: 0.6116 MB / 0.9992 GB, free: 261.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.9e-05/1.606, allocations: 31.52 kB / 0.9992 GB, free: 261.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.609, allocations: 440.1 kB / 0.9996 GB, free: 260.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.61, allocations: 102.5 kB / 0.9997 GB, free: 260.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 2 * 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.00153/1.611, allocations: 0.7955 MB / 1 GB, free: 260.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/1.612, allocations: 254.9 kB / 1.001 GB, free: 260.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/1.617, allocations: 3.581 MB / 1.004 GB, free: 258.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.617, allocations: 30.84 kB / 1.004 GB, free: 258.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.617, allocations: 1.375 kB / 1.004 GB, free: 258.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003778/1.62, allocations: 3.1 MB / 1.007 GB, free: 256.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/1.63, allocations: 7.165 MB / 1.014 GB, free: 250.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.63, allocations: 3.844 kB / 1.014 GB, free: 250.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.633, allocations: 0.6086 MB / 1.015 GB, free: 250.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/1.633, allocations: 12 kB / 1.015 GB, free: 250.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.633, allocations: 70.53 kB / 1.015 GB, free: 250 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/1.633, allocations: 12 kB / 1.015 GB, free: 250 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.633, allocations: 9.156 kB / 1.015 GB, free: 250 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/1.639, allocations: 5.381 MB / 1.02 GB, free: 244.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/1.641, allocations: 0.6732 MB / 1.021 GB, free: 243.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/1.642, allocations: 59.97 kB / 1.021 GB, free: 243.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.644, allocations: 264.1 kB / 1.021 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/1.644, allocations: 198 kB / 1.021 GB, free: 243.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.644, allocations: 91.97 kB / 1.021 GB, free: 243.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001241/1.646, allocations: 1.062 MB / 1.023 GB, free: 242.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.646, allocations: 0 / 1.023 GB, free: 242.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002837/1.648, allocations: 1.126 MB / 1.024 GB, free: 241.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (306): * Single equations (assignments): 304 * 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.0009325/1.649, allocations: 420.6 kB / 1.024 GB, free: 240.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.662, allocations: 6.825 MB / 1.031 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.662, allocations: 6.312 kB / 1.031 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/1.664, allocations: 1.692 MB / 1.032 GB, free: 232.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005833/1.67, allocations: 1.41 MB / 1.034 GB, free: 231 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/1.68, allocations: 8.338 MB / 1.042 GB, free: 222.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.681, allocations: 2.133 MB / 1.044 GB, free: 220.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003629/1.684, allocations: 0.9743 MB / 1.045 GB, free: 219.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/1.685, allocations: 247.4 kB / 1.045 GB, free: 219.3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.114e-06/1.685, allocations: 0 / 1.045 GB, free: 219.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.07734/1.763, allocations: 56.55 MB / 1.1 GB, free: 163.4 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)