Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.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.5116/0.5116, allocations: 111.6 MB / 131.5 MB, free: 4.91 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_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 176.6 MB, free: 8.938 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.121e-05, allocations: 5.047 kB / 176.6 MB, free: 8.934 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_4): time 1.108/1.108, allocations: 262.9 MB / 439.5 MB, free: 15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02693/1.134, allocations: 29.9 MB / 469.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/1.135, allocations: 4 kB / 469.5 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/SourceTorque.mo:5:3-6: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.0003481/1.135, allocations: 115.2 kB / 469.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/1.135, allocations: 121.1 kB / 469.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01557/1.151, allocations: 7.662 MB / 477.4 MB, free: 9.055 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/1.151, allocations: 474.1 kB / 477.8 MB, free: 8.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/1.152, allocations: 187.3 kB / 478 MB, free: 8.406 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/1.152, allocations: 287.2 kB / 478.3 MB, free: 8.125 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/1.152, allocations: 147.6 kB / 478.4 MB, free: 7.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/1.152, allocations: 32 kB / 478.5 MB, free: 7.949 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.223/1.375, allocations: 15.41 MB / 493.9 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/1.375, allocations: 199.9 kB / 494.1 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/1.375, allocations: 158.3 kB / 494.2 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/1.388, allocations: 9.907 MB / 0.4923 GB, free: 9.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.388, allocations: 0 / 0.4923 GB, free: 9.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.388, allocations: 0 / 0.4923 GB, free: 9.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/1.388, allocations: 5.406 kB / 0.4923 GB, free: 9.191 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003577/1.392, allocations: 1.804 MB / 0.4941 GB, free: 8.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.392, allocations: 12.7 kB / 0.4941 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/1.392, allocations: 76.89 kB / 0.4942 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/1.392, allocations: 355.4 kB / 0.4945 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.392, allocations: 25.59 kB / 0.4945 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/1.392, allocations: 33.62 kB / 0.4946 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/1.392, allocations: 353.3 kB / 0.4949 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.392, allocations: 4.812 kB / 0.4949 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/1.392, allocations: 11.5 kB / 0.4949 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.392, allocations: 14.7 kB / 0.4949 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/1.393, allocations: 208.2 kB / 0.4951 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/1.393, allocations: 1.147 MB / 0.4962 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/1.394, allocations: 317 kB / 0.4965 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/1.394, allocations: 96.28 kB / 0.4966 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03352/1.428, allocations: 20.34 MB / 0.5165 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.428, allocations: 42.55 kB / 0.5165 GB, free: 7.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 3.697e-06/1.428, allocations: 0.75 kB / 0.5165 GB, free: 7.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.00109/1.429, allocations: 0.545 MB / 0.5171 GB, free: 7.078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/1.429, allocations: 63.28 kB / 0.5171 GB, free: 7.004 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/1.429, allocations: 0.5819 MB / 0.5177 GB, free: 6.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/1.429, allocations: 29.7 kB / 0.5177 GB, free: 6.484 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.429, allocations: 245 kB / 0.518 GB, free: 6.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/1.429, allocations: 140.2 kB / 0.5181 GB, free: 6.145 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/1.429, allocations: 66.69 kB / 0.5182 GB, free: 6.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/1.429, allocations: 326.4 kB / 0.5185 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/1.43, allocations: 88.11 kB / 0.5186 GB, free: 5.684 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/1.43, allocations: 130.4 kB / 0.5187 GB, free: 5.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/1.43, allocations: 235.6 kB / 0.5189 GB, free: 5.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.43, allocations: 0 / 0.5189 GB, free: 5.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007128/1.431, allocations: 415.1 kB / 0.5193 GB, free: 4.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.431, allocations: 8 kB / 0.5193 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.431, allocations: 0 / 0.5193 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.433, allocations: 0.7338 MB / 0.52 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/1.433, allocations: 50.95 kB / 0.5201 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005952/1.433, allocations: 0.9837 MB / 0.521 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/1.433, allocations: 40.36 kB / 0.5211 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.433, allocations: 11.98 kB / 0.5211 GB, free: 3.098 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,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.434, allocations: 132.1 kB / 0.5212 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/1.434, allocations: 47.95 kB / 0.5213 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/1.434, allocations: 492.1 kB / 0.5217 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002423/1.434, allocations: 296.3 kB / 0.522 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/1.434, allocations: 0 / 0.522 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.434, allocations: 7.984 kB / 0.522 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/1.435, allocations: 0.9051 MB / 0.5229 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.435, allocations: 3.938 kB / 0.5229 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.435, allocations: 70.84 kB / 0.523 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007724/1.436, allocations: 324.5 kB / 0.5233 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.436, allocations: 13.05 kB / 0.5233 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003786/1.437, allocations: 0.6805 MB / 0.524 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.437, allocations: 0 / 0.524 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/1.437, allocations: 0.6586 MB / 0.5246 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/1.437, allocations: 90.34 kB / 0.5247 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/1.437, allocations: 15.98 kB / 0.5247 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.437, allocations: 8 kB / 0.5247 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/1.437, allocations: 27.94 kB / 0.5247 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/1.437, allocations: 14.42 kB / 0.5248 GB, free: 15.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001813/1.438, allocations: 279.5 kB / 0.525 GB, free: 15.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.438, allocations: 32 / 0.525 GB, free: 15.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002734/1.44, allocations: 1.177 MB / 0.5262 GB, free: 13.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003343/1.444, allocations: 1.9 MB / 0.528 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/1.444, allocations: 364.1 kB / 0.5284 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.444, allocations: 8 kB / 0.5284 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/1.444, allocations: 212.6 kB / 0.5286 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/1.445, allocations: 93.95 kB / 0.5287 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.446, allocations: 1.339 MB / 0.53 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/1.446, allocations: 189.5 kB / 0.5302 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.825e-05/1.446, allocations: 37.41 kB / 0.5302 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.447, allocations: 110.6 kB / 0.5303 GB, free: 9.93 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/1.447, allocations: 0 / 0.5303 GB, free: 9.93 MB / 458.7 MB Notification: Performance of Templates: time 0.04544/1.492, allocations: 47.63 MB / 0.5768 GB, free: 10.57 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.940182873047888]