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.4802/0.4802, allocations: 111.6 MB / 131.4 MB, free: 4.949 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.565e-06/2.565e-06, allocations: 0 / 176.5 MB, free: 9.074 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.765e-05, allocations: 4.703 kB / 176.5 MB, free: 9.07 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.031/1.031, allocations: 257.1 MB / 433.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02423/1.055, allocations: 29.45 MB / 463 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/1.056, allocations: 0 / 463 MB, free: 2.316 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.0003169/1.056, allocations: 111.2 kB / 463.1 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/1.056, allocations: 125.1 kB / 463.2 MB, free: 2.082 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.01572/1.072, allocations: 8.685 MB / 471.9 MB, free: 9.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/1.072, allocations: 454.2 kB / 472.4 MB, free: 8.922 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/1.073, allocations: 181.6 kB / 472.6 MB, free: 8.746 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/1.073, allocations: 279.2 kB / 472.8 MB, free: 8.473 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/1.073, allocations: 131.6 kB / 473 MB, free: 8.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/1.073, allocations: 32 kB / 473 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.211/1.284, allocations: 14.28 MB / 487.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/1.284, allocations: 190.3 kB / 487.5 MB, free: 10.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/1.285, allocations: 157.7 kB / 487.6 MB, free: 10.74 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/1.298, allocations: 9.879 MB / 497.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.298, allocations: 0 / 497.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.654e-06/1.298, allocations: 0 / 497.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/1.298, allocations: 1.344 kB / 497.5 MB, free: 10.45 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.003621/1.302, allocations: 1.927 MB / 499.4 MB, free: 9.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.302, allocations: 14.08 kB / 499.4 MB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/1.302, allocations: 121.8 kB / 499.5 MB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/1.302, allocations: 385.9 kB / 499.9 MB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/1.302, allocations: 25.19 kB / 499.9 MB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/1.302, allocations: 32.72 kB / 500 MB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/1.302, allocations: 436.5 kB / 0.4887 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.302, allocations: 0 / 0.4887 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.302, allocations: 11.91 kB / 0.4887 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.302, allocations: 12.91 kB / 0.4887 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/1.303, allocations: 284.8 kB / 0.489 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/1.304, allocations: 2.336 MB / 0.4913 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/1.304, allocations: 424.2 kB / 0.4917 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-05/1.304, allocations: 137.2 kB / 0.4918 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03008/1.334, allocations: 19.93 MB / 0.5113 GB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/1.334, allocations: 41.39 kB / 0.5113 GB, free: 9.258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.844e-06/1.334, allocations: 0 / 0.5113 GB, free: 9.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001461/1.336, allocations: 0.8682 MB / 0.5121 GB, free: 8.391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/1.336, allocations: 59.34 kB / 0.5122 GB, free: 8.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/1.336, allocations: 0.6882 MB / 0.5129 GB, free: 7.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/1.336, allocations: 29.7 kB / 0.5129 GB, free: 7.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.336, allocations: 447.4 kB / 0.5133 GB, free: 7.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/1.336, allocations: 137.3 kB / 0.5135 GB, free: 7.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/1.337, allocations: 68.97 kB / 0.5135 GB, free: 7.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/1.337, allocations: 0.4903 MB / 0.514 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/1.337, allocations: 111.7 kB / 0.5141 GB, free: 6.484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/1.337, allocations: 180.9 kB / 0.5143 GB, free: 6.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/1.337, allocations: 308.6 kB / 0.5146 GB, free: 5.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.337, allocations: 0 / 0.5146 GB, free: 5.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005044/1.338, allocations: 0.5391 MB / 0.5151 GB, free: 5.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.338, allocations: 8 kB / 0.5151 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.338, allocations: 1.188 kB / 0.5151 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/1.339, allocations: 0.6851 MB / 0.5158 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/1.339, allocations: 35.08 kB / 0.5158 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/1.34, allocations: 1.279 MB / 0.5171 GB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/1.34, allocations: 35.78 kB / 0.5171 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/1.34, allocations: 8 kB / 0.5171 GB, free: 3.398 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 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.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.0001156/1.34, allocations: 184.8 kB / 0.5173 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/1.34, allocations: 87.48 kB / 0.5174 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/1.341, allocations: 0.5885 MB / 0.5179 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003685/1.342, allocations: 468.9 kB / 0.5184 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/1.342, allocations: 0.5 kB / 0.5184 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.342, allocations: 3.984 kB / 0.5184 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/1.343, allocations: 1.303 MB / 0.5197 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.343, allocations: 1.688 kB / 0.5197 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/1.343, allocations: 47.91 kB / 0.5197 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008119/1.343, allocations: 441.1 kB / 0.5201 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/1.343, allocations: 15.94 kB / 0.5201 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/1.344, allocations: 1.283 MB / 0.5214 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.344, allocations: 0 / 0.5214 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/1.345, allocations: 0.7098 MB / 0.5221 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/1.345, allocations: 107.3 kB / 0.5222 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/1.345, allocations: 4 kB / 0.5222 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/1.345, allocations: 8 kB / 0.5222 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/1.345, allocations: 31.88 kB / 0.5222 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.345, allocations: 12 kB / 0.5222 GB, free: 14.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001911/1.345, allocations: 407.8 kB / 0.5226 GB, free: 13.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.345, allocations: 0 / 0.5226 GB, free: 13.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002316/1.347, allocations: 1.161 MB / 0.5238 GB, free: 12.63 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.002979/1.35, allocations: 1.851 MB / 0.5256 GB, free: 10.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004708/1.351, allocations: 442.6 kB / 0.526 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.351, allocations: 0 / 0.526 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/1.351, allocations: 250.4 kB / 0.5262 GB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.351, allocations: 86.55 kB / 0.5263 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/1.353, allocations: 1.356 MB / 0.5276 GB, free: 8.879 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/1.353, allocations: 188.8 kB / 0.5278 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.771e-05/1.353, allocations: 22.12 kB / 0.5278 GB, free: 8.652 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.353, allocations: 122.2 kB / 0.528 GB, free: 8.531 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/1.353, allocations: 0 / 0.528 GB, free: 8.531 MB / 458.7 MB Notification: Performance of Templates: time 0.04409/1.397, allocations: 47.6 MB / 0.5745 GB, free: 9.176 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.831101331859827]