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.782/0.782, allocations: 111.6 MB / 131 MB, free: 5.113 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 2.394e-06/2.394e-06, allocations: 0 / 175.7 MB, free: 9.523 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.585e-05, allocations: 2.312 kB / 175.7 MB, free: 9.52 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.667/1.667, allocations: 254.6 MB / 430.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0442/1.712, allocations: 27.78 MB / 458 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/1.712, allocations: 0 / 458 MB, free: 4.637 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.0004668/1.712, allocations: 119.2 kB / 458.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/1.713, allocations: 121.1 kB / 458.3 MB, free: 4.402 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.02496/1.737, allocations: 8.673 MB / 466.9 MB, free: 11.69 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/1.738, allocations: 478.1 kB / 467.4 MB, free: 11.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/1.739, allocations: 181.4 kB / 467.6 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/1.739, allocations: 283.2 kB / 467.9 MB, free: 10.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/1.739, allocations: 151.6 kB / 468 MB, free: 10.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/1.739, allocations: 32 kB / 468 MB, free: 10.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02975/1.769, allocations: 14.31 MB / 482.3 MB, free: 12.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/1.769, allocations: 195.3 kB / 482.5 MB, free: 12.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/1.77, allocations: 163.3 kB / 482.7 MB, free: 11.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/1.791, allocations: 10.07 MB / 492.8 MB, free: 1.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.791, allocations: 4 kB / 492.8 MB, free: 1.805 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.791, allocations: 0 / 492.8 MB, free: 1.805 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/1.791, allocations: 0 / 492.8 MB, free: 1.805 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.1716/1.963, allocations: 1.837 MB / 494.6 MB, free: 109.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.963, allocations: 11.92 kB / 494.6 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/1.963, allocations: 120.6 kB / 494.7 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/1.964, allocations: 377.4 kB / 495.1 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/1.964, allocations: 24.44 kB / 495.1 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/1.964, allocations: 34.48 kB / 495.2 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/1.965, allocations: 497 kB / 495.6 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.965, allocations: 2.625 kB / 495.7 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/1.965, allocations: 11.69 kB / 495.7 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/1.965, allocations: 19.59 kB / 495.7 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/1.966, allocations: 498.5 kB / 496.2 MB, free: 109 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/1.967, allocations: 1.481 MB / 497.6 MB, free: 108.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/1.969, allocations: 0.6237 MB / 498.3 MB, free: 108 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/1.969, allocations: 210 kB / 498.5 MB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06642/2.036, allocations: 22.63 MB / 0.5089 GB, free: 87.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/2.036, allocations: 42.55 kB / 0.5089 GB, free: 87.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.234e-06/2.036, allocations: 4 kB / 0.5089 GB, free: 87.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.002948/2.039, allocations: 1.017 MB / 0.5099 GB, free: 86.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/2.039, allocations: 59.41 kB / 0.51 GB, free: 86.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/2.039, allocations: 0.7531 MB / 0.5107 GB, free: 85.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/2.039, allocations: 33.7 kB / 0.5108 GB, free: 85.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/2.04, allocations: 365.7 kB / 0.5111 GB, free: 84.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/2.04, allocations: 129.6 kB / 0.5112 GB, free: 84.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/2.04, allocations: 81.95 kB / 0.5113 GB, free: 84.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/2.04, allocations: 322 kB / 0.5116 GB, free: 84.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/2.04, allocations: 212.7 kB / 0.5118 GB, free: 84.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/2.041, allocations: 277.2 kB / 0.5121 GB, free: 83.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/2.041, allocations: 464.9 kB / 0.5125 GB, free: 83.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/2.041, allocations: 8 kB / 0.5125 GB, free: 83.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001288/2.043, allocations: 0.8113 MB / 0.5133 GB, free: 82.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/2.043, allocations: 4.156 kB / 0.5133 GB, free: 82.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/2.043, allocations: 11.83 kB / 0.5133 GB, free: 82.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/2.047, allocations: 0.8761 MB / 0.5142 GB, free: 81.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/2.047, allocations: 39.91 kB / 0.5142 GB, free: 81.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/2.049, allocations: 1.323 MB / 0.5155 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/2.049, allocations: 55.89 kB / 0.5156 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/2.049, allocations: 12 kB / 0.5156 GB, free: 80.28 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 (sinkP.C.a,sourceP.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 (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.0002345/2.049, allocations: 253.7 kB / 0.5158 GB, free: 80.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/2.049, allocations: 87.48 kB / 0.5159 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/2.051, allocations: 0.7975 MB / 0.5167 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009239/2.052, allocations: 0.6093 MB / 0.5173 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.052, allocations: 7.922 kB / 0.5173 GB, free: 78.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.052, allocations: 4 kB / 0.5173 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/2.054, allocations: 1.382 MB / 0.5186 GB, free: 77.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/2.054, allocations: 0.625 kB / 0.5186 GB, free: 77.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/2.054, allocations: 67.95 kB / 0.5187 GB, free: 77.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/2.056, allocations: 392.4 kB / 0.5191 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/2.056, allocations: 12 kB / 0.5191 GB, free: 76.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006886/2.056, allocations: 0.8201 MB / 0.5199 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.056, allocations: 0 / 0.5199 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/2.058, allocations: 1.133 MB / 0.521 GB, free: 74.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/2.058, allocations: 110.5 kB / 0.5211 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/2.058, allocations: 4 kB / 0.5211 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/2.059, allocations: 24.55 kB / 0.5211 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/2.059, allocations: 28.73 kB / 0.5212 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/2.059, allocations: 8 kB / 0.5212 GB, free: 74.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004442/2.059, allocations: 0.5302 MB / 0.5217 GB, free: 73.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.059, allocations: 0 / 0.5217 GB, free: 73.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002648/2.062, allocations: 1.177 MB / 0.5228 GB, free: 72.78 MB / 442.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.004217/2.066, allocations: 1.78 MB / 0.5246 GB, free: 71.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/2.067, allocations: 0.5994 MB / 0.5252 GB, free: 70.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.067, allocations: 0 / 0.5252 GB, free: 70.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006388/2.068, allocations: 330.3 kB / 0.5255 GB, free: 70.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/2.069, allocations: 97.73 kB / 0.5256 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/2.071, allocations: 1.521 MB / 0.5271 GB, free: 68.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/2.071, allocations: 389.9 kB / 0.5274 GB, free: 68.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/2.071, allocations: 41.41 kB / 0.5275 GB, free: 68.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/2.071, allocations: 24.5 kB / 0.5275 GB, free: 68.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/2.071, allocations: 0 / 0.5275 GB, free: 68.2 MB / 442.7 MB Notification: Performance of Templates: time 0.04455/2.116, allocations: 41.24 MB / 0.5678 GB, free: 27.11 MB / 442.7 MB " [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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.508705311920494]