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.8807/0.8807, allocations: 153.8 MB / 173.4 MB, free: 4.871 MB / 142.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_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 0.0005612/0.0005612, allocations: 19.97 kB / 251 MB, free: 3.93 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2006, allocations: 33.35 MB / 284.3 MB, free: 2.086 MB / 222.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_2): time 1.961/2.161, allocations: 307.6 MB / 0.5781 GB, free: 17.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02743/2.189, allocations: 27.73 MB / 0.6052 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/2.189, allocations: 3.531 kB / 0.6052 GB, free: 4.547 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.0003688/2.189, allocations: 101.3 kB / 0.6053 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/2.19, allocations: 118.7 kB / 0.6054 GB, free: 4.434 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.021/2.211, allocations: 8.594 MB / 0.6138 GB, free: 120 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006465/2.211, allocations: 442.7 kB / 0.6142 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/2.211, allocations: 168.8 kB / 0.6143 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/2.212, allocations: 205 kB / 0.6145 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/2.212, allocations: 160.7 kB / 0.6147 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/2.212, allocations: 30.47 kB / 0.6147 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02895/2.241, allocations: 14.26 MB / 0.6287 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/2.241, allocations: 201.3 kB / 0.6288 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/2.242, allocations: 222.3 kB / 0.6291 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/2.259, allocations: 7.97 MB / 0.6368 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/2.259, allocations: 0 / 0.6368 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/2.259, allocations: 6.062 kB / 0.6368 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.457e-05/2.259, allocations: 0 / 0.6368 GB, free: 9.191 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.004107/2.263, allocations: 1.828 MB / 0.6386 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/2.263, allocations: 13.69 kB / 0.6386 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/2.263, allocations: 99.34 kB / 0.6387 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/2.263, allocations: 361.5 kB / 0.6391 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/2.263, allocations: 32.59 kB / 0.6391 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/2.263, allocations: 34.44 kB / 0.6391 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/2.264, allocations: 0.5694 MB / 0.6397 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/2.264, allocations: 0 / 0.6397 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/2.264, allocations: 16 kB / 0.6397 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/2.264, allocations: 8 kB / 0.6397 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/2.266, allocations: 0.6076 MB / 0.6403 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/2.268, allocations: 1.967 MB / 0.6422 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/2.269, allocations: 0.7621 MB / 0.643 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/2.27, allocations: 286.3 kB / 0.6433 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08316/2.353, allocations: 22.61 MB / 0.6653 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/2.353, allocations: 34.56 kB / 0.6654 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 3.267e-06/2.353, allocations: 0 / 0.6654 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004502/2.358, allocations: 1.458 MB / 0.6668 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/2.358, allocations: 59.41 kB / 0.6668 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/2.359, allocations: 0.7274 MB / 0.6676 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/2.359, allocations: 29.7 kB / 0.6676 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/2.359, allocations: 356.8 kB / 0.6679 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/2.359, allocations: 135.7 kB / 0.6681 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/2.359, allocations: 65.69 kB / 0.6681 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/2.359, allocations: 329.9 kB / 0.6684 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/2.36, allocations: 259.9 kB / 0.6687 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/2.36, allocations: 317 kB / 0.669 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/2.361, allocations: 0.5802 MB / 0.6695 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.361, allocations: 0 / 0.6695 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001582/2.363, allocations: 0.8666 MB / 0.6704 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/2.363, allocations: 8 kB / 0.6704 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/2.363, allocations: 3.938 kB / 0.6704 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/2.367, allocations: 0.8107 MB / 0.6712 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/2.367, allocations: 31.97 kB / 0.6712 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/2.369, allocations: 1.284 MB / 0.6725 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/2.369, allocations: 36.69 kB / 0.6725 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/2.369, allocations: 8 kB / 0.6725 GB, free: 4.332 MB / 0.5294 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.0003154/2.37, allocations: 253.7 kB / 0.6728 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/2.37, allocations: 75.48 kB / 0.6728 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/2.372, allocations: 1.027 MB / 0.6738 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001573/2.373, allocations: 0.855 MB / 0.6747 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.373, allocations: 0 / 0.6747 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/2.373, allocations: 3.984 kB / 0.6747 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/2.376, allocations: 1.772 MB / 0.6764 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/2.376, allocations: 0 / 0.6764 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/2.376, allocations: 43.91 kB / 0.6765 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/2.379, allocations: 0.5561 MB / 0.677 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/2.379, allocations: 11.98 kB / 0.677 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/2.38, allocations: 1.298 MB / 0.6783 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.38, allocations: 0.6562 kB / 0.6783 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/2.382, allocations: 1.032 MB / 0.6793 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/2.382, allocations: 103.3 kB / 0.6794 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/2.382, allocations: 7.984 kB / 0.6794 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/2.383, allocations: 16.67 kB / 0.6794 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/2.383, allocations: 32.97 kB / 0.6794 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/2.383, allocations: 8 kB / 0.6794 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006063/2.383, allocations: 0.5154 MB / 0.6799 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.383, allocations: 0 / 0.6799 GB, free: 12.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002938/2.386, allocations: 1.165 MB / 0.6811 GB, free: 11.45 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.004212/2.39, allocations: 1.615 MB / 0.6827 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00154/2.392, allocations: 0.706 MB / 0.6834 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/2.392, allocations: 0 / 0.6834 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/2.393, allocations: 388 kB / 0.6837 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/2.393, allocations: 81.89 kB / 0.6838 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/2.396, allocations: 1.675 MB / 0.6854 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/2.397, allocations: 381.1 kB / 0.6858 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/2.397, allocations: 23.44 kB / 0.6858 GB, free: 6.566 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/2.397, allocations: 0 / 0.6858 GB, free: 6.566 MB / 0.545 GB Notification: Performance of Templates: time 0.04473/2.441, allocations: 27.97 MB / 0.7131 GB, free: 11.06 MB / 0.5762 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.814069380052388] Failed to read output from testmodel.py, exit status != 0: 2.6196350092068315 2.634265819 0.37250831199999995 Calling exit ...