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.5523/0.5523, allocations: 111.6 MB / 131.2 MB, free: 4.617 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.275e-06/2.275e-06, allocations: 0 / 176.1 MB, free: 9.25 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.217e-05, allocations: 2.312 kB / 176.1 MB, free: 9.246 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.14/1.14, allocations: 257.1 MB / 433.2 MB, free: 324 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02794/1.168, allocations: 29.97 MB / 463.2 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/1.168, allocations: 4 kB / 463.2 MB, free: 2.223 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.0003785/1.168, allocations: 115.2 kB / 463.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/1.168, allocations: 117.1 kB / 463.4 MB, free: 1.992 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.0169/1.185, allocations: 8.689 MB / 472.1 MB, free: 9.273 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/1.186, allocations: 470.1 kB / 472.6 MB, free: 8.812 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/1.186, allocations: 181.4 kB / 472.8 MB, free: 8.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/1.186, allocations: 295.2 kB / 473.1 MB, free: 8.344 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/1.187, allocations: 147.6 kB / 473.2 MB, free: 8.199 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/1.187, allocations: 32 kB / 473.2 MB, free: 8.168 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2146/1.401, allocations: 14.3 MB / 487.5 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/1.402, allocations: 202.9 kB / 487.7 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/1.402, allocations: 155 kB / 487.9 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01738/1.419, allocations: 9.91 MB / 497.8 MB, free: 10.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.419, allocations: 5.062 kB / 497.8 MB, free: 10.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/1.419, allocations: 0 / 497.8 MB, free: 10.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/1.419, allocations: 0 / 497.8 MB, free: 10.14 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004568/1.424, allocations: 1.951 MB / 499.7 MB, free: 8.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.424, allocations: 12.52 kB / 499.8 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/1.424, allocations: 119.6 kB / 499.9 MB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/1.424, allocations: 380.9 kB / 0.4885 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/1.424, allocations: 28.64 kB / 0.4885 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/1.424, allocations: 27.75 kB / 0.4886 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/1.425, allocations: 430.8 kB / 0.489 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.425, allocations: 0 / 0.489 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/1.425, allocations: 13.41 kB / 0.489 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.425, allocations: 9.75 kB / 0.489 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/1.425, allocations: 329.1 kB / 0.4893 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/1.427, allocations: 1.741 MB / 0.491 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/1.427, allocations: 499.1 kB / 0.4915 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/1.427, allocations: 153 kB / 0.4916 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03819/1.466, allocations: 22.69 MB / 0.5138 GB, free: 6.832 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.466, allocations: 41.39 kB / 0.5138 GB, free: 6.781 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.255e-06/1.466, allocations: 0 / 0.5138 GB, free: 6.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001802/1.467, allocations: 0.8166 MB / 0.5146 GB, free: 5.957 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/1.467, allocations: 58.59 kB / 0.5147 GB, free: 5.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/1.468, allocations: 0.7026 MB / 0.5154 GB, free: 5.172 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.468, allocations: 33.7 kB / 0.5154 GB, free: 5.133 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/1.468, allocations: 429.3 kB / 0.5158 GB, free: 4.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/1.468, allocations: 138.1 kB / 0.5159 GB, free: 4.574 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/1.468, allocations: 75.67 kB / 0.516 GB, free: 4.492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/1.469, allocations: 0.49 MB / 0.5165 GB, free: 3.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.469, allocations: 132.8 kB / 0.5166 GB, free: 3.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/1.469, allocations: 213.7 kB / 0.5168 GB, free: 3.633 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/1.469, allocations: 348.1 kB / 0.5172 GB, free: 3.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.469, allocations: 0 / 0.5172 GB, free: 3.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006697/1.47, allocations: 0.6358 MB / 0.5178 GB, free: 2.641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.47, allocations: 4 kB / 0.5178 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.47, allocations: 4 kB / 0.5178 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/1.472, allocations: 0.809 MB / 0.5186 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.472, allocations: 31.98 kB / 0.5186 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009341/1.473, allocations: 1.448 MB / 0.52 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/1.473, allocations: 47.69 kB / 0.5201 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/1.473, allocations: 12 kB / 0.5201 GB, free: 264 kB / 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.0001445/1.474, allocations: 172.1 kB / 0.5202 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/1.474, allocations: 95.42 kB / 0.5203 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/1.474, allocations: 0.5935 MB / 0.5209 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006749/1.475, allocations: 469.6 kB / 0.5214 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.475, allocations: 0 / 0.5214 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.475, allocations: 3.984 kB / 0.5214 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.476, allocations: 1.267 MB / 0.5226 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.476, allocations: 0 / 0.5226 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/1.476, allocations: 63.36 kB / 0.5227 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009573/1.477, allocations: 354.7 kB / 0.523 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.477, allocations: 12 kB / 0.523 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005193/1.478, allocations: 0.9686 MB / 0.524 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.478, allocations: 7.312 kB / 0.524 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/1.479, allocations: 0.8945 MB / 0.5248 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/1.479, allocations: 103.3 kB / 0.5249 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/1.479, allocations: 19.78 kB / 0.525 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.479, allocations: 16.61 kB / 0.525 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/1.479, allocations: 28.88 kB / 0.525 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/1.479, allocations: 12 kB / 0.525 GB, free: 11.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003071/1.479, allocations: 443 kB / 0.5254 GB, free: 10.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.479, allocations: 0 / 0.5254 GB, free: 10.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002925/1.482, allocations: 1.173 MB / 0.5266 GB, free: 9.512 MB / 458.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.00407/1.486, allocations: 1.778 MB / 0.5283 GB, free: 7.949 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/1.487, allocations: 492.3 kB / 0.5288 GB, free: 7.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.487, allocations: 0 / 0.5288 GB, free: 7.477 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/1.488, allocations: 267.9 kB / 0.529 GB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.488, allocations: 99.02 kB / 0.5291 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.49, allocations: 1.369 MB / 0.5305 GB, free: 5.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/1.49, allocations: 193.5 kB / 0.5307 GB, free: 5.531 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.778e-05/1.49, allocations: 25.36 kB / 0.5307 GB, free: 5.508 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/1.49, allocations: 32.48 kB / 0.5307 GB, free: 5.477 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/1.49, allocations: 0 / 0.5307 GB, free: 5.477 MB / 458.7 MB Notification: Performance of Templates: time 0.04278/1.533, allocations: 41.97 MB / 0.5717 GB, free: 11.79 MB / 0.4948 GB " [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: 5.327114832121879]