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.8165/0.8165, allocations: 111.6 MB / 131 MB, free: 5.098 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.654e-06/1.654e-06, allocations: 0 / 175.7 MB, free: 9.543 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.647e-05, allocations: 6.25 kB / 175.7 MB, free: 9.535 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.708/1.708, allocations: 254.8 MB / 430.4 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04341/1.752, allocations: 29.85 MB / 460.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/1.752, allocations: 0 / 460.3 MB, free: 2.453 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.0004391/1.752, allocations: 111.3 kB / 460.4 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/1.753, allocations: 121.1 kB / 460.5 MB, free: 2.227 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.02386/1.776, allocations: 8.677 MB / 469.2 MB, free: 9.512 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007605/1.777, allocations: 478.1 kB / 469.7 MB, free: 9.043 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/1.778, allocations: 181.4 kB / 469.8 MB, free: 8.863 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/1.778, allocations: 287.2 kB / 470.1 MB, free: 8.582 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/1.778, allocations: 147.6 kB / 470.3 MB, free: 8.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.641e-05/1.778, allocations: 32 kB / 470.3 MB, free: 8.406 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02841/1.807, allocations: 14.31 MB / 484.6 MB, free: 10.08 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/1.807, allocations: 199.3 kB / 484.8 MB, free: 9.883 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/1.807, allocations: 159.4 kB / 484.9 MB, free: 9.727 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2231/2.03, allocations: 10.06 MB / 495 MB, free: 23.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/2.03, allocations: 0 / 495 MB, free: 23.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/2.03, allocations: 0.7969 kB / 495 MB, free: 23.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/2.03, allocations: 1.969 kB / 495 MB, free: 23.41 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.00439/2.035, allocations: 1.99 MB / 497 MB, free: 22.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/2.035, allocations: 13.83 kB / 497 MB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/2.035, allocations: 118.8 kB / 497.1 MB, free: 22.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/2.035, allocations: 381.4 kB / 497.5 MB, free: 22.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/2.035, allocations: 27.81 kB / 497.5 MB, free: 22.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/2.035, allocations: 30.12 kB / 497.6 MB, free: 22.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/2.036, allocations: 482.8 kB / 498 MB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/2.036, allocations: 0 / 498 MB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/2.036, allocations: 17.41 kB / 498 MB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/2.036, allocations: 9.531 kB / 498.1 MB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/2.037, allocations: 449.1 kB / 498.5 MB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/2.039, allocations: 1.897 MB / 0.4887 GB, free: 20.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/2.04, allocations: 0.5806 MB / 0.4892 GB, free: 20.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/2.041, allocations: 198.1 kB / 0.4894 GB, free: 20.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07213/2.113, allocations: 22.69 MB / 0.5116 GB, free: 16.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/2.113, allocations: 45.27 kB / 0.5116 GB, free: 16.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/2.113, allocations: 0 / 0.5116 GB, free: 16.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.002638/2.116, allocations: 0.9627 MB / 0.5126 GB, free: 15.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/2.116, allocations: 55.41 kB / 0.5126 GB, free: 15.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/2.116, allocations: 0.8034 MB / 0.5134 GB, free: 15.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/2.116, allocations: 32.83 kB / 0.5134 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/2.117, allocations: 465.8 kB / 0.5139 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/2.117, allocations: 139.3 kB / 0.514 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/2.117, allocations: 91.86 kB / 0.5141 GB, free: 14.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/2.117, allocations: 0.4951 MB / 0.5146 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/2.117, allocations: 179.7 kB / 0.5148 GB, free: 14.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/2.117, allocations: 265.6 kB / 0.515 GB, free: 14.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/2.118, allocations: 465.3 kB / 0.5154 GB, free: 13.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/2.118, allocations: 4.469 kB / 0.5155 GB, free: 13.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001102/2.119, allocations: 0.7507 MB / 0.5162 GB, free: 13.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/2.119, allocations: 4 kB / 0.5162 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.119, allocations: 4.875 kB / 0.5162 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/2.123, allocations: 0.856 MB / 0.517 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/2.124, allocations: 42.77 kB / 0.5171 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/2.125, allocations: 1.58 MB / 0.5186 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/2.125, allocations: 47.56 kB / 0.5187 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/2.125, allocations: 12.62 kB / 0.5187 GB, free: 11.19 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.000172/2.125, allocations: 198.6 kB / 0.5189 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/2.126, allocations: 97.67 kB / 0.519 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/2.127, allocations: 0.7012 MB / 0.5196 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007703/2.127, allocations: 0.5582 MB / 0.5202 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/2.127, allocations: 0 / 0.5202 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/2.127, allocations: 3.984 kB / 0.5202 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/2.129, allocations: 1.504 MB / 0.5217 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/2.129, allocations: 0 / 0.5217 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/2.13, allocations: 60.91 kB / 0.5217 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/2.131, allocations: 379.5 kB / 0.5221 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/2.131, allocations: 9.125 kB / 0.5221 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006366/2.132, allocations: 1.046 MB / 0.5231 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.132, allocations: 3.984 kB / 0.5231 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/2.133, allocations: 1.099 MB / 0.5242 GB, free: 6.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/2.133, allocations: 107.3 kB / 0.5243 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/2.134, allocations: 8.812 kB / 0.5243 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/2.134, allocations: 15.98 kB / 0.5243 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/2.134, allocations: 27.94 kB / 0.5243 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/2.134, allocations: 12 kB / 0.5243 GB, free: 6.105 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003798/2.134, allocations: 478.9 kB / 0.5248 GB, free: 5.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.134, allocations: 3.062 kB / 0.5248 GB, free: 5.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002756/2.137, allocations: 1.169 MB / 0.526 GB, free: 4.473 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.003792/2.141, allocations: 1.784 MB / 0.5277 GB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/2.142, allocations: 0.5786 MB / 0.5283 GB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.142, allocations: 0 / 0.5283 GB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005614/2.142, allocations: 322.2 kB / 0.5286 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/2.143, allocations: 98.55 kB / 0.5287 GB, free: 1.938 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/2.145, allocations: 1.38 MB / 0.53 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/2.145, allocations: 381.9 kB / 0.5304 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/2.145, allocations: 33.05 kB / 0.5304 GB, free: 100 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/2.145, allocations: 24.5 kB / 0.5304 GB, free: 72 kB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/2.145, allocations: 4 kB / 0.5304 GB, free: 68 kB / 442.7 MB Notification: Performance of Templates: time 0.06885/2.214, allocations: 41.88 MB / 0.5713 GB, free: 6.426 MB / 490.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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.733079602010548]