Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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.5394/0.5394, allocations: 111.6 MB / 131.5 MB, free: 4.398 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 176.6 MB, free: 8.871 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.709e-05, allocations: 6.312 kB / 176.6 MB, free: 8.863 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_1): time 1.152/1.152, allocations: 262.9 MB / 439.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02798/1.18, allocations: 29.91 MB / 469.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/1.18, allocations: 0 / 469.4 MB, free: 0.9648 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.0004683/1.181, allocations: 111.3 kB / 469.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/1.181, allocations: 125.1 kB / 469.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0166/1.197, allocations: 7.666 MB / 477.3 MB, free: 9.031 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/1.198, allocations: 458.1 kB / 477.8 MB, free: 8.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/1.198, allocations: 179.7 kB / 478 MB, free: 8.406 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/1.199, allocations: 283.2 kB / 478.2 MB, free: 8.129 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/1.199, allocations: 131.7 kB / 478.4 MB, free: 8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/1.199, allocations: 28 kB / 478.4 MB, free: 7.973 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.2325/1.431, allocations: 15.4 MB / 493.8 MB, free: 9.395 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/1.432, allocations: 194 kB / 494 MB, free: 9.395 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/1.432, allocations: 153.8 kB / 494.1 MB, free: 9.395 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/1.445, allocations: 9.882 MB / 0.4922 GB, free: 9.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.445, allocations: 0 / 0.4922 GB, free: 9.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.445, allocations: 0 / 0.4922 GB, free: 9.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/1.445, allocations: 0.6562 kB / 0.4922 GB, free: 9.105 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.002923/1.448, allocations: 1.778 MB / 0.4939 GB, free: 8.062 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/1.448, allocations: 12.92 kB / 0.494 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/1.448, allocations: 78.53 kB / 0.494 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/1.448, allocations: 360.5 kB / 0.4944 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/1.448, allocations: 22.28 kB / 0.4944 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/1.448, allocations: 32.88 kB / 0.4944 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/1.448, allocations: 412.3 kB / 0.4948 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.448, allocations: 0 / 0.4948 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.448, allocations: 16.34 kB / 0.4948 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.448, allocations: 13.03 kB / 0.4949 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/1.449, allocations: 279.2 kB / 0.4951 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/1.45, allocations: 1.666 MB / 0.4967 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/1.45, allocations: 408.5 kB / 0.4971 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/1.45, allocations: 121.3 kB / 0.4973 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03318/1.483, allocations: 20.35 MB / 0.5171 GB, free: 6.902 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.483, allocations: 33.56 kB / 0.5172 GB, free: 6.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/1.483, allocations: 8 kB / 0.5172 GB, free: 6.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001465/1.485, allocations: 0.7594 MB / 0.5179 GB, free: 6.098 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/1.485, allocations: 55.41 kB / 0.518 GB, free: 6.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/1.485, allocations: 0.5721 MB / 0.5185 GB, free: 5.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/1.485, allocations: 33.7 kB / 0.5186 GB, free: 5.516 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/1.485, allocations: 246.4 kB / 0.5188 GB, free: 5.305 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/1.485, allocations: 130.4 kB / 0.5189 GB, free: 5.184 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/1.485, allocations: 63.72 kB / 0.519 GB, free: 5.125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/1.485, allocations: 320.1 kB / 0.5193 GB, free: 4.812 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/1.486, allocations: 111.9 kB / 0.5194 GB, free: 4.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.486, allocations: 158.6 kB / 0.5195 GB, free: 4.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.486, allocations: 288 kB / 0.5198 GB, free: 4.254 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.486, allocations: 0 / 0.5198 GB, free: 4.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004125/1.486, allocations: 453.3 kB / 0.5202 GB, free: 3.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.486, allocations: 4 kB / 0.5202 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.486, allocations: 4 kB / 0.5202 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.488, allocations: 0.6876 MB / 0.5209 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/1.488, allocations: 39.45 kB / 0.521 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005735/1.489, allocations: 0.9549 MB / 0.5219 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/1.489, allocations: 31.78 kB / 0.5219 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/1.489, allocations: 11.98 kB / 0.5219 GB, free: 2.102 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.0003742/1.489, allocations: 131.7 kB / 0.5221 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.489, allocations: 47.95 kB / 0.5221 GB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/1.49, allocations: 0.5932 MB / 0.5227 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003525/1.49, allocations: 407.8 kB / 0.5231 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/1.49, allocations: 0 / 0.5231 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.49, allocations: 3.984 kB / 0.5231 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/1.491, allocations: 1.149 MB / 0.5242 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.491, allocations: 0 / 0.5242 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.491, allocations: 54.97 kB / 0.5243 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008599/1.492, allocations: 432 kB / 0.5247 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.492, allocations: 7.984 kB / 0.5247 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005383/1.493, allocations: 1 MB / 0.5256 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.493, allocations: 0 / 0.5256 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/1.493, allocations: 0.6039 MB / 0.5262 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/1.493, allocations: 91.3 kB / 0.5263 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/1.493, allocations: 7.938 kB / 0.5263 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/1.493, allocations: 12.56 kB / 0.5263 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/1.493, allocations: 23.95 kB / 0.5264 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.493, allocations: 11.98 kB / 0.5264 GB, free: 13.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001738/1.494, allocations: 271.3 kB / 0.5266 GB, free: 13.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.494, allocations: 0 / 0.5266 GB, free: 13.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002363/1.496, allocations: 1.157 MB / 0.5278 GB, free: 12.2 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.003319/1.499, allocations: 1.905 MB / 0.5296 GB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/1.5, allocations: 398.7 kB / 0.53 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/1.5, allocations: 12 kB / 0.53 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/1.5, allocations: 241.2 kB / 0.5302 GB, free: 9.895 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.5, allocations: 92.41 kB / 0.5303 GB, free: 9.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.502, allocations: 1.367 MB / 0.5317 GB, free: 8.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/1.502, allocations: 188.8 kB / 0.5319 GB, free: 8.223 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.412e-05/1.502, allocations: 20.03 kB / 0.5319 GB, free: 8.207 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.502, allocations: 95.34 kB / 0.532 GB, free: 8.113 MB / 458.7 MB Notification: Performance of SimCode: time 6.32e-07/1.502, allocations: 3.938 kB / 0.532 GB, free: 8.109 MB / 458.7 MB Notification: Performance of Templates: time 0.04642/1.549, allocations: 46.91 MB / 0.5778 GB, free: 9.473 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.976316946092993]