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.4982/0.4982, allocations: 111.6 MB / 131.2 MB, free: 4.613 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 2.254e-06/2.254e-06, allocations: 0 / 176.1 MB, free: 9.27 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.242e-05, allocations: 6.25 kB / 176.1 MB, free: 9.262 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.041/1.041, allocations: 257.1 MB / 433.2 MB, free: 360 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03714/1.078, allocations: 29.99 MB / 463.2 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/1.078, allocations: 4 kB / 463.2 MB, free: 2.242 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.0003249/1.078, allocations: 111.2 kB / 463.3 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/1.078, allocations: 117.1 kB / 463.4 MB, free: 2.016 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.01415/1.092, allocations: 8.696 MB / 472.1 MB, free: 9.289 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/1.093, allocations: 458.2 kB / 472.6 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/1.093, allocations: 177.6 kB / 472.7 MB, free: 8.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/1.093, allocations: 279.2 kB / 473 MB, free: 8.395 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/1.093, allocations: 135.6 kB / 473.1 MB, free: 8.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/1.094, allocations: 28 kB / 473.2 MB, free: 8.234 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1915/1.285, allocations: 14.29 MB / 487.5 MB, free: 10.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/1.285, allocations: 191.9 kB / 487.6 MB, free: 10.37 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/1.285, allocations: 157.9 kB / 487.8 MB, free: 10.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/1.298, allocations: 9.882 MB / 497.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.298, allocations: 1.188 kB / 497.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.298, allocations: 3.031 kB / 497.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/1.298, allocations: 0 / 497.7 MB, free: 10.08 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003289/1.301, allocations: 1.922 MB / 499.6 MB, free: 8.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.301, allocations: 16.3 kB / 499.6 MB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/1.301, allocations: 120.8 kB / 499.7 MB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/1.301, allocations: 377.4 kB / 0.4884 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/1.301, allocations: 24.28 kB / 0.4884 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/1.302, allocations: 30.62 kB / 0.4884 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/1.302, allocations: 0.5169 MB / 0.4889 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.302, allocations: 0 / 0.4889 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.302, allocations: 15.78 kB / 0.489 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/1.302, allocations: 9.984 kB / 0.489 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/1.302, allocations: 456.2 kB / 0.4894 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/1.304, allocations: 2.451 MB / 0.4918 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/1.304, allocations: 0.6479 MB / 0.4924 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/1.304, allocations: 217.7 kB / 0.4926 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03625/1.341, allocations: 22.69 MB / 0.5148 GB, free: 5.688 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.341, allocations: 37.39 kB / 0.5148 GB, free: 5.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.703e-06/1.341, allocations: 0 / 0.5148 GB, free: 5.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001919/1.342, allocations: 1.196 MB / 0.516 GB, free: 4.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/1.343, allocations: 59.34 kB / 0.5161 GB, free: 4.367 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/1.343, allocations: 0.687 MB / 0.5167 GB, free: 3.664 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/1.343, allocations: 37.69 kB / 0.5168 GB, free: 3.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/1.343, allocations: 427.5 kB / 0.5172 GB, free: 3.195 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/1.343, allocations: 129.9 kB / 0.5173 GB, free: 3.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/1.343, allocations: 67.34 kB / 0.5174 GB, free: 2.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/1.343, allocations: 0.4887 MB / 0.5178 GB, free: 2.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/1.344, allocations: 191.9 kB / 0.518 GB, free: 2.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.344, allocations: 261.1 kB / 0.5183 GB, free: 2.035 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/1.344, allocations: 474.4 kB / 0.5187 GB, free: 1.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.344, allocations: 0 / 0.5187 GB, free: 1.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006286/1.345, allocations: 0.7318 MB / 0.5194 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.345, allocations: 4 kB / 0.5194 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.345, allocations: 4.703 kB / 0.5195 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/1.347, allocations: 0.7462 MB / 0.5202 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/1.347, allocations: 39.08 kB / 0.5202 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/1.348, allocations: 1.399 MB / 0.5216 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/1.348, allocations: 43.66 kB / 0.5216 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/1.348, allocations: 12 kB / 0.5216 GB, free: 14.56 MB / 458.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.000119/1.348, allocations: 175.6 kB / 0.5218 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/1.348, allocations: 88.09 kB / 0.5219 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/1.349, allocations: 0.8047 MB / 0.5227 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005646/1.349, allocations: 0.6579 MB / 0.5233 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.349, allocations: 0.9375 kB / 0.5233 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.349, allocations: 3.984 kB / 0.5233 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.351, allocations: 1.618 MB / 0.5249 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.351, allocations: 0 / 0.5249 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/1.351, allocations: 35.98 kB / 0.5249 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/1.352, allocations: 0.4932 MB / 0.5254 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.352, allocations: 4.5 kB / 0.5254 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007401/1.353, allocations: 1.406 MB / 0.5268 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.353, allocations: 4.547 kB / 0.5268 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/1.353, allocations: 0.9154 MB / 0.5277 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/1.353, allocations: 95.34 kB / 0.5278 GB, free: 8.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/1.353, allocations: 12.16 kB / 0.5278 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/1.354, allocations: 15.98 kB / 0.5278 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/1.354, allocations: 23.95 kB / 0.5278 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.354, allocations: 13.66 kB / 0.5278 GB, free: 8.102 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002685/1.354, allocations: 434.9 kB / 0.5283 GB, free: 7.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.354, allocations: 0 / 0.5283 GB, free: 7.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002207/1.356, allocations: 1.165 MB / 0.5294 GB, free: 6.516 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 (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.002957/1.359, allocations: 1.764 MB / 0.5311 GB, free: 4.965 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006472/1.36, allocations: 0.5882 MB / 0.5317 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/1.36, allocations: 0 / 0.5317 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/1.36, allocations: 333.7 kB / 0.532 GB, free: 4.059 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/1.36, allocations: 93.47 kB / 0.5321 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/1.362, allocations: 1.428 MB / 0.5335 GB, free: 2.523 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/1.362, allocations: 192.8 kB / 0.5337 GB, free: 2.316 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.167e-05/1.362, allocations: 21.05 kB / 0.5337 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/1.362, allocations: 20.5 kB / 0.5337 GB, free: 2.277 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/1.362, allocations: 4 kB / 0.5337 GB, free: 2.273 MB / 458.7 MB Notification: Performance of Templates: time 0.03821/1.401, allocations: 41.3 MB / 0.5741 GB, free: 9.258 MB / 0.4948 GB " [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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.930214780848473]