Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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.5663/0.5663, allocations: 111.6 MB / 131.5 MB, free: 4.93 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.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 176.6 MB, free: 8.953 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.753e-05, allocations: 2.312 kB / 176.6 MB, free: 8.949 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.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2): time 1.166/1.166, allocations: 262.9 MB / 439.5 MB, free: 15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02739/1.193, allocations: 29.9 MB / 469.4 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/1.193, allocations: 4 kB / 469.4 MB, free: 0.9844 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/Sink.mo:10:3-11:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:6:3-7:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003463/1.194, allocations: 115.2 kB / 469.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/1.194, allocations: 121.1 kB / 469.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01539/1.209, allocations: 7.674 MB / 477.4 MB, free: 9.043 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/1.21, allocations: 454.1 kB / 477.8 MB, free: 8.598 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/1.21, allocations: 175.7 kB / 478 MB, free: 8.426 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/1.21, allocations: 283.2 kB / 478.2 MB, free: 8.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/1.211, allocations: 131.6 kB / 478.4 MB, free: 8.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/1.211, allocations: 32 kB / 478.4 MB, free: 7.988 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.2126/1.423, allocations: 15.4 MB / 493.8 MB, free: 9.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/1.424, allocations: 196.2 kB / 494 MB, free: 9.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/1.424, allocations: 153.2 kB / 494.1 MB, free: 9.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01746/1.441, allocations: 9.88 MB / 0.4922 GB, free: 9.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.441, allocations: 0 / 0.4922 GB, free: 9.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.441, allocations: 0.8125 kB / 0.4922 GB, free: 9.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/1.441, allocations: 0 / 0.4922 GB, free: 9.137 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004818/1.446, allocations: 1.779 MB / 0.494 GB, free: 8.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/1.446, allocations: 15.52 kB / 0.494 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/1.446, allocations: 81.02 kB / 0.494 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/1.446, allocations: 355 kB / 0.4944 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/1.446, allocations: 22.78 kB / 0.4944 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.446, allocations: 31.47 kB / 0.4944 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/1.447, allocations: 415.8 kB / 0.4948 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.447, allocations: 1.344 kB / 0.4948 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.447, allocations: 13.62 kB / 0.4948 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.447, allocations: 13.28 kB / 0.4949 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/1.447, allocations: 280.9 kB / 0.4951 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/1.448, allocations: 1.663 MB / 0.4967 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/1.449, allocations: 401.3 kB / 0.4971 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/1.449, allocations: 130.2 kB / 0.4973 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03731/1.486, allocations: 20.36 MB / 0.5171 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/1.486, allocations: 30.56 kB / 0.5172 GB, free: 6.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.885e-06/1.486, allocations: 0 / 0.5172 GB, free: 6.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001543/1.488, allocations: 0.768 MB / 0.5179 GB, free: 6.152 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.488, allocations: 55.41 kB / 0.518 GB, free: 6.086 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/1.488, allocations: 0.5672 MB / 0.5185 GB, free: 5.609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/1.488, allocations: 29.7 kB / 0.5186 GB, free: 5.574 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.489, allocations: 248.7 kB / 0.5188 GB, free: 5.363 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/1.489, allocations: 135.9 kB / 0.5189 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/1.489, allocations: 61.22 kB / 0.519 GB, free: 5.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/1.489, allocations: 321.6 kB / 0.5193 GB, free: 4.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/1.489, allocations: 108.5 kB / 0.5194 GB, free: 4.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.489, allocations: 158.2 kB / 0.5195 GB, free: 4.598 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/1.489, allocations: 286.5 kB / 0.5198 GB, free: 4.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.489, allocations: 0 / 0.5198 GB, free: 4.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004307/1.49, allocations: 450.8 kB / 0.5202 GB, free: 3.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.49, allocations: 4 kB / 0.5202 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/1.49, allocations: 0 / 0.5202 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/1.491, allocations: 0.6853 MB / 0.5209 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.492, allocations: 40.47 kB / 0.521 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000646/1.492, allocations: 0.9567 MB / 0.5219 GB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/1.492, allocations: 35.77 kB / 0.5219 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.492, allocations: 8.75 kB / 0.5219 GB, free: 2.172 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001496/1.492, allocations: 127.7 kB / 0.5221 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/1.493, allocations: 51.94 kB / 0.5221 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005873/1.493, allocations: 0.5873 MB / 0.5227 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003499/1.493, allocations: 407.7 kB / 0.5231 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/1.493, allocations: 0 / 0.5231 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.493, allocations: 4.969 kB / 0.5231 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/1.495, allocations: 1.156 MB / 0.5242 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.495, allocations: 3.984 kB / 0.5242 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/1.495, allocations: 39.98 kB / 0.5242 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008975/1.496, allocations: 442.3 kB / 0.5247 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/1.496, allocations: 8.516 kB / 0.5247 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005774/1.496, allocations: 0.9884 MB / 0.5256 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.496, allocations: 0 / 0.5256 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/1.497, allocations: 0.6107 MB / 0.5262 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/1.497, allocations: 88.3 kB / 0.5263 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/1.497, allocations: 11.94 kB / 0.5263 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/1.497, allocations: 11.98 kB / 0.5263 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/1.497, allocations: 24.75 kB / 0.5264 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/1.497, allocations: 11.19 kB / 0.5264 GB, free: 13.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001866/1.497, allocations: 271.6 kB / 0.5266 GB, free: 13.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.497, allocations: 4 kB / 0.5266 GB, free: 13.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003852/1.501, allocations: 1.161 MB / 0.5278 GB, free: 12.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005505/1.506, allocations: 1.893 MB / 0.5296 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000677/1.507, allocations: 416.8 kB / 0.53 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.507, allocations: 8 kB / 0.53 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/1.507, allocations: 246 kB / 0.5303 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.508, allocations: 87.92 kB / 0.5303 GB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/1.51, allocations: 1.363 MB / 0.5317 GB, free: 8.492 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/1.51, allocations: 184.8 kB / 0.5318 GB, free: 8.293 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/1.51, allocations: 23.61 kB / 0.5319 GB, free: 8.273 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/1.51, allocations: 95.34 kB / 0.532 GB, free: 8.18 MB / 458.7 MB Notification: Performance of SimCode: time 2.185e-06/1.51, allocations: 0 / 0.532 GB, free: 8.18 MB / 458.7 MB Notification: Performance of Templates: time 0.05326/1.563, allocations: 46.9 MB / 0.5778 GB, free: 9.547 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.252886306028813]