Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8119/0.8119, allocations: 150.9 MB / 167.1 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 15.97 kB / 206 MB, free: 9.066 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 31.33 MB / 237.3 MB, free: 5.988 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.64/1.789, allocations: 295.5 MB / 0.5203 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4751/2.264, allocations: 188.9 MB / 0.7048 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/2.265, allocations: 11.56 kB / 0.7048 GB, free: 2.254 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:127:3-128:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003974/2.265, allocations: 99.03 kB / 0.7049 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/2.267, allocations: 0.6378 MB / 0.7055 GB, free: 2.254 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02834/2.295, allocations: 11.97 MB / 0.7172 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002799/2.298, allocations: 3.156 MB / 0.7203 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/2.299, allocations: 1.28 MB / 0.7215 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008998/2.3, allocations: 0.9508 MB / 0.7225 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/2.301, allocations: 1.174 MB / 0.7236 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/2.302, allocations: 208.5 kB / 0.7238 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03145/2.333, allocations: 20.72 MB / 0.7441 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001165/2.334, allocations: 0.9044 MB / 0.7449 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/2.336, allocations: 1.122 MB / 0.746 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02628/2.362, allocations: 12.05 MB / 0.7578 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/2.362, allocations: 2.031 kB / 0.7578 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/2.362, allocations: 0 / 0.7578 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.585e-05/2.362, allocations: 0 / 0.7578 GB, free: 12.3 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.01004/2.372, allocations: 3.535 MB / 0.7613 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/2.372, allocations: 9.531 kB / 0.7613 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/2.373, allocations: 209.5 kB / 0.7615 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/2.374, allocations: 0.8725 MB / 0.7623 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/2.375, allocations: 461.7 kB / 0.7628 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/2.375, allocations: 188.5 kB / 0.7629 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/2.379, allocations: 3.126 MB / 0.766 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/2.38, allocations: 12.5 kB / 0.766 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/2.38, allocations: 83.12 kB / 0.7661 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/2.38, allocations: 53 kB / 0.7661 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004998/2.385, allocations: 3.156 MB / 0.7692 GB, free: 6.672 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01618/2.401, allocations: 14.82 MB / 0.7837 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/2.408, allocations: 2.362 MB / 0.786 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/2.41, allocations: 0.9123 MB / 0.7869 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.158/2.568, allocations: 86.2 MB / 0.8711 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/2.568, allocations: 48.97 kB / 0.8711 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.136e-06/2.568, allocations: 0 / 0.8711 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02031/2.588, allocations: 5.97 MB / 0.8769 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/2.589, allocations: 72.72 kB / 0.877 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/2.59, allocations: 1.393 MB / 0.8784 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/2.59, allocations: 49.7 kB / 0.8784 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/2.591, allocations: 0.7768 MB / 0.8792 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/2.591, allocations: 0.519 MB / 0.8797 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006086/2.592, allocations: 432.8 kB / 0.8801 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/2.592, allocations: 301.1 kB / 0.8804 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/2.594, allocations: 0.9244 MB / 0.8813 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/2.596, allocations: 1.634 MB / 0.8829 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/2.6, allocations: 2.705 MB / 0.8855 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/2.6, allocations: 8 kB / 0.8855 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00641/2.607, allocations: 3.381 MB / 0.8888 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/2.607, allocations: 16 kB / 0.8888 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/2.607, allocations: 25.73 kB / 0.8889 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004429/2.611, allocations: 1.567 MB / 0.8904 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/2.615, allocations: 0.5896 MB / 0.891 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/2.623, allocations: 5.377 MB / 0.8962 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/2.625, allocations: 293.5 kB / 0.8965 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/2.625, allocations: 119.9 kB / 0.8966 GB, free: 9.344 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0009233/2.626, allocations: 0.5055 MB / 0.8971 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/2.627, allocations: 158.1 kB / 0.8973 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/2.632, allocations: 2.778 MB / 0.9 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/2.632, allocations: 16 kB / 0.9 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/2.632, allocations: 7.844 kB / 0.9 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/2.632, allocations: 7.969 kB / 0.9 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008285/2.641, allocations: 4.355 MB / 0.9043 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/2.641, allocations: 7.984 kB / 0.9043 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/2.643, allocations: 350.2 kB / 0.9046 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004174/2.647, allocations: 1.43 MB / 0.906 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/2.647, allocations: 43.92 kB / 0.906 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007597/2.655, allocations: 5.33 MB / 0.9112 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.655, allocations: 0 / 0.9112 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/2.66, allocations: 2.619 MB / 0.9138 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/2.661, allocations: 442.8 kB / 0.9142 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/2.661, allocations: 31.88 kB / 0.9143 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/2.663, allocations: 63.94 kB / 0.9143 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/2.663, allocations: 116.2 kB / 0.9144 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/2.663, allocations: 47.98 kB / 0.9145 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001212/2.664, allocations: 0.9416 MB / 0.9154 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/2.664, allocations: 0 / 0.9154 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005311/2.67, allocations: 2.022 MB / 0.9174 GB, free: 3.883 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00742/2.677, allocations: 2.348 MB / 0.9197 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006049/2.683, allocations: 2.648 MB / 0.9223 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.683, allocations: 0 / 0.9223 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00279/2.686, allocations: 1.349 MB / 0.9236 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/2.688, allocations: 350.4 kB / 0.9239 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/2.693, allocations: 3.016 MB / 0.9268 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009631/2.694, allocations: 1.376 MB / 0.9282 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001624/2.695, allocations: 0.5278 MB / 0.9287 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/2.696, allocations: 119.4 kB / 0.9288 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of SimCode: time 1.332e-06/2.696, allocations: 0 / 0.9288 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of Templates: time 0.2634/2.959, allocations: 78.52 MB / 1.005 GB, free: 446.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)