Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.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.DryEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7683/0.7683, allocations: 132.3 MB / 144.9 MB, free: 10.68 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.001067/0.001067, allocations: 174.1 kB / 176.9 MB, free: 2.156 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.399/1.399, allocations: 170.5 MB / 379.3 MB, free: 11.86 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.001666/0.001666, allocations: 110.3 kB / 450 MB, free: 5.781 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.5367/0.5368, allocations: 73.38 MB / 0.6736 GB, free: 47.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.654/6.191, allocations: 2.399 GB / 3.073 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/6.191, allocations: 90.3 kB / 3.073 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 12.77/18.96, allocations: 3.175 GB / 6.248 GB, free: 48.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.634e-06/18.96, allocations: 0.8438 kB / 6.248 GB, free: 48.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0008284/18.97, allocations: 123.2 kB / 6.248 GB, free: 48.72 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 883 * Number of variables: 883 Notification: Performance of Generate backend data structure: time 0.02587/18.99, allocations: 5.397 MB / 6.253 GB, free: 46.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/18.99, allocations: 8.125 kB / 6.253 GB, free: 46.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/19, allocations: 1.479 MB / 6.255 GB, free: 46.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/19.01, allocations: 3.711 MB / 6.258 GB, free: 45.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/19.02, allocations: 285.8 kB / 6.259 GB, free: 45.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/19.02, allocations: 379.4 kB / 6.259 GB, free: 45.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/19.03, allocations: 4.668 MB / 6.263 GB, free: 45.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.815e-05/19.03, allocations: 7.141 kB / 6.263 GB, free: 45.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004205/19.03, allocations: 147.9 kB / 6.264 GB, free: 45.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/19.03, allocations: 167.2 kB / 6.264 GB, free: 45.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009678/19.04, allocations: 4.153 MB / 6.268 GB, free: 45.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03455/19.07, allocations: 19.86 MB / 6.287 GB, free: 34.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005979/19.08, allocations: 2.549 MB / 6.29 GB, free: 34.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/19.08, allocations: 1.317 MB / 6.291 GB, free: 34.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/19.08, allocations: 188.1 kB / 6.291 GB, free: 34.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004686/19.09, allocations: 1.892 MB / 6.293 GB, free: 34.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=247): time 9.277e-06/19.09, allocations: 3.281 kB / 6.293 GB, free: 34.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=247): time 0.01132/19.1, allocations: 3.265 MB / 6.296 GB, free: 33.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/19.1, allocations: 442.1 kB / 6.297 GB, free: 33.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007134/19.1, allocations: 3.056 MB / 6.3 GB, free: 33.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/19.11, allocations: 92.83 kB / 6.3 GB, free: 33.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001969/19.11, allocations: 1.915 MB / 6.302 GB, free: 32.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/19.11, allocations: 0.8385 MB / 6.302 GB, free: 31.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/19.11, allocations: 66 kB / 6.302 GB, free: 31.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001675/19.11, allocations: 431.5 kB / 6.303 GB, free: 31.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/19.11, allocations: 1.27 MB / 6.304 GB, free: 31.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/19.11, allocations: 2.347 MB / 6.306 GB, free: 30.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/19.12, allocations: 1.496 MB / 6.308 GB, free: 30.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/19.12, allocations: 7.281 kB / 6.308 GB, free: 30.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.007722/19.13, allocations: 3.855 MB / 6.312 GB, free: 30.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001701/19.13, allocations: 7.523 MB / 6.319 GB, free: 22.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/19.13, allocations: 24.14 kB / 6.319 GB, free: 22.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-05/19.13, allocations: 36.97 kB / 6.319 GB, free: 22.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/19.14, allocations: 3.057 MB / 6.322 GB, free: 22.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/19.15, allocations: 6.728 MB / 6.329 GB, free: 16.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008282/19.16, allocations: 0.848 MB / 6.329 GB, free: 16.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/19.16, allocations: 161.3 kB / 6.33 GB, free: 16.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/19.16, allocations: 6.531 kB / 6.33 GB, free: 16.26 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006085/19.16, allocations: 3.366 MB / 6.333 GB, free: 16.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.604e-05/19.16, allocations: 28.84 kB / 6.333 GB, free: 16.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/19.16, allocations: 36.56 kB / 6.333 GB, free: 16.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/19.17, allocations: 1.045 MB / 6.334 GB, free: 16.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-05/19.17, allocations: 41.89 kB / 6.334 GB, free: 16.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006526/19.18, allocations: 0.7212 MB / 6.335 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004467/19.18, allocations: 152.7 kB / 6.335 GB, free: 15.97 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001066/19.18, allocations: 311.7 kB / 6.335 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/19.18, allocations: 412.2 kB / 6.336 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/19.18, allocations: 3.26 MB / 6.339 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/19.18, allocations: 25.62 kB / 6.339 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/19.18, allocations: 0 / 6.339 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/19.18, allocations: 12.88 kB / 6.339 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/19.2, allocations: 7.014 MB / 6.346 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/19.2, allocations: 12.22 kB / 6.346 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01467/19.21, allocations: 2.819 MB / 6.348 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-05/19.21, allocations: 15.94 kB / 6.348 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005402/19.21, allocations: 77.48 kB / 6.348 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/19.23, allocations: 15.08 MB / 6.363 GB, free: 17.37 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/19.23, allocations: 8 kB / 6.363 GB, free: 17.37 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/19.24, allocations: 3.851 MB / 6.367 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/19.24, allocations: 0.8928 MB / 6.368 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009259/19.24, allocations: 53.91 kB / 6.368 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004421/19.25, allocations: 0.4971 MB / 6.368 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005087/19.25, allocations: 201.3 kB / 6.369 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/19.25, allocations: 101.7 kB / 6.369 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004055/19.25, allocations: 2.277 MB / 6.371 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.01e-07/19.25, allocations: 2.844 kB / 6.371 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01316/19.27, allocations: 2.82 MB / 6.374 GB, free: 15.04 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01241/19.28, allocations: 6.422 MB / 6.38 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02373/19.3, allocations: 7.436 MB / 6.387 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/19.3, allocations: 3.688 kB / 6.387 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.02388/19.33, allocations: 5.242 MB / 6.392 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/19.34, allocations: 1.992 MB / 6.394 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/19.36, allocations: 6.738 MB / 6.401 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/19.36, allocations: 2.439 MB / 6.403 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.009817/19.37, allocations: 1.411 MB / 6.405 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/19.37, allocations: 283.5 kB / 6.405 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of SimCode: time 2.976e-06/19.37, allocations: 0 / 6.405 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of Templates: time 0.9425/20.31, allocations: 151.3 MB / 6.553 GB, free: 96.16 MB / 0.823 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe 2>&1)