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.7586/0.7586, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 15.95 kB / 237.8 MB, free: 1.793 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05071/0.05105, allocations: 31.34 MB / 269.1 MB, free: 7.055 MB / 222.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.492/1.544, allocations: 295.8 MB / 0.5517 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4374/1.981, allocations: 188.9 MB / 0.7362 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/1.981, allocations: 14.34 kB / 0.7362 GB, free: 1.73 MB / 0.5919 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.0002874/1.982, allocations: 95.55 kB / 0.7363 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/1.983, allocations: 0.6389 MB / 0.7369 GB, free: 1.707 MB / 0.5919 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.02632/2.009, allocations: 12.19 MB / 0.7488 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002273/2.011, allocations: 3.164 MB / 0.7519 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/2.013, allocations: 1.28 MB / 0.7531 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/2.014, allocations: 0.9526 MB / 0.7541 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/2.015, allocations: 1.176 MB / 0.7552 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/2.015, allocations: 210.6 kB / 0.7554 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03118/2.046, allocations: 20.86 MB / 0.7758 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/2.047, allocations: 0.907 MB / 0.7767 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/2.048, allocations: 1.118 MB / 0.7778 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02292/2.071, allocations: 11.99 MB / 0.7895 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/2.071, allocations: 0.9062 kB / 0.7895 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/2.071, allocations: 0 / 0.7895 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.391e-05/2.071, allocations: 3.062 kB / 0.7895 GB, free: 10.18 MB / 0.6075 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.008624/2.08, allocations: 3.533 MB / 0.7929 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/2.08, allocations: 14.27 kB / 0.7929 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/2.08, allocations: 210.2 kB / 0.7931 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/2.082, allocations: 0.8705 MB / 0.794 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/2.082, allocations: 459.3 kB / 0.7944 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/2.082, allocations: 191.1 kB / 0.7946 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/2.087, allocations: 3.129 MB / 0.7977 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/2.087, allocations: 13.38 kB / 0.7977 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/2.087, allocations: 85.03 kB / 0.7977 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/2.087, allocations: 52 kB / 0.7978 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004768/2.092, allocations: 3.151 MB / 0.8009 GB, free: 15.87 MB / 0.6231 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.01516/2.107, allocations: 14.8 MB / 0.8153 GB, free: 496 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006803/2.114, allocations: 2.377 MB / 0.8176 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/2.115, allocations: 0.9122 MB / 0.8185 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1594/2.275, allocations: 86.2 MB / 0.9027 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/2.275, allocations: 52.61 kB / 0.9028 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.135e-06/2.275, allocations: 0 / 0.9028 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.01997/2.295, allocations: 5.968 MB / 0.9086 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/2.295, allocations: 64.72 kB / 0.9087 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/2.297, allocations: 1.397 MB / 0.91 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/2.297, allocations: 49.7 kB / 0.9101 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/2.297, allocations: 0.7878 MB / 0.9108 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/2.298, allocations: 0.5148 MB / 0.9113 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006507/2.298, allocations: 423.2 kB / 0.9117 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/2.299, allocations: 305.1 kB / 0.912 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/2.3, allocations: 0.9292 MB / 0.9129 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/2.303, allocations: 1.623 MB / 0.9145 GB, free: 120 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/2.306, allocations: 2.713 MB / 0.9172 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/2.307, allocations: 4 kB / 0.9172 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006031/2.313, allocations: 3.378 MB / 0.9205 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/2.313, allocations: 19.94 kB / 0.9205 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/2.313, allocations: 25.31 kB / 0.9205 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/2.317, allocations: 1.567 MB / 0.9221 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/2.32, allocations: 0.5904 MB / 0.9226 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007503/2.328, allocations: 5.393 MB / 0.9279 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/2.33, allocations: 288.9 kB / 0.9282 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/2.33, allocations: 119.9 kB / 0.9283 GB, free: 1.816 MB / 0.7481 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.0008592/2.331, allocations: 0.5101 MB / 0.9288 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/2.331, allocations: 158.1 kB / 0.9289 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/2.337, allocations: 2.776 MB / 0.9316 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/2.337, allocations: 12 kB / 0.9317 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/2.337, allocations: 7.984 kB / 0.9317 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/2.337, allocations: 3.984 kB / 0.9317 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/2.344, allocations: 4.367 MB / 0.9359 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.344, allocations: 0.75 kB / 0.9359 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/2.346, allocations: 357.2 kB / 0.9363 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004003/2.35, allocations: 1.431 MB / 0.9377 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/2.351, allocations: 39.97 kB / 0.9377 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007446/2.358, allocations: 5.322 MB / 0.9429 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/2.358, allocations: 4.781 kB / 0.9429 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/2.363, allocations: 2.608 MB / 0.9455 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000855/2.364, allocations: 450.5 kB / 0.9459 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/2.364, allocations: 31.98 kB / 0.9459 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/2.366, allocations: 55.95 kB / 0.946 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/2.366, allocations: 124.2 kB / 0.9461 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/2.366, allocations: 47.98 kB / 0.9461 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001258/2.367, allocations: 0.9424 MB / 0.9471 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/2.367, allocations: 0 / 0.9471 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004825/2.372, allocations: 2.018 MB / 0.949 GB, free: 12.37 MB / 0.7794 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.005923/2.378, allocations: 2.342 MB / 0.9513 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005284/2.383, allocations: 2.663 MB / 0.9539 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.383, allocations: 3.094 kB / 0.9539 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/2.386, allocations: 1.338 MB / 0.9552 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/2.387, allocations: 361.8 kB / 0.9556 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/2.392, allocations: 3.096 MB / 0.9586 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/2.393, allocations: 1.376 MB / 0.9599 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/2.393, allocations: 139.4 kB / 0.9601 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of SimCode: time 8.32e-07/2.393, allocations: 0 / 0.9601 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.2266/2.62, allocations: 58.15 MB / 1.017 GB, free: 434.5 MB / 0.8262 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)