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/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.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") [/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.1957/0.1964, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU): time 0.7253/0.9217, allocations: 289.9 MB / 0.8764 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04762/0.9694, allocations: 26.58 MB / 0.9024 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009788/0.9792, allocations: 143 kB / 0.9025 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.9911, allocations: 2.255 MB / 0.9047 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02692/1.018, allocations: 6.382 MB / 0.9109 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/1.03, allocations: 3.47 MB / 0.9143 GB, free: 6.895 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01698/1.047, allocations: 6.82 MB / 0.921 GB, free: 72 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007139/1.054, allocations: 3.454 MB / 0.9244 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/1.07, allocations: 4.969 MB / 0.9292 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008688/1.078, allocations: 2.798 MB / 0.932 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002569/1.081, allocations: 220 kB / 0.9322 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/1.091, allocations: 2.165 MB / 0.9343 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/1.094, allocations: 1.109 MB / 0.9354 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00271/1.097, allocations: 1.062 MB / 0.9364 GB, free: 212 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01126/1.108, allocations: 5.828 MB / 0.9421 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.108, allocations: 4 kB / 0.9421 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.567e-06/1.108, allocations: 0 / 0.9421 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003533/1.109, allocations: 0 / 0.9421 GB, free: 10.36 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: 883 * Number of variables: 883 Notification: Performance of Generate backend data structure: time 0.01898/1.128, allocations: 5.218 MB / 0.9472 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.128, allocations: 8.031 kB / 0.9472 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008952/1.137, allocations: 1.512 MB / 0.9487 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008131/1.145, allocations: 3.099 MB / 0.9517 GB, free: 388 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/1.145, allocations: 298.6 kB / 0.952 GB, free: 88 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009616/1.146, allocations: 376 kB / 0.9523 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/1.159, allocations: 5.094 MB / 0.9573 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.916e-05/1.159, allocations: 3.938 kB / 0.9573 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/1.16, allocations: 148 kB / 0.9575 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/1.16, allocations: 166.3 kB / 0.9576 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/1.174, allocations: 5.185 MB / 0.9627 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3993/1.573, allocations: 20.09 MB / 0.9823 GB, free: 266.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008915/1.582, allocations: 3.29 MB / 0.9855 GB, free: 266.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002253/1.584, allocations: 1.983 MB / 0.9875 GB, free: 264.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006326/1.591, allocations: 2.387 MB / 0.9898 GB, free: 263.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=247): time 5.48e-06/1.591, allocations: 0 / 0.9898 GB, free: 263.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=247): time 0.01973/1.61, allocations: 6.048 MB / 0.9957 GB, free: 262.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/1.611, allocations: 443.1 kB / 0.9961 GB, free: 261.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008624/1.619, allocations: 3.546 MB / 0.9996 GB, free: 259.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.62, allocations: 88.92 kB / 0.9997 GB, free: 259.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/1.622, allocations: 1.917 MB / 1.002 GB, free: 258.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.624, allocations: 0.8331 MB / 1.002 GB, free: 257.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/1.624, allocations: 66.19 kB / 1.002 GB, free: 257.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.624, allocations: 441.4 kB / 1.003 GB, free: 257.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.629, allocations: 1.795 MB / 1.005 GB, free: 256.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/1.634, allocations: 2.896 MB / 1.007 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004647/1.639, allocations: 2.007 MB / 1.009 GB, free: 253.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.639, allocations: 3.969 kB / 1.009 GB, free: 253.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01192/1.651, allocations: 4.925 MB / 1.014 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001583/1.652, allocations: 7.533 MB / 1.022 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/1.652, allocations: 19.62 kB / 1.022 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-05/1.652, allocations: 38.97 kB / 1.022 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01653/1.669, allocations: 3.224 MB / 1.025 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.689, allocations: 16.97 MB / 1.041 GB, free: 224.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00671/1.696, allocations: 0.8519 MB / 1.042 GB, free: 223.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.697, allocations: 160.5 kB / 1.042 GB, free: 223.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.697, allocations: 4 kB / 1.042 GB, free: 223.7 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01093/1.708, allocations: 4.176 MB / 1.046 GB, free: 219.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.317e-05/1.708, allocations: 27.98 kB / 1.046 GB, free: 219.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/1.708, allocations: 35.94 kB / 1.046 GB, free: 219.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/1.713, allocations: 1.045 MB / 1.047 GB, free: 218.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.308e-05/1.713, allocations: 43.86 kB / 1.048 GB, free: 218.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00576/1.719, allocations: 0.7304 MB / 1.048 GB, free: 217.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007139/1.72, allocations: 157.3 kB / 1.048 GB, free: 217.5 MB / 0.7169 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 () * Number of clocked 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.002904/1.722, allocations: 0.9264 MB / 1.049 GB, free: 216.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.724, allocations: 418.8 kB / 1.05 GB, free: 216.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/1.734, allocations: 4.267 MB / 1.054 GB, free: 211.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/1.735, allocations: 31.95 kB / 1.054 GB, free: 211.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.735, allocations: 1.641 kB / 1.054 GB, free: 211.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/1.735, allocations: 19.89 kB / 1.054 GB, free: 211.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/1.753, allocations: 8.05 MB / 1.062 GB, free: 203.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/1.753, allocations: 8 kB / 1.062 GB, free: 203.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01318/1.766, allocations: 2.799 MB / 1.064 GB, free: 200.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-05/1.766, allocations: 16 kB / 1.065 GB, free: 200.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005837/1.767, allocations: 75.94 kB / 1.065 GB, free: 200.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/1.785, allocations: 16.58 MB / 1.081 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.785, allocations: 4 kB / 1.081 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.797, allocations: 4.867 MB / 1.086 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003502/1.8, allocations: 0.9124 MB / 1.086 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/1.802, allocations: 59.94 kB / 1.086 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004628/1.806, allocations: 495.2 kB / 1.087 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/1.807, allocations: 197.6 kB / 1.087 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003638/1.807, allocations: 103.9 kB / 1.087 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004456/1.812, allocations: 2.322 MB / 1.09 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.812, allocations: 0 / 1.09 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01021/1.822, allocations: 2.346 MB / 1.092 GB, free: 171.2 MB / 0.7169 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) * Number of clocked states: 0 () * 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.001919/1.824, allocations: 0.579 MB / 1.092 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0283/1.852, allocations: 9.144 MB / 1.101 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/1.852, allocations: 4 kB / 1.101 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.02497/1.877, allocations: 5.939 MB / 1.107 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/1.889, allocations: 1.996 MB / 1.109 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.907, allocations: 8.853 MB / 1.118 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.909, allocations: 2.438 MB / 1.12 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005829/1.915, allocations: 1.128 MB / 1.121 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/1.916, allocations: 343.3 kB / 1.122 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/1.916, allocations: 0 / 1.122 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.1156/2.031, allocations: 81.28 MB / 1.201 GB, free: 60 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: