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.8878/0.8878, allocations: 153.8 MB / 173.4 MB, free: 4.934 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.0005896/0.0005896, allocations: 15.95 kB / 251.1 MB, free: 3.984 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1797, allocations: 33.36 MB / 284.4 MB, free: 2.129 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 1.983/2.163, allocations: 307.6 MB / 0.5781 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03756/2.2, allocations: 31.53 MB / 0.6089 GB, free: 464 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/2.201, allocations: 3.938 kB / 0.6089 GB, free: 464 kB / 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.0005401/2.201, allocations: 139.8 kB / 0.609 GB, free: 388 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/2.202, allocations: 118.5 kB / 0.6091 GB, free: 316 kB / 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.0311/2.233, allocations: 8.685 MB / 0.6176 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009238/2.234, allocations: 449.9 kB / 0.618 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/2.234, allocations: 165.7 kB / 0.6182 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/2.235, allocations: 200.2 kB / 0.6184 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/2.235, allocations: 181.7 kB / 0.6186 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/2.235, allocations: 30.75 kB / 0.6186 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03598/2.271, allocations: 15.16 MB / 0.6334 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/2.272, allocations: 195.2 kB / 0.6336 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004473/2.272, allocations: 293.9 kB / 0.6339 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02222/2.294, allocations: 7.969 MB / 0.6417 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/2.294, allocations: 2.906 kB / 0.6417 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/2.294, allocations: 0 / 0.6417 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.274e-05/2.294, allocations: 0 / 0.6417 GB, free: 4.336 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.005467/2.3, allocations: 1.839 MB / 0.6434 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/2.3, allocations: 12.03 kB / 0.6435 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/2.3, allocations: 95.34 kB / 0.6436 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/2.301, allocations: 373.4 kB / 0.6439 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/2.301, allocations: 32.59 kB / 0.6439 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/2.301, allocations: 32.56 kB / 0.644 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/2.302, allocations: 0.5654 MB / 0.6445 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/2.302, allocations: 0 / 0.6445 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/2.302, allocations: 12 kB / 0.6445 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/2.302, allocations: 15.98 kB / 0.6445 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/2.303, allocations: 0.6154 MB / 0.6451 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/2.306, allocations: 2.258 MB / 0.6474 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/2.307, allocations: 0.7689 MB / 0.6481 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/2.308, allocations: 274.4 kB / 0.6484 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08151/2.389, allocations: 22.53 MB / 0.6704 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/2.389, allocations: 42.48 kB / 0.6704 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.615e-06/2.389, allocations: 0.9375 kB / 0.6704 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004699/2.394, allocations: 1.464 MB / 0.6718 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/2.394, allocations: 55.41 kB / 0.6719 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/2.395, allocations: 0.8102 MB / 0.6727 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/2.395, allocations: 25.7 kB / 0.6727 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/2.396, allocations: 376.7 kB / 0.6731 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/2.396, allocations: 134.8 kB / 0.6732 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/2.396, allocations: 65.69 kB / 0.6733 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/2.396, allocations: 321.9 kB / 0.6736 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/2.397, allocations: 263.9 kB / 0.6738 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/2.397, allocations: 314.7 kB / 0.6741 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/2.398, allocations: 0.5841 MB / 0.6747 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/2.398, allocations: 0 / 0.6747 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001863/2.4, allocations: 0.8782 MB / 0.6755 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/2.4, allocations: 11.94 kB / 0.6756 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/2.4, allocations: 0 / 0.6756 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/2.405, allocations: 0.8134 MB / 0.6763 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/2.405, allocations: 31.98 kB / 0.6764 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/2.407, allocations: 1.275 MB / 0.6776 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/2.407, allocations: 53.44 kB / 0.6777 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/2.407, allocations: 12 kB / 0.6777 GB, free: 15.06 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.0003801/2.408, allocations: 241.7 kB / 0.6779 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/2.408, allocations: 91.39 kB / 0.678 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/2.41, allocations: 1.036 MB / 0.679 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001626/2.411, allocations: 0.8545 MB / 0.6799 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/2.411, allocations: 1 kB / 0.6799 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/2.411, allocations: 3.984 kB / 0.6799 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/2.415, allocations: 1.861 MB / 0.6817 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/2.415, allocations: 4.688 kB / 0.6817 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/2.415, allocations: 43.92 kB / 0.6817 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/2.417, allocations: 0.5617 MB / 0.6823 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/2.417, allocations: 4 kB / 0.6823 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/2.419, allocations: 1.307 MB / 0.6835 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.419, allocations: 0 / 0.6835 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/2.421, allocations: 1.04 MB / 0.6846 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/2.421, allocations: 111.2 kB / 0.6847 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/2.421, allocations: 12.78 kB / 0.6847 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/2.422, allocations: 29.59 kB / 0.6847 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/2.422, allocations: 24.7 kB / 0.6847 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/2.422, allocations: 8 kB / 0.6847 GB, free: 7.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007559/2.423, allocations: 0.5692 MB / 0.6853 GB, free: 7.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/2.423, allocations: 0 / 0.6853 GB, free: 7.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003312/2.426, allocations: 1.15 MB / 0.6864 GB, free: 5.996 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.005733/2.432, allocations: 1.63 MB / 0.688 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001658/2.433, allocations: 0.707 MB / 0.6887 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/2.433, allocations: 0 / 0.6887 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/2.434, allocations: 391.7 kB / 0.6891 GB, free: 3.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/2.435, allocations: 91.69 kB / 0.6892 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/2.438, allocations: 1.694 MB / 0.6908 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/2.439, allocations: 0.981 MB / 0.6918 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/2.439, allocations: 23.44 kB / 0.6918 GB, free: 468 kB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/2.439, allocations: 0 / 0.6918 GB, free: 468 kB / 0.545 GB Notification: Performance of Templates: time 0.04603/2.485, allocations: 28 MB / 0.7191 GB, free: 4.941 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.771462521981448] Failed to read output from testmodel.py, exit status != 0: 2.659541897010058 2.674875221 0.37713307700000004 Calling exit ...