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.5346/0.5346, 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.515e-06/2.515e-06, allocations: 0 / 176.1 MB, free: 9.242 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.565e-05, allocations: 6.25 kB / 176.1 MB, free: 9.234 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.045/1.045, allocations: 257.1 MB / 433.2 MB, free: 356 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02838/1.073, allocations: 29.98 MB / 463.2 MB, free: 2.254 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/1.074, allocations: 7.938 kB / 463.2 MB, free: 2.246 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.000463/1.074, allocations: 107.3 kB / 463.3 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/1.074, allocations: 125.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.01853/1.093, allocations: 8.685 MB / 472.1 MB, free: 9.301 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/1.093, allocations: 478 kB / 472.6 MB, free: 8.832 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/1.094, allocations: 181.4 kB / 472.8 MB, free: 8.652 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/1.094, allocations: 291.2 kB / 473.1 MB, free: 8.367 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/1.094, allocations: 139.6 kB / 473.2 MB, free: 8.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/1.094, allocations: 36 kB / 473.2 MB, free: 8.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1955/1.29, allocations: 14.3 MB / 487.5 MB, free: 10.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/1.29, allocations: 196.1 kB / 487.7 MB, free: 10.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/1.29, allocations: 158.5 kB / 487.9 MB, free: 10.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/1.307, allocations: 9.91 MB / 497.8 MB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.307, allocations: 0 / 497.8 MB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.307, allocations: 0 / 497.8 MB, free: 10.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/1.307, allocations: 1.469 kB / 497.8 MB, free: 10.07 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.004143/1.311, allocations: 1.948 MB / 499.7 MB, free: 8.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.311, allocations: 13.36 kB / 499.7 MB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/1.311, allocations: 118.1 kB / 499.9 MB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/1.311, allocations: 383.6 kB / 0.4885 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/1.311, allocations: 27.03 kB / 0.4885 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/1.312, allocations: 30.75 kB / 0.4886 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/1.312, allocations: 418.7 kB / 0.489 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.312, allocations: 4.594 kB / 0.489 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/1.312, allocations: 11.53 kB / 0.489 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.312, allocations: 10.62 kB / 0.489 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/1.312, allocations: 331.9 kB / 0.4893 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.314, allocations: 1.738 MB / 0.491 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/1.314, allocations: 469.5 kB / 0.4915 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/1.314, allocations: 157.5 kB / 0.4916 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03746/1.352, allocations: 22.69 MB / 0.5138 GB, free: 6.809 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.352, allocations: 38.73 kB / 0.5138 GB, free: 6.762 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/1.352, allocations: 4 kB / 0.5138 GB, free: 6.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001467/1.353, allocations: 0.7906 MB / 0.5146 GB, free: 5.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/1.353, allocations: 51.41 kB / 0.5146 GB, free: 5.902 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/1.354, allocations: 0.7104 MB / 0.5153 GB, free: 5.176 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.354, allocations: 29.7 kB / 0.5153 GB, free: 5.141 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/1.354, allocations: 434.5 kB / 0.5158 GB, free: 4.711 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/1.354, allocations: 136.9 kB / 0.5159 GB, free: 4.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/1.355, allocations: 83.59 kB / 0.516 GB, free: 4.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/1.355, allocations: 0.4926 MB / 0.5164 GB, free: 3.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.355, allocations: 136.8 kB / 0.5166 GB, free: 3.852 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/1.355, allocations: 201.7 kB / 0.5168 GB, free: 3.633 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/1.355, allocations: 352 kB / 0.5171 GB, free: 3.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.355, allocations: 4 kB / 0.5171 GB, free: 3.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006443/1.356, allocations: 0.6283 MB / 0.5177 GB, free: 2.641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.356, allocations: 8 kB / 0.5177 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.356, allocations: 0 / 0.5177 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/1.358, allocations: 0.7927 MB / 0.5185 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/1.358, allocations: 39.16 kB / 0.5185 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/1.359, allocations: 1.433 MB / 0.5199 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/1.359, allocations: 40.64 kB / 0.52 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/1.359, allocations: 12 kB / 0.52 GB, free: 296 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.0001414/1.359, allocations: 176.3 kB / 0.5202 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/1.36, allocations: 96.03 kB / 0.5203 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/1.36, allocations: 0.5981 MB / 0.5208 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004112/1.361, allocations: 461.8 kB / 0.5213 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.361, allocations: 0 / 0.5213 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.361, allocations: 0 / 0.5213 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.362, allocations: 1.273 MB / 0.5225 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.362, allocations: 0 / 0.5225 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.362, allocations: 66.95 kB / 0.5226 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/1.363, allocations: 334.2 kB / 0.5229 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/1.363, allocations: 8 kB / 0.5229 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006349/1.363, allocations: 0.9641 MB / 0.5239 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.363, allocations: 3.938 kB / 0.5239 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/1.364, allocations: 0.8983 MB / 0.5247 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/1.364, allocations: 107.2 kB / 0.5248 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/1.364, allocations: 15.94 kB / 0.5249 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.365, allocations: 12 kB / 0.5249 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/1.365, allocations: 27.94 kB / 0.5249 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.365, allocations: 13.44 kB / 0.5249 GB, free: 11.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002886/1.365, allocations: 438.9 kB / 0.5253 GB, free: 10.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.365, allocations: 0 / 0.5253 GB, free: 10.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003107/1.368, allocations: 1.173 MB / 0.5265 GB, free: 9.57 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.003932/1.372, allocations: 1.781 MB / 0.5282 GB, free: 8.008 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007709/1.373, allocations: 487.4 kB / 0.5287 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.373, allocations: 0 / 0.5287 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/1.373, allocations: 268.9 kB / 0.5289 GB, free: 7.281 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/1.373, allocations: 98.94 kB / 0.529 GB, free: 7.191 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/1.375, allocations: 1.374 MB / 0.5304 GB, free: 5.801 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/1.376, allocations: 189.5 kB / 0.5305 GB, free: 5.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/1.376, allocations: 29.02 kB / 0.5306 GB, free: 5.562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/1.376, allocations: 32.48 kB / 0.5306 GB, free: 5.531 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/1.376, allocations: 0 / 0.5306 GB, free: 5.531 MB / 458.7 MB Notification: Performance of Templates: time 0.05337/1.429, allocations: 51.05 MB / 0.5805 GB, free: 2.754 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.759148661978543]