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.5393/0.5393, allocations: 111.6 MB / 131.5 MB, free: 4.402 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.954e-06/1.954e-06, allocations: 0 / 176.6 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.946e-05, allocations: 4.984 kB / 176.6 MB, free: 8.926 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.129/1.129, allocations: 262.9 MB / 439.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03389/1.162, allocations: 29.91 MB / 469.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/1.163, allocations: 0 / 469.4 MB, free: 1.031 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.0003642/1.163, allocations: 107.3 kB / 469.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/1.163, allocations: 133 kB / 469.6 MB, free: 0.793 MB / 410.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01874/1.182, allocations: 8.762 MB / 478.3 MB, free: 8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005454/1.183, allocations: 454.1 kB / 478.8 MB, free: 7.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/1.183, allocations: 179.7 kB / 479 MB, free: 7.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/1.183, allocations: 279.2 kB / 479.2 MB, free: 7.102 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/1.183, allocations: 131.6 kB / 479.4 MB, free: 6.973 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/1.183, allocations: 39.94 kB / 479.4 MB, free: 6.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2376/1.421, allocations: 14.27 MB / 493.7 MB, free: 9.625 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/1.421, allocations: 194.2 kB / 493.9 MB, free: 9.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/1.421, allocations: 148 kB / 494 MB, free: 9.625 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/1.437, allocations: 9.877 MB / 0.4921 GB, free: 9.336 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.437, allocations: 0 / 0.4921 GB, free: 9.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/1.437, allocations: 2.312 kB / 0.4921 GB, free: 9.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/1.437, allocations: 0.5938 kB / 0.4921 GB, free: 9.336 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.005451/1.443, allocations: 1.787 MB / 0.4938 GB, free: 8.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.443, allocations: 15.98 kB / 0.4938 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/1.443, allocations: 80.95 kB / 0.4939 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/1.443, allocations: 350 kB / 0.4943 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/1.443, allocations: 27.72 kB / 0.4943 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/1.443, allocations: 29.78 kB / 0.4943 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/1.444, allocations: 413.3 kB / 0.4947 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.444, allocations: 0 / 0.4947 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/1.444, allocations: 17.19 kB / 0.4947 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/1.444, allocations: 11.5 kB / 0.4947 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/1.444, allocations: 280.7 kB / 0.495 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/1.445, allocations: 1.674 MB / 0.4966 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/1.445, allocations: 400.5 kB / 0.497 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.445, allocations: 135.5 kB / 0.4971 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03372/1.479, allocations: 20.34 MB / 0.517 GB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.479, allocations: 42.55 kB / 0.5171 GB, free: 7.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.295e-06/1.479, allocations: 0 / 0.5171 GB, free: 7.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001611/1.481, allocations: 0.7626 MB / 0.5178 GB, free: 6.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.481, allocations: 55.39 kB / 0.5179 GB, free: 6.461 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/1.481, allocations: 0.5706 MB / 0.5184 GB, free: 5.984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.481, allocations: 29.7 kB / 0.5184 GB, free: 5.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.482, allocations: 244.6 kB / 0.5187 GB, free: 5.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/1.482, allocations: 132.2 kB / 0.5188 GB, free: 5.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/1.482, allocations: 70.47 kB / 0.5189 GB, free: 5.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/1.482, allocations: 320.6 kB / 0.5192 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/1.482, allocations: 99.95 kB / 0.5193 GB, free: 5.137 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.482, allocations: 161.8 kB / 0.5194 GB, free: 4.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/1.482, allocations: 287.5 kB / 0.5197 GB, free: 4.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.482, allocations: 3.938 kB / 0.5197 GB, free: 4.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005772/1.483, allocations: 452.5 kB / 0.5201 GB, free: 4.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.483, allocations: 4 kB / 0.5201 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.483, allocations: 4 kB / 0.5201 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/1.485, allocations: 0.6812 MB / 0.5208 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/1.485, allocations: 27.98 kB / 0.5208 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006991/1.486, allocations: 0.962 MB / 0.5218 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/1.486, allocations: 31.78 kB / 0.5218 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/1.486, allocations: 12.48 kB / 0.5218 GB, free: 2.543 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.000161/1.486, allocations: 132.5 kB / 0.5219 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/1.486, allocations: 43.95 kB / 0.522 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/1.487, allocations: 0.5929 MB / 0.5226 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003711/1.487, allocations: 410 kB / 0.5229 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.487, allocations: 3.984 kB / 0.523 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.487, allocations: 3.938 kB / 0.523 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/1.489, allocations: 1.144 MB / 0.5241 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.489, allocations: 8.688 kB / 0.5241 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/1.489, allocations: 35.98 kB / 0.5241 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009622/1.49, allocations: 431 kB / 0.5245 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/1.49, allocations: 19 kB / 0.5245 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/1.49, allocations: 0.983 MB / 0.5255 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.49, allocations: 0 / 0.5255 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/1.491, allocations: 0.6128 MB / 0.5261 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/1.491, allocations: 83.86 kB / 0.5262 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/1.491, allocations: 11.94 kB / 0.5262 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/1.491, allocations: 15.98 kB / 0.5262 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/1.491, allocations: 25.86 kB / 0.5262 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.491, allocations: 4 kB / 0.5262 GB, free: 14.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001963/1.491, allocations: 277.8 kB / 0.5265 GB, free: 13.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.491, allocations: 3.281 kB / 0.5265 GB, free: 13.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004288/1.495, allocations: 1.161 MB / 0.5276 GB, free: 12.65 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.003464/1.499, allocations: 1.88 MB / 0.5295 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004781/1.499, allocations: 421.4 kB / 0.5299 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.499, allocations: 4 kB / 0.5299 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/1.5, allocations: 243.8 kB / 0.5301 GB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/1.5, allocations: 88.34 kB / 0.5302 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/1.502, allocations: 1.361 MB / 0.5315 GB, free: 8.902 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/1.502, allocations: 188.8 kB / 0.5317 GB, free: 8.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.578e-05/1.502, allocations: 24.58 kB / 0.5317 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.502, allocations: 95.3 kB / 0.5318 GB, free: 8.578 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/1.502, allocations: 4 kB / 0.5318 GB, free: 8.574 MB / 458.7 MB Notification: Performance of Templates: time 0.04689/1.549, allocations: 46.9 MB / 0.5776 GB, free: 9.938 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.160815071314573]