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.7789/0.7789, allocations: 111.6 MB / 131 MB, free: 5.086 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.913e-06/1.913e-06, allocations: 0 / 175.7 MB, free: 9.516 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.586e-05, allocations: 5.125 kB / 175.7 MB, free: 9.512 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.664/1.664, allocations: 254.6 MB / 430.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04545/1.71, allocations: 27.79 MB / 458 MB, free: 4.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/1.71, allocations: 0 / 458 MB, free: 4.672 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.000433/1.71, allocations: 103.3 kB / 458.1 MB, free: 4.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/1.711, allocations: 137 kB / 458.3 MB, free: 4.438 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.02525/1.736, allocations: 8.669 MB / 466.9 MB, free: 11.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000757/1.737, allocations: 466 kB / 467.4 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/1.737, allocations: 173.8 kB / 467.6 MB, free: 11.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/1.737, allocations: 275.3 kB / 467.8 MB, free: 10.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/1.738, allocations: 139.6 kB / 468 MB, free: 10.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/1.738, allocations: 28 kB / 468 MB, free: 10.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03034/1.768, allocations: 14.29 MB / 482.3 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/1.768, allocations: 199.3 kB / 482.5 MB, free: 12.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/1.769, allocations: 147.4 kB / 482.6 MB, free: 12.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02318/1.792, allocations: 10.05 MB / 492.7 MB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.792, allocations: 0 / 492.7 MB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.792, allocations: 0 / 492.7 MB, free: 1.941 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/1.792, allocations: 0 / 492.7 MB, free: 1.941 MB / 442.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.004795/1.797, allocations: 1.818 MB / 494.5 MB, free: 84 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.797, allocations: 11.98 kB / 494.5 MB, free: 72 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1531/1.95, allocations: 122.7 kB / 494.6 MB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/1.95, allocations: 376 kB / 495 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/1.95, allocations: 23.31 kB / 495 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/1.95, allocations: 29.81 kB / 495 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/1.951, allocations: 0.5689 MB / 495.6 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.951, allocations: 0 / 495.6 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/1.951, allocations: 16.72 kB / 495.6 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/1.951, allocations: 11.81 kB / 495.6 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/1.952, allocations: 0.6166 MB / 496.2 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/1.954, allocations: 1.957 MB / 498.2 MB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.955, allocations: 0.7733 MB / 499 MB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/1.955, allocations: 272.7 kB / 499.2 MB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06737/2.023, allocations: 22.64 MB / 0.5096 GB, free: 86.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/2.023, allocations: 34.56 kB / 0.5097 GB, free: 86.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/2.023, allocations: 0 / 0.5097 GB, free: 86.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.004157/2.027, allocations: 1.48 MB / 0.5111 GB, free: 85.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/2.027, allocations: 55.41 kB / 0.5112 GB, free: 85.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/2.027, allocations: 0.7206 MB / 0.5119 GB, free: 84.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/2.028, allocations: 29.7 kB / 0.5119 GB, free: 84.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/2.028, allocations: 374.5 kB / 0.5123 GB, free: 83.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/2.028, allocations: 125.4 kB / 0.5124 GB, free: 83.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/2.028, allocations: 65.64 kB / 0.5124 GB, free: 83.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/2.028, allocations: 322 kB / 0.5128 GB, free: 83.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/2.028, allocations: 263.9 kB / 0.513 GB, free: 83.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/2.029, allocations: 313 kB / 0.5133 GB, free: 82.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/2.029, allocations: 0.5763 MB / 0.5139 GB, free: 82.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/2.029, allocations: 0.7656 kB / 0.5139 GB, free: 82.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001252/2.031, allocations: 0.8872 MB / 0.5147 GB, free: 81.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/2.031, allocations: 8 kB / 0.5147 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/2.031, allocations: 3.938 kB / 0.5147 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/2.035, allocations: 0.8066 MB / 0.5155 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/2.035, allocations: 35.91 kB / 0.5156 GB, free: 80.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/2.036, allocations: 1.277 MB / 0.5168 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/2.037, allocations: 39.67 kB / 0.5169 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/2.037, allocations: 16 kB / 0.5169 GB, free: 79.15 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 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.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.0002217/2.037, allocations: 241.7 kB / 0.5171 GB, free: 78.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/2.037, allocations: 87.48 kB / 0.5172 GB, free: 78.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/2.038, allocations: 1.034 MB / 0.5182 GB, free: 77.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001216/2.04, allocations: 0.8517 MB / 0.519 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/2.04, allocations: 0.6562 kB / 0.519 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/2.04, allocations: 3.984 kB / 0.519 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/2.042, allocations: 1.773 MB / 0.5208 GB, free: 75.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.042, allocations: 0.9375 kB / 0.5208 GB, free: 75.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/2.042, allocations: 47.91 kB / 0.5208 GB, free: 75.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/2.044, allocations: 0.5562 MB / 0.5213 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/2.044, allocations: 15.98 kB / 0.5214 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/2.045, allocations: 1.306 MB / 0.5226 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.045, allocations: 0 / 0.5226 GB, free: 73.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/2.047, allocations: 1.045 MB / 0.5237 GB, free: 72.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/2.047, allocations: 106.1 kB / 0.5238 GB, free: 72.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/2.047, allocations: 8.562 kB / 0.5238 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/2.047, allocations: 16.78 kB / 0.5238 GB, free: 71.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/2.047, allocations: 23.95 kB / 0.5238 GB, free: 71.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/2.047, allocations: 20.61 kB / 0.5238 GB, free: 71.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004022/2.048, allocations: 0.5029 MB / 0.5243 GB, free: 71.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/2.048, allocations: 0 / 0.5243 GB, free: 71.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002581/2.05, allocations: 1.164 MB / 0.5255 GB, free: 70.29 MB / 442.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.004101/2.054, allocations: 1.765 MB / 0.5272 GB, free: 68.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/2.056, allocations: 0.6998 MB / 0.5279 GB, free: 68.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/2.056, allocations: 0 / 0.5279 GB, free: 68.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000678/2.056, allocations: 395 kB / 0.5282 GB, free: 67.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/2.057, allocations: 97.38 kB / 0.5283 GB, free: 67.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/2.059, allocations: 1.587 MB / 0.5299 GB, free: 65.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/2.059, allocations: 389.1 kB / 0.5303 GB, free: 65.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.246e-05/2.059, allocations: 22.83 kB / 0.5303 GB, free: 65.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/2.059, allocations: 20.5 kB / 0.5303 GB, free: 65.51 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/2.059, allocations: 0 / 0.5303 GB, free: 65.51 MB / 442.7 MB Notification: Performance of Templates: time 0.04339/2.103, allocations: 40.58 MB / 0.5699 GB, free: 25.1 MB / 442.7 MB " [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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.155128112994134]