Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.495/2.495, allocations: 284.8 MB / 297.3 MB, free: 6.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 188.8 kB / 365.7 MB, free: 2.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.1 MB / 0.6241 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.001069, allocations: 98.86 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.141e-05, allocations: 0 / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8084, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.29/8.098, allocations: 2.136 GB / 3.106 GB, free: 282.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/8.099, allocations: 89.08 kB / 3.106 GB, free: 282.1 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 11.4/19.5, allocations: 2.097 GB / 5.204 GB, free: 87.76 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.665e-06/19.5, allocations: 0 / 5.204 GB, free: 87.76 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002717/19.5, allocations: 71.92 kB / 5.204 GB, free: 87.69 MB / 1.01 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.01929/19.52, allocations: 3.605 MB / 5.207 GB, free: 84.02 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/19.52, allocations: 12.03 kB / 5.207 GB, free: 84.01 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009291/19.53, allocations: 0.8351 MB / 5.208 GB, free: 83.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008689/19.54, allocations: 2.146 MB / 5.21 GB, free: 80.97 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/19.54, allocations: 215.9 kB / 5.21 GB, free: 80.76 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/19.54, allocations: 291.9 kB / 5.211 GB, free: 80.48 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/19.55, allocations: 3.414 MB / 5.214 GB, free: 76.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/19.55, allocations: 7.984 kB / 5.214 GB, free: 76.92 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/19.55, allocations: 119.5 kB / 5.214 GB, free: 76.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/19.55, allocations: 133.3 kB / 5.214 GB, free: 76.67 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00962/19.56, allocations: 3.023 MB / 5.217 GB, free: 73.64 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.02717/19.59, allocations: 14.44 MB / 5.231 GB, free: 57.99 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/19.59, allocations: 2.222 MB / 5.233 GB, free: 55.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/19.59, allocations: 1.286 MB / 5.235 GB, free: 54.42 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/19.6, allocations: 1.386 MB / 5.236 GB, free: 52.74 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003365/19.6, allocations: 1.167 MB / 5.237 GB, free: 51.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 6.433e-06/19.6, allocations: 3.938 kB / 5.237 GB, free: 51.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.006903/19.61, allocations: 2.182 MB / 5.239 GB, free: 49.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/19.61, allocations: 73.41 kB / 5.239 GB, free: 49.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/19.61, allocations: 1.236 MB / 5.241 GB, free: 48.04 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006234/19.61, allocations: 73.69 kB / 5.241 GB, free: 47.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/19.61, allocations: 1.115 MB / 5.242 GB, free: 46.83 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/19.61, allocations: 0.7315 MB / 5.242 GB, free: 46.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/19.61, allocations: 40 kB / 5.243 GB, free: 46.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001774/19.61, allocations: 385.9 kB / 5.243 GB, free: 45.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/19.62, allocations: 0.8553 MB / 5.244 GB, free: 44.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/19.62, allocations: 1.286 MB / 5.245 GB, free: 43.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/19.62, allocations: 1.087 MB / 5.246 GB, free: 42.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/19.62, allocations: 4 kB / 5.246 GB, free: 42.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007056/19.63, allocations: 2.492 MB / 5.248 GB, free: 39.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/19.63, allocations: 37.69 kB / 5.249 GB, free: 39.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/19.63, allocations: 8 kB / 5.249 GB, free: 39.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-05/19.63, allocations: 23.95 kB / 5.249 GB, free: 39.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/19.63, allocations: 447.3 kB / 5.249 GB, free: 39.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.201e-05/19.63, allocations: 23.92 kB / 5.249 GB, free: 39.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/19.64, allocations: 365.9 kB / 5.249 GB, free: 38.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/19.64, allocations: 79.98 kB / 5.249 GB, free: 38.77 MB / 1.01 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006244/19.64, allocations: 224.7 kB / 5.25 GB, free: 38.55 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007851/19.64, allocations: 213.5 kB / 5.25 GB, free: 38.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006909/19.65, allocations: 2.421 MB / 5.252 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/19.65, allocations: 27.95 kB / 5.252 GB, free: 35.87 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/19.65, allocations: 0 / 5.252 GB, free: 35.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005258/19.65, allocations: 2.238 MB / 5.254 GB, free: 33.56 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/19.67, allocations: 5.486 MB / 5.26 GB, free: 27.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/19.67, allocations: 3.938 kB / 5.26 GB, free: 27.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004403/19.67, allocations: 471.4 kB / 5.26 GB, free: 27.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/19.67, allocations: 16.12 kB / 5.26 GB, free: 27.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/19.67, allocations: 55.97 kB / 5.26 GB, free: 27.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/19.67, allocations: 11.98 kB / 5.26 GB, free: 27.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/19.67, allocations: 7.938 kB / 5.26 GB, free: 27.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008484/19.68, allocations: 3.983 MB / 5.264 GB, free: 23.31 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/19.68, allocations: 0.5487 MB / 5.265 GB, free: 22.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/19.69, allocations: 43.94 kB / 5.265 GB, free: 22.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00427/19.69, allocations: 247.5 kB / 5.265 GB, free: 22.46 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/19.69, allocations: 137.8 kB / 5.265 GB, free: 22.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/19.69, allocations: 75.97 kB / 5.265 GB, free: 22.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002058/19.69, allocations: 0.9504 MB / 5.266 GB, free: 21.31 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.22e-07/19.69, allocations: 0 / 5.266 GB, free: 21.31 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005619/19.7, allocations: 1.376 MB / 5.267 GB, free: 19.93 MB / 1.01 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008851/19.71, allocations: 4.846 MB / 5.272 GB, free: 14.73 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005881/19.71, allocations: 2.239 MB / 5.274 GB, free: 12.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/19.71, allocations: 0 / 5.274 GB, free: 12.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002807/19.72, allocations: 1.157 MB / 5.276 GB, free: 11.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/19.73, allocations: 1.218 MB / 5.277 GB, free: 10.14 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/19.74, allocations: 4.862 MB / 5.281 GB, free: 5.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/19.74, allocations: 2.022 MB / 5.283 GB, free: 3.211 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005223/19.75, allocations: 0.72 MB / 5.284 GB, free: 2.508 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/19.75, allocations: 203.3 kB / 5.284 GB, free: 2.309 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/19.75, allocations: 4 kB / 5.284 GB, free: 2.305 MB / 1.01 GB Notification: Performance of Templates: time 1.157/20.91, allocations: 101.1 MB / 5.383 GB, free: 124.6 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)