Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.8187/0.8187, allocations: 111.6 MB / 131 MB, free: 5.094 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.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 175.7 MB, free: 9.461 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.707e-05, allocations: 8.875 kB / 175.7 MB, free: 9.453 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.SimpleExamples.TestCentrifugalPump9): time 1.707/1.707, allocations: 254.8 MB / 430.5 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04465/1.751, allocations: 29.83 MB / 460.4 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/1.752, allocations: 4 kB / 460.4 MB, free: 2.59 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/SourceMechanicalPower.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.0003855/1.752, allocations: 111.3 kB / 460.5 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/1.752, allocations: 117.1 kB / 460.6 MB, free: 2.367 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.02273/1.775, allocations: 8.673 MB / 469.3 MB, free: 9.656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006697/1.776, allocations: 430.2 kB / 469.7 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/1.776, allocations: 172.8 kB / 469.8 MB, free: 9.062 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/1.776, allocations: 263.3 kB / 470.1 MB, free: 8.805 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/1.777, allocations: 135.6 kB / 470.2 MB, free: 8.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/1.777, allocations: 28 kB / 470.3 MB, free: 8.645 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02799/1.805, allocations: 14.28 MB / 484.5 MB, free: 10.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/1.805, allocations: 187.3 kB / 484.7 MB, free: 10.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/1.805, allocations: 151.4 kB / 484.9 MB, free: 10.01 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2007/2.006, allocations: 10.01 MB / 494.9 MB, free: 23.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/2.006, allocations: 0 / 494.9 MB, free: 23.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.592e-06/2.006, allocations: 0 / 494.9 MB, free: 23.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/2.006, allocations: 3.5 kB / 494.9 MB, free: 23.23 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.003828/2.01, allocations: 1.943 MB / 496.8 MB, free: 22.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/2.01, allocations: 13.2 kB / 496.8 MB, free: 22.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/2.01, allocations: 120.6 kB / 497 MB, free: 22.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/2.01, allocations: 368.3 kB / 497.3 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/2.01, allocations: 23.77 kB / 497.3 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/2.01, allocations: 30.62 kB / 497.4 MB, free: 21.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/2.011, allocations: 0.5556 MB / 497.9 MB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/2.011, allocations: 0.9688 kB / 497.9 MB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/2.011, allocations: 11.72 kB / 497.9 MB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/2.011, allocations: 14.12 kB / 498 MB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/2.012, allocations: 0.522 MB / 498.5 MB, free: 21.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/2.014, allocations: 2.586 MB / 0.4893 GB, free: 20.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/2.015, allocations: 0.7222 MB / 0.49 GB, free: 20.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/2.015, allocations: 253 kB / 0.4903 GB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07348/2.089, allocations: 22.68 MB / 0.5124 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/2.089, allocations: 39.44 kB / 0.5125 GB, free: 15.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/2.089, allocations: 3.281 kB / 0.5125 GB, free: 15.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.004484/2.093, allocations: 1.627 MB / 0.5141 GB, free: 14.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/2.093, allocations: 56.34 kB / 0.5141 GB, free: 14.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/2.094, allocations: 0.7802 MB / 0.5149 GB, free: 13.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/2.094, allocations: 29.52 kB / 0.5149 GB, free: 13.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/2.094, allocations: 442.4 kB / 0.5153 GB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/2.094, allocations: 141.5 kB / 0.5155 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/2.094, allocations: 81.33 kB / 0.5155 GB, free: 13.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/2.094, allocations: 0.4955 MB / 0.516 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/2.095, allocations: 233.5 kB / 0.5162 GB, free: 12.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/2.095, allocations: 303.7 kB / 0.5165 GB, free: 12.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/2.095, allocations: 0.5321 MB / 0.517 GB, free: 12.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.095, allocations: 0.6875 kB / 0.517 GB, free: 12.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009307/2.096, allocations: 0.8921 MB / 0.5179 GB, free: 11.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/2.096, allocations: 8 kB / 0.5179 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/2.096, allocations: 0 / 0.5179 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004449/2.101, allocations: 0.9951 MB / 0.5189 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/2.101, allocations: 15.28 kB / 0.5189 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/2.102, allocations: 2.042 MB / 0.5209 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/2.102, allocations: 30.03 kB / 0.5209 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/2.103, allocations: 12.88 kB / 0.5209 GB, free: 8.918 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 (11): * Single equations (assignments): 10 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/2.103, allocations: 193.3 kB / 0.5211 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/2.103, allocations: 86.8 kB / 0.5212 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/2.104, allocations: 0.9931 MB / 0.5222 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009998/2.105, allocations: 0.8441 MB / 0.523 GB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.105, allocations: 4 kB / 0.523 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/2.105, allocations: 5.625 kB / 0.523 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/2.107, allocations: 2.032 MB / 0.525 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/2.107, allocations: 4 kB / 0.525 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/2.107, allocations: 16 kB / 0.525 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/2.11, allocations: 0.6965 MB / 0.5257 GB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/2.11, allocations: 15.98 kB / 0.5257 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/2.111, allocations: 2.04 MB / 0.5277 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/2.111, allocations: 0 / 0.5277 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/2.112, allocations: 1.117 MB / 0.5288 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/2.112, allocations: 100.1 kB / 0.5289 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/2.112, allocations: 12 kB / 0.5289 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/2.113, allocations: 12.86 kB / 0.5289 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/2.113, allocations: 19.95 kB / 0.5289 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/2.113, allocations: 12 kB / 0.5289 GB, free: 1.242 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003174/2.113, allocations: 459 kB / 0.5294 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/2.113, allocations: 0 / 0.5294 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002548/2.116, allocations: 1.161 MB / 0.5305 GB, free: 15.64 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 (15): * Single equations (assignments): 14 * 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,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004757/2.12, allocations: 1.768 MB / 0.5322 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/2.122, allocations: 0.6766 MB / 0.5329 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/2.122, allocations: 320 / 0.5329 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008053/2.122, allocations: 401.5 kB / 0.5333 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/2.123, allocations: 87.23 kB / 0.5334 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/2.125, allocations: 1.394 MB / 0.5347 GB, free: 11.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/2.126, allocations: 365.5 kB / 0.5351 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.581e-05/2.126, allocations: 16.12 kB / 0.5351 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/2.126, allocations: 26.36 kB / 0.5351 GB, free: 11.1 MB / 458.7 MB Notification: Performance of SimCode: time 9.458e-06/2.126, allocations: 0 / 0.5351 GB, free: 11.1 MB / 458.7 MB Notification: Performance of Templates: time 0.06696/2.193, allocations: 41.28 MB / 0.5754 GB, free: 2.012 MB / 490.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.055672548012808]