Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.3 MB / 144.9 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001117/0.001116, allocations: 174.5 kB / 176.9 MB, free: 2.164 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.519/1.519, allocations: 170.5 MB / 379.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001672, allocations: 112.5 kB / 450 MB, free: 5.801 MB / 346.7 MB [/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.5177/0.5178, allocations: 73.39 MB / 0.6736 GB, free: 47.59 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.248/5.766, allocations: 2.18 GB / 2.853 GB, free: 205 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/5.766, allocations: 97.09 kB / 2.854 GB, free: 205 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.029/11.8, allocations: 1.612 GB / 4.466 GB, free: 66.62 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.984e-06/11.8, allocations: 0 / 4.466 GB, free: 66.62 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002395/11.8, allocations: 62.36 kB / 4.466 GB, free: 66.61 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 380 * Number of variables: 380 Notification: Performance of Generate backend data structure: time 0.008779/11.8, allocations: 2.682 MB / 4.468 GB, free: 65.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/11.8, allocations: 7.562 kB / 4.468 GB, free: 65.14 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006326/11.81, allocations: 0.776 MB / 4.469 GB, free: 65 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006493/11.82, allocations: 2.214 MB / 4.471 GB, free: 63.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/11.82, allocations: 125.9 kB / 4.471 GB, free: 63.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/11.82, allocations: 158 kB / 4.471 GB, free: 63.88 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/11.82, allocations: 1.75 MB / 4.473 GB, free: 63.03 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/11.82, allocations: 7.062 kB / 4.473 GB, free: 63.03 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/11.82, allocations: 68.22 kB / 4.473 GB, free: 62.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/11.82, allocations: 57.8 kB / 4.473 GB, free: 62.97 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/11.82, allocations: 1.364 MB / 4.475 GB, free: 62.36 MB / 0.6667 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.01144/11.84, allocations: 7.754 MB / 4.482 GB, free: 55.96 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/11.84, allocations: 1.616 MB / 4.484 GB, free: 54.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/11.84, allocations: 0.5324 MB / 4.484 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/11.84, allocations: 115.5 kB / 4.484 GB, free: 53.73 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/11.84, allocations: 0.6602 MB / 4.485 GB, free: 53.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001274/11.84, allocations: 126.3 kB / 4.485 GB, free: 52.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=98): time 3.697e-06/11.84, allocations: 0 / 4.485 GB, free: 52.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101): time 0.005661/11.85, allocations: 3.009 MB / 4.488 GB, free: 49.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/11.85, allocations: 329.4 kB / 4.488 GB, free: 49.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/11.85, allocations: 1.395 MB / 4.49 GB, free: 47.99 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/11.85, allocations: 52.67 kB / 4.49 GB, free: 47.93 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007728/11.85, allocations: 0.9695 MB / 4.491 GB, free: 46.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/11.85, allocations: 358.7 kB / 4.491 GB, free: 46.61 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/11.85, allocations: 20 kB / 4.491 GB, free: 46.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/11.85, allocations: 353.9 kB / 4.491 GB, free: 46.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/11.85, allocations: 0.5063 MB / 4.492 GB, free: 45.73 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008828/11.85, allocations: 0.8512 MB / 4.493 GB, free: 44.76 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008261/11.86, allocations: 2.605 MB / 4.495 GB, free: 42.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/11.86, allocations: 0 / 4.495 GB, free: 42.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002834/11.86, allocations: 1.725 MB / 4.497 GB, free: 40.39 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005247/11.86, allocations: 2.175 MB / 4.499 GB, free: 38.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/11.86, allocations: 11.98 kB / 4.499 GB, free: 38.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/11.86, allocations: 36.86 kB / 4.499 GB, free: 37.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/11.86, allocations: 267.6 kB / 4.499 GB, free: 37.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000987/11.87, allocations: 1.484 MB / 4.501 GB, free: 36.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/11.87, allocations: 203.6 kB / 4.501 GB, free: 35.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/11.87, allocations: 67.97 kB / 4.501 GB, free: 35.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/11.87, allocations: 4 kB / 4.501 GB, free: 35.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002252/11.87, allocations: 1.655 MB / 4.503 GB, free: 34.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/11.87, allocations: 8.125 kB / 4.503 GB, free: 34.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.693e-05/11.87, allocations: 40.84 kB / 4.503 GB, free: 34.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/11.87, allocations: 259.6 kB / 4.503 GB, free: 33.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008981/11.87, allocations: 1.486 MB / 4.505 GB, free: 32.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/11.88, allocations: 191.6 kB / 4.505 GB, free: 32.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/11.88, allocations: 67.97 kB / 4.505 GB, free: 31.97 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 133 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004073/11.88, allocations: 186.5 kB / 4.505 GB, free: 31.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/11.88, allocations: 193.5 kB / 4.505 GB, free: 31.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/11.88, allocations: 1.282 MB / 4.506 GB, free: 30.28 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/11.88, allocations: 8 kB / 4.506 GB, free: 30.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/11.88, allocations: 7.953 kB / 4.506 GB, free: 30.26 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001396/11.88, allocations: 1.033 MB / 4.507 GB, free: 29.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/11.89, allocations: 3.447 MB / 4.511 GB, free: 25.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/11.89, allocations: 0 / 4.511 GB, free: 25.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/11.89, allocations: 223.7 kB / 4.511 GB, free: 25.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/11.89, allocations: 73.66 kB / 4.511 GB, free: 25.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/11.89, allocations: 27.98 kB / 4.511 GB, free: 25.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/11.89, allocations: 2.737 MB / 4.514 GB, free: 22.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/11.89, allocations: 4.125 kB / 4.514 GB, free: 22.31 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/11.89, allocations: 1.914 MB / 4.516 GB, free: 20.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/11.89, allocations: 398.6 kB / 4.516 GB, free: 19.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/11.89, allocations: 24 kB / 4.516 GB, free: 19.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/11.9, allocations: 191.6 kB / 4.516 GB, free: 19.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/11.9, allocations: 68.89 kB / 4.516 GB, free: 19.65 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/11.9, allocations: 35.98 kB / 4.516 GB, free: 19.61 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002171/11.9, allocations: 1.067 MB / 4.517 GB, free: 18.52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/11.9, allocations: 0 / 4.517 GB, free: 18.52 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005843/11.9, allocations: 1.335 MB / 4.519 GB, free: 17.18 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006431/11.91, allocations: 3.521 MB / 4.522 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005305/11.92, allocations: 2.994 MB / 4.525 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/11.92, allocations: 8.188 kB / 4.525 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/11.92, allocations: 0.7254 MB / 4.526 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/11.92, allocations: 0.9698 MB / 4.527 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/11.93, allocations: 3.213 MB / 4.53 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/11.93, allocations: 1.624 MB / 4.531 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004311/11.94, allocations: 0.6641 MB / 4.532 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/11.94, allocations: 115.4 kB / 4.532 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.342e-06/11.94, allocations: 4 kB / 4.532 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of Templates: time 0.6647/12.6, allocations: 83.38 MB / 4.614 GB, free: 80.7 MB / 0.6823 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)