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.2147/0.2155, allocations: 82.22 MB / 0.5941 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU): time 0.7861/1.002, allocations: 346.9 MB / 0.9328 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05465/1.056, allocations: 28.51 MB / 0.9607 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00931/1.066, allocations: 154.9 kB / 0.9608 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009766/1.076, allocations: 2.18 MB / 0.963 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02473/1.1, allocations: 6.575 MB / 0.9694 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.6759/1.776, allocations: 4.363 MB / 0.9737 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02855/1.805, allocations: 15.66 MB / 0.9889 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/1.817, allocations: 3.688 MB / 0.9925 GB, free: 23.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02413/1.841, allocations: 6.096 MB / 0.9985 GB, free: 23.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/1.855, allocations: 3.944 MB / 1.002 GB, free: 23.08 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002973/1.858, allocations: 221.9 kB / 1.003 GB, free: 23.08 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.873, allocations: 4.31 MB / 1.007 GB, free: 23.08 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004239/1.877, allocations: 1.204 MB / 1.008 GB, free: 23.08 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01063/1.888, allocations: 2.621 MB / 1.011 GB, free: 22.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02194/1.91, allocations: 8.215 MB / 1.019 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.91, allocations: 2.344 kB / 1.019 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/1.91, allocations: 3.562 kB / 1.019 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004129/1.91, allocations: 0 / 1.019 GB, free: 21.85 MB / 0.7325 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.929, allocations: 5.235 MB / 1.024 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.929, allocations: 9.5 kB / 1.024 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009573/1.939, allocations: 1.491 MB / 1.025 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/1.947, allocations: 3.23 MB / 1.028 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/1.947, allocations: 282.9 kB / 1.029 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.949, allocations: 384.7 kB / 1.029 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/1.964, allocations: 5.148 MB / 1.034 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-05/1.964, allocations: 11.75 kB / 1.034 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/1.965, allocations: 141.8 kB / 1.034 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/1.965, allocations: 162.7 kB / 1.034 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/1.981, allocations: 5.211 MB / 1.039 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/2.024, allocations: 20.06 MB / 1.059 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/2.034, allocations: 3.305 MB / 1.062 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/2.039, allocations: 1.71 MB / 1.064 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002957/2.042, allocations: 1.97 MB / 1.066 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008456/2.05, allocations: 2.413 MB / 1.068 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=247): time 1.934e-05/2.05, allocations: 0 / 1.068 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=247): time 0.02336/2.074, allocations: 5.675 MB / 1.074 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000311/2.074, allocations: 449.1 kB / 1.074 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/2.084, allocations: 3.582 MB / 1.078 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/2.086, allocations: 92.45 kB / 1.078 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/2.089, allocations: 1.912 MB / 1.08 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/2.091, allocations: 0.8262 MB / 1.08 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/2.092, allocations: 301.5 kB / 1.081 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002154/2.093, allocations: 305.1 kB / 1.081 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007117/2.1, allocations: 1.816 MB / 1.083 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007668/2.108, allocations: 2.92 MB / 1.086 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/2.119, allocations: 4.102 MB / 1.09 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.06e-05/2.119, allocations: 8 kB / 1.09 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01735/2.137, allocations: 4.944 MB / 1.094 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007003/2.137, allocations: 0.6212 MB / 1.095 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.731e-05/2.137, allocations: 20 kB / 1.095 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.398e-05/2.138, allocations: 32 kB / 1.095 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01887/2.156, allocations: 3.239 MB / 1.098 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/2.182, allocations: 16.7 MB / 1.114 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008189/2.19, allocations: 0.8623 MB / 1.115 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/2.191, allocations: 160.3 kB / 1.115 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/2.191, allocations: 4 kB / 1.115 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01299/2.204, allocations: 4.216 MB / 1.12 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.493e-05/2.204, allocations: 20 kB / 1.12 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/2.205, allocations: 32 kB / 1.12 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005635/2.21, allocations: 1.051 MB / 1.121 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.441e-05/2.21, allocations: 42.83 kB / 1.121 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007293/2.218, allocations: 0.7277 MB / 1.121 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009351/2.219, allocations: 156.4 kB / 1.122 GB, free: 2.738 MB / 0.7794 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,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime_nominal,hexPar.flowRegime_nominal,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,hexCroC1Unm.flowRegime,hexCroC1Mix.flowRegime,hexCou.flowRegime,hexPar.flowRegime,$whenCondition1) * 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003786/2.222, allocations: 0.93 MB / 1.122 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/2.224, allocations: 418.7 kB / 1.123 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/2.238, allocations: 4.273 MB / 1.127 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/2.238, allocations: 30.25 kB / 1.127 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/2.238, allocations: 0 / 1.127 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/2.238, allocations: 19.88 kB / 1.127 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/2.26, allocations: 8.064 MB / 1.135 GB, free: 7.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/2.26, allocations: 12 kB / 1.135 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01567/2.276, allocations: 2.8 MB / 1.138 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.848e-05/2.276, allocations: 12 kB / 1.138 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007127/2.277, allocations: 79.94 kB / 1.138 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02307/2.3, allocations: 16.33 MB / 1.154 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/2.3, allocations: 7.094 kB / 1.154 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/2.315, allocations: 4.265 MB / 1.158 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/2.319, allocations: 0.8892 MB / 1.159 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002346/2.321, allocations: 52 kB / 1.159 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006523/2.328, allocations: 499.3 kB / 1.159 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/2.329, allocations: 199.6 kB / 1.16 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007082/2.33, allocations: 99.92 kB / 1.16 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006447/2.336, allocations: 2.349 MB / 1.162 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.42e-07/2.336, allocations: 0 / 1.162 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01244/2.349, allocations: 2.351 MB / 1.164 GB, free: 8.586 MB / 0.8262 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002643/2.351, allocations: 0.5979 MB / 1.165 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.03813/2.39, allocations: 9.181 MB / 1.174 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/2.39, allocations: 4 kB / 1.174 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.03021/2.42, allocations: 5.956 MB / 1.18 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01943/2.439, allocations: 2.007 MB / 1.182 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/2.461, allocations: 9.282 MB / 1.191 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/2.464, allocations: 2.352 MB / 1.193 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.009116/2.473, allocations: 1.133 MB / 1.194 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/2.475, allocations: 351.3 kB / 1.194 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of SimCode: time 1.222e-06/2.475, allocations: 0 / 1.194 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of Templates: time 0.1521/2.628, allocations: 83.92 MB / 1.276 GB, free: 6.918 MB / 0.9356 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: