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.8804/0.8804, allocations: 153.8 MB / 173.4 MB, free: 4.875 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_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.0006183/0.0006183, allocations: 11.98 kB / 251 MB, free: 3.93 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2083, allocations: 33.36 MB / 284.4 MB, free: 2.066 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_1): time 2.039/2.247, allocations: 307.6 MB / 0.5781 GB, free: 17.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03321/2.28, allocations: 27.73 MB / 0.6052 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/2.28, allocations: 3.406 kB / 0.6052 GB, free: 4.543 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.0004302/2.281, allocations: 104 kB / 0.6053 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/2.281, allocations: 116.5 kB / 0.6054 GB, free: 4.43 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.02804/2.309, allocations: 8.593 MB / 0.6138 GB, free: 164 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007909/2.31, allocations: 442.4 kB / 0.6142 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/2.31, allocations: 169.6 kB / 0.6143 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/2.311, allocations: 204.2 kB / 0.6145 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/2.311, allocations: 157 kB / 0.6147 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/2.311, allocations: 30.53 kB / 0.6147 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03307/2.344, allocations: 14.27 MB / 0.6287 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/2.344, allocations: 195.8 kB / 0.6288 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003882/2.345, allocations: 219.2 kB / 0.629 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02212/2.367, allocations: 7.978 MB / 0.6368 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/2.367, allocations: 6.781 kB / 0.6368 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/2.367, allocations: 0 / 0.6368 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.584e-05/2.367, allocations: 0 / 0.6368 GB, free: 9.188 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.005176/2.372, allocations: 1.826 MB / 0.6386 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/2.372, allocations: 12.02 kB / 0.6386 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/2.372, allocations: 99.34 kB / 0.6387 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/2.373, allocations: 373.4 kB / 0.6391 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/2.373, allocations: 29.97 kB / 0.6391 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/2.373, allocations: 32 kB / 0.6392 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/2.374, allocations: 0.5693 MB / 0.6397 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/2.374, allocations: 0.5625 kB / 0.6397 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/2.374, allocations: 16 kB / 0.6397 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/2.374, allocations: 12 kB / 0.6397 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/2.375, allocations: 0.6043 MB / 0.6403 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/2.377, allocations: 1.967 MB / 0.6422 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/2.379, allocations: 0.7621 MB / 0.643 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/2.379, allocations: 284.7 kB / 0.6433 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08246/2.462, allocations: 22.6 MB / 0.6653 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/2.462, allocations: 38.5 kB / 0.6654 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.534e-06/2.462, allocations: 0 / 0.6654 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.00453/2.466, allocations: 1.458 MB / 0.6668 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/2.467, allocations: 59.41 kB / 0.6669 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009617/2.467, allocations: 0.7274 MB / 0.6676 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/2.468, allocations: 29.7 kB / 0.6676 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/2.468, allocations: 360.8 kB / 0.6679 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/2.468, allocations: 134.8 kB / 0.6681 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/2.468, allocations: 65.69 kB / 0.6681 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001817/2.468, allocations: 325.9 kB / 0.6684 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/2.469, allocations: 263.9 kB / 0.6687 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/2.469, allocations: 312.1 kB / 0.669 GB, free: 8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/2.47, allocations: 0.5847 MB / 0.6696 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/2.47, allocations: 1.312 kB / 0.6696 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001666/2.472, allocations: 0.8711 MB / 0.6704 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/2.472, allocations: 4 kB / 0.6704 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/2.472, allocations: 3.938 kB / 0.6704 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/2.477, allocations: 0.809 MB / 0.6712 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/2.477, allocations: 33.89 kB / 0.6712 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/2.478, allocations: 1.284 MB / 0.6725 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/2.479, allocations: 35.81 kB / 0.6725 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/2.479, allocations: 15.98 kB / 0.6725 GB, free: 4.312 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.0003198/2.479, allocations: 241.7 kB / 0.6728 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/2.479, allocations: 79.48 kB / 0.6728 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/2.481, allocations: 1.029 MB / 0.6739 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001579/2.483, allocations: 0.8573 MB / 0.6747 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/2.483, allocations: 0 / 0.6747 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/2.483, allocations: 0 / 0.6747 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/2.486, allocations: 1.768 MB / 0.6764 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/2.486, allocations: 3.938 kB / 0.6764 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/2.486, allocations: 40.98 kB / 0.6765 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/2.488, allocations: 0.5649 MB / 0.677 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/2.488, allocations: 8 kB / 0.677 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/2.49, allocations: 1.296 MB / 0.6783 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.49, allocations: 0.75 kB / 0.6783 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/2.492, allocations: 1.036 MB / 0.6793 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/2.492, allocations: 103.3 kB / 0.6794 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/2.492, allocations: 8 kB / 0.6794 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/2.492, allocations: 21.05 kB / 0.6794 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/2.492, allocations: 27.88 kB / 0.6794 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/2.492, allocations: 12 kB / 0.6795 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006331/2.493, allocations: 0.5068 MB / 0.68 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.493, allocations: 0.9375 kB / 0.68 GB, free: 12.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003044/2.496, allocations: 1.161 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.004343/2.5, allocations: 1.628 MB / 0.6827 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001573/2.502, allocations: 0.7012 MB / 0.6834 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/2.502, allocations: 0 / 0.6834 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/2.503, allocations: 392 kB / 0.6837 GB, free: 8.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/2.503, allocations: 78.72 kB / 0.6838 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/2.506, allocations: 1.675 MB / 0.6854 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/2.507, allocations: 385.1 kB / 0.6858 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/2.507, allocations: 23.44 kB / 0.6858 GB, free: 6.547 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/2.507, allocations: 0 / 0.6858 GB, free: 6.547 MB / 0.545 GB Notification: Performance of Templates: time 0.04414/2.551, allocations: 27.97 MB / 0.7132 GB, free: 11.04 MB / 0.5762 GB " [Timeout remaining time 657] 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.84373547974974] Failed to read output from testmodel.py, exit status != 0: 2.736327582038939 2.751651164 0.38141979400000003 Calling exit ...