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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.7914/0.7914, allocations: 111.6 MB / 131 MB, free: 5.113 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.252e-05, allocations: 5.125 kB / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.665/1.665, allocations: 255.4 MB / 431.2 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4202/2.085, allocations: 166.2 MB / 0.5834 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/2.085, allocations: 15.88 kB / 0.5834 GB, free: 5.672 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:73:3-74:80: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 master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:77:3-78:78: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 master/Fluid/BoundaryConditions/SourcePQ.mo:44:3-45:78: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 master/Fluid/BoundaryConditions/Sink.mo:29:3-30:80: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.0003998/2.086, allocations: 103.2 kB / 0.5835 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/2.087, allocations: 0.6527 MB / 0.5841 GB, free: 4.914 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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 master/Properties/WaterSteam/IF97_packages.mo:525:9-525: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 master/Properties/WaterSteam/IF97_packages.mo:708:9-708: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88: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.03325/2.121, allocations: 12.23 MB / 0.5961 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004012/2.125, allocations: 3.217 MB / 0.5992 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/2.126, allocations: 1.134 MB / 0.6003 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/2.128, allocations: 1.369 MB / 0.6017 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/2.13, allocations: 1.087 MB / 0.6027 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003309/2.13, allocations: 208 kB / 0.6029 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03776/2.168, allocations: 19.16 MB / 0.6216 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.00126/2.169, allocations: 0.9588 MB / 0.6226 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/2.171, allocations: 0.8499 MB / 0.6234 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.03083/2.202, allocations: 14.79 MB / 0.6378 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/2.202, allocations: 0 / 0.6378 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.663e-06/2.202, allocations: 4 kB / 0.6378 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.645e-05/2.202, allocations: 0 / 0.6378 GB, free: 13.79 MB / 0.5573 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.01049/2.212, allocations: 3.575 MB / 0.6413 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/2.212, allocations: 11.98 kB / 0.6413 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/2.215, allocations: 0.5298 MB / 0.6419 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/2.216, allocations: 0.8409 MB / 0.6427 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007726/2.217, allocations: 0.705 MB / 0.6434 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/2.217, allocations: 184 kB / 0.6435 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00591/2.223, allocations: 3.159 MB / 0.6466 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/2.223, allocations: 15.88 kB / 0.6466 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/2.224, allocations: 80 kB / 0.6467 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/2.224, allocations: 52 kB / 0.6468 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006319/2.23, allocations: 3.15 MB / 0.6499 GB, free: 1.016 MB / 0.5573 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.01962/2.25, allocations: 12.1 MB / 0.6617 GB, free: 4.562 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/2.258, allocations: 2.249 MB / 0.6639 GB, free: 2.309 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/2.26, allocations: 0.8362 MB / 0.6647 GB, free: 1.473 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1574/2.417, allocations: 45.21 MB / 0.7088 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/2.417, allocations: 47.88 kB / 0.7089 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/2.417, allocations: 0 / 0.7089 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.02132/2.439, allocations: 5.813 MB / 0.7146 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/2.439, allocations: 64.72 kB / 0.7146 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/2.44, allocations: 0.9691 MB / 0.7156 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/2.44, allocations: 45.7 kB / 0.7156 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007143/2.441, allocations: 0.8313 MB / 0.7164 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/2.442, allocations: 0.5383 MB / 0.7169 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/2.442, allocations: 431.4 kB / 0.7174 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001853/2.442, allocations: 334 kB / 0.7177 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/2.445, allocations: 0.9253 MB / 0.7186 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/2.447, allocations: 1.631 MB / 0.7202 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004965/2.452, allocations: 2.7 MB / 0.7228 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/2.452, allocations: 8 kB / 0.7228 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007295/2.46, allocations: 3.416 MB / 0.7262 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/2.46, allocations: 16 kB / 0.7262 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/2.46, allocations: 20 kB / 0.7262 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00482/2.464, allocations: 1.585 MB / 0.7277 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1484/2.613, allocations: 0.5914 MB / 0.7283 GB, free: 307 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/2.62, allocations: 5.261 MB / 0.7335 GB, free: 304.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/2.621, allocations: 245.7 kB / 0.7337 GB, free: 304.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/2.622, allocations: 120.9 kB / 0.7338 GB, free: 304.6 MB / 0.6355 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.0007032/2.622, allocations: 0.5262 MB / 0.7343 GB, free: 304.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/2.623, allocations: 180.3 kB / 0.7345 GB, free: 304.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/2.628, allocations: 2.715 MB / 0.7371 GB, free: 303.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/2.628, allocations: 14.09 kB / 0.7372 GB, free: 303.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/2.628, allocations: 3.531 kB / 0.7372 GB, free: 303.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/2.628, allocations: 6.984 kB / 0.7372 GB, free: 303.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/2.634, allocations: 3.931 MB / 0.741 GB, free: 301.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/2.634, allocations: 7.219 kB / 0.741 GB, free: 301.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/2.636, allocations: 346.5 kB / 0.7413 GB, free: 301.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003783/2.64, allocations: 1.449 MB / 0.7428 GB, free: 300.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/2.64, allocations: 39.98 kB / 0.7428 GB, free: 300.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/2.646, allocations: 5.222 MB / 0.7479 GB, free: 294.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.646, allocations: 0 / 0.7479 GB, free: 294.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/2.65, allocations: 2.602 MB / 0.7504 GB, free: 292.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/2.651, allocations: 342.8 kB / 0.7508 GB, free: 292 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/2.651, allocations: 34.23 kB / 0.7508 GB, free: 292 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/2.652, allocations: 63.66 kB / 0.7509 GB, free: 291.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/2.652, allocations: 133 kB / 0.751 GB, free: 291.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/2.652, allocations: 47.98 kB / 0.751 GB, free: 291.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006089/2.653, allocations: 0.5966 MB / 0.7516 GB, free: 291.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/2.653, allocations: 0 / 0.7516 GB, free: 291.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004687/2.658, allocations: 2.089 MB / 0.7536 GB, free: 289.3 MB / 0.6355 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.00564/2.663, allocations: 2.56 MB / 0.7561 GB, free: 287.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004703/2.668, allocations: 2.547 MB / 0.7586 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.668, allocations: 0 / 0.7586 GB, free: 284.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/2.67, allocations: 1.278 MB / 0.7599 GB, free: 283.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/2.672, allocations: 367.7 kB / 0.7602 GB, free: 283.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/2.676, allocations: 3.085 MB / 0.7632 GB, free: 280.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/2.676, allocations: 0.7974 MB / 0.764 GB, free: 279.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001215/2.677, allocations: 498.8 kB / 0.7645 GB, free: 279 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/2.678, allocations: 108.4 kB / 0.7646 GB, free: 278.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/2.678, allocations: 0 / 0.7646 GB, free: 278.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.0762/2.754, allocations: 75.38 MB / 0.8382 GB, free: 203.9 MB / 0.6355 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.613360567949712]