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.8526/0.8526, allocations: 120.4 MB / 140.1 MB, free: 56 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005612/0.0005612, allocations: 19.97 kB / 217.7 MB, free: 13.03 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05793/0.05849, allocations: 33.36 MB / 251 MB, free: 11.61 MB / 238.1 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.758/1.817, allocations: 254.1 MB / 0.4933 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03925/1.856, allocations: 27.73 MB / 0.5204 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/1.856, allocations: 4 kB / 0.5204 GB, free: 3.293 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119:42: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:120:3-122:37: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:126:3-130:23: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:29:3-30:52: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:17:3-19:16: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:11:3-15:24: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.0004192/1.856, allocations: 103.9 kB / 0.5205 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/1.857, allocations: 119.7 kB / 0.5206 GB, free: 3.078 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02252/1.879, allocations: 8.601 MB / 0.529 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007032/1.88, allocations: 438.4 kB / 0.5294 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/1.88, allocations: 165.7 kB / 0.5295 GB, free: 9.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/1.881, allocations: 207.1 kB / 0.5297 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/1.881, allocations: 155.2 kB / 0.5299 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/1.881, allocations: 32 kB / 0.5299 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02721/1.908, allocations: 14.27 MB / 0.5439 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/1.908, allocations: 199.3 kB / 0.544 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/1.909, allocations: 222.3 kB / 0.5443 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01666/1.925, allocations: 7.982 MB / 0.552 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.925, allocations: 0 / 0.552 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.925, allocations: 0 / 0.552 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.925, allocations: 0 / 0.552 GB, free: 2.809 MB / 0.4981 GB 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.004439/1.93, allocations: 1.826 MB / 0.5538 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.93, allocations: 11.97 kB / 0.5538 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.93, allocations: 99.34 kB / 0.5539 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/1.93, allocations: 373.4 kB / 0.5543 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/1.93, allocations: 28.59 kB / 0.5543 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/1.931, allocations: 28 kB / 0.5543 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.932, allocations: 0.5654 MB / 0.5549 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.932, allocations: 11.94 kB / 0.5549 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/1.932, allocations: 12 kB / 0.5549 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/1.932, allocations: 15.98 kB / 0.5549 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.933, allocations: 0.6076 MB / 0.5555 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/1.935, allocations: 1.95 MB / 0.5574 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.937, allocations: 0.7605 MB / 0.5582 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/1.937, allocations: 284.7 kB / 0.5584 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08556/2.023, allocations: 22.61 MB / 0.5805 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/2.023, allocations: 42.5 kB / 0.5806 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.444e-06/2.023, allocations: 0 / 0.5806 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004719/2.027, allocations: 1.459 MB / 0.582 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/2.027, allocations: 59.41 kB / 0.582 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009357/2.028, allocations: 0.7235 MB / 0.5828 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/2.028, allocations: 29.7 kB / 0.5828 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/2.029, allocations: 364.8 kB / 0.5831 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/2.029, allocations: 134.8 kB / 0.5833 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/2.029, allocations: 65.64 kB / 0.5833 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001672/2.029, allocations: 325.9 kB / 0.5836 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/2.03, allocations: 259.9 kB / 0.5839 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/2.03, allocations: 313.6 kB / 0.5842 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/2.031, allocations: 0.5853 MB / 0.5848 GB, free: 1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.031, allocations: 0 / 0.5848 GB, free: 1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001714/2.033, allocations: 0.8667 MB / 0.5856 GB, free: 128 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/2.033, allocations: 4 kB / 0.5856 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/2.033, allocations: 7.938 kB / 0.5856 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004709/2.038, allocations: 0.8067 MB / 0.5864 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/2.038, allocations: 35.92 kB / 0.5864 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/2.04, allocations: 1.269 MB / 0.5877 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/2.04, allocations: 39.86 kB / 0.5877 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/2.04, allocations: 12 kB / 0.5877 GB, free: 13.93 MB / 0.545 GB 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.0003522/2.04, allocations: 253.5 kB / 0.588 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/2.04, allocations: 83.48 kB / 0.588 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/2.042, allocations: 1.022 MB / 0.589 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001651/2.044, allocations: 0.8584 MB / 0.5899 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.044, allocations: 4 kB / 0.5899 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/2.044, allocations: 3.984 kB / 0.5899 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/2.047, allocations: 1.765 MB / 0.5916 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.047, allocations: 0 / 0.5916 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/2.047, allocations: 39.97 kB / 0.5916 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/2.05, allocations: 0.5609 MB / 0.5922 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/2.05, allocations: 12 kB / 0.5922 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/2.051, allocations: 1.306 MB / 0.5935 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/2.051, allocations: 0 / 0.5935 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/2.053, allocations: 1.034 MB / 0.5945 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/2.053, allocations: 99.28 kB / 0.5946 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/2.053, allocations: 8 kB / 0.5946 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/2.054, allocations: 19.97 kB / 0.5946 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/2.054, allocations: 31.83 kB / 0.5946 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/2.054, allocations: 16 kB / 0.5947 GB, free: 6.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006418/2.054, allocations: 0.5029 MB / 0.5952 GB, free: 6.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.054, allocations: 0 / 0.5952 GB, free: 6.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002924/2.057, allocations: 1.169 MB / 0.5963 GB, free: 5.031 MB / 0.545 GB 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.004484/2.062, allocations: 1.621 MB / 0.5979 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001642/2.064, allocations: 0.6978 MB / 0.5986 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.064, allocations: 0 / 0.5986 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/2.064, allocations: 392.9 kB / 0.5989 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/2.065, allocations: 88.88 kB / 0.599 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/2.068, allocations: 1.609 MB / 0.6006 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/2.068, allocations: 389.1 kB / 0.601 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001046/2.068, allocations: 26.28 kB / 0.601 GB, free: 160 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/2.068, allocations: 20.5 kB / 0.601 GB, free: 140 kB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/2.068, allocations: 0 / 0.601 GB, free: 140 kB / 0.545 GB Notification: Performance of Templates: time 0.06343/2.132, allocations: 40.18 MB / 0.6402 GB, free: 8.027 MB / 0.5919 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=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.33171698905062] Failed to read output from testmodel.py, exit status != 0: 2.446300968993455 2.457132441 0.52940963 Calling exit ...