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.8714/0.8714, allocations: 153.8 MB / 172.7 MB, free: 4.848 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.0005932/0.0005932, allocations: 11.98 kB / 250.3 MB, free: 3.926 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 33.36 MB / 283.6 MB, free: 2.051 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.971/2.186, allocations: 307.6 MB / 0.5773 GB, free: 17.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02965/2.215, allocations: 27.72 MB / 0.6044 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/2.216, allocations: 3 kB / 0.6044 GB, free: 4.398 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.0004534/2.216, allocations: 104.9 kB / 0.6045 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/2.216, allocations: 119.3 kB / 0.6046 GB, free: 4.281 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.02578/2.242, allocations: 8.585 MB / 0.613 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008007/2.243, allocations: 453.5 kB / 0.6135 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/2.243, allocations: 173.6 kB / 0.6136 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/2.244, allocations: 203.6 kB / 0.6138 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/2.244, allocations: 153.3 kB / 0.614 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/2.244, allocations: 30 kB / 0.614 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03139/2.275, allocations: 14.27 MB / 0.6279 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/2.276, allocations: 196.8 kB / 0.6281 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/2.276, allocations: 218.4 kB / 0.6283 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02162/2.298, allocations: 7.974 MB / 0.6361 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/2.298, allocations: 0 / 0.6361 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/2.298, allocations: 7.781 kB / 0.6361 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.178e-05/2.298, allocations: 0 / 0.6361 GB, free: 9.168 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.00499/2.303, allocations: 1.83 MB / 0.6379 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/2.303, allocations: 10.44 kB / 0.6379 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/2.303, allocations: 95.39 kB / 0.638 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/2.303, allocations: 369.4 kB / 0.6384 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/2.303, allocations: 28.59 kB / 0.6384 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/2.303, allocations: 32 kB / 0.6384 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/2.304, allocations: 0.5701 MB / 0.639 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/2.304, allocations: 1.406 kB / 0.639 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/2.304, allocations: 16 kB / 0.639 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/2.304, allocations: 8 kB / 0.639 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/2.305, allocations: 0.6148 MB / 0.6396 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/2.308, allocations: 1.966 MB / 0.6415 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/2.309, allocations: 0.7622 MB / 0.6423 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/2.31, allocations: 280.7 kB / 0.6425 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08217/2.392, allocations: 22.6 MB / 0.6646 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/2.392, allocations: 34.56 kB / 0.6646 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.845e-06/2.392, allocations: 0 / 0.6646 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004569/2.396, allocations: 1.459 MB / 0.6661 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/2.396, allocations: 59.41 kB / 0.6661 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/2.397, allocations: 0.7235 MB / 0.6668 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/2.397, allocations: 29.7 kB / 0.6669 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/2.398, allocations: 360.8 kB / 0.6672 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/2.398, allocations: 138.7 kB / 0.6673 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/2.398, allocations: 73.64 kB / 0.6674 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001611/2.398, allocations: 321.9 kB / 0.6677 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/2.399, allocations: 263.8 kB / 0.668 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/2.399, allocations: 312 kB / 0.6683 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/2.4, allocations: 0.5802 MB / 0.6688 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.4, allocations: 0 / 0.6688 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001581/2.402, allocations: 0.8711 MB / 0.6697 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/2.402, allocations: 8 kB / 0.6697 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/2.402, allocations: 7.922 kB / 0.6697 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004369/2.406, allocations: 0.8018 MB / 0.6705 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/2.406, allocations: 37.17 kB / 0.6705 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/2.408, allocations: 1.275 MB / 0.6718 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/2.408, allocations: 39.8 kB / 0.6718 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/2.408, allocations: 12 kB / 0.6718 GB, free: 4.309 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.0003326/2.409, allocations: 254.7 kB / 0.672 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/2.409, allocations: 75.48 kB / 0.6721 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/2.411, allocations: 1.024 MB / 0.6731 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001547/2.412, allocations: 0.8534 MB / 0.674 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.412, allocations: 0 / 0.674 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/2.412, allocations: 0 / 0.674 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/2.415, allocations: 1.77 MB / 0.6757 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.415, allocations: 0.875 kB / 0.6757 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/2.415, allocations: 47.91 kB / 0.6757 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/2.417, allocations: 0.5547 MB / 0.6763 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/2.417, allocations: 8 kB / 0.6763 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/2.419, allocations: 1.302 MB / 0.6775 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.419, allocations: 0 / 0.6775 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/2.421, allocations: 1.033 MB / 0.6786 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/2.421, allocations: 107.2 kB / 0.6787 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/2.421, allocations: 4 kB / 0.6787 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/2.421, allocations: 23.97 kB / 0.6787 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/2.421, allocations: 28.77 kB / 0.6787 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/2.421, allocations: 12 kB / 0.6787 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006168/2.422, allocations: 0.5107 MB / 0.6792 GB, free: 12.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.422, allocations: 4 kB / 0.6792 GB, free: 12.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00341/2.425, allocations: 1.165 MB / 0.6804 GB, free: 11.43 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.005268/2.431, allocations: 1.614 MB / 0.6819 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001692/2.432, allocations: 0.7062 MB / 0.6826 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.432, allocations: 0 / 0.6826 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008162/2.433, allocations: 384 kB / 0.683 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.0006727/2.434, allocations: 86.52 kB / 0.6831 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/2.437, allocations: 1.621 MB / 0.6847 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/2.437, allocations: 381.1 kB / 0.685 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001115/2.437, allocations: 24.69 kB / 0.685 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/2.437, allocations: 19.44 kB / 0.6851 GB, free: 6.586 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/2.437, allocations: 0 / 0.6851 GB, free: 6.586 MB / 0.545 GB Notification: Performance of Templates: time 0.06316/2.501, allocations: 41.09 MB / 0.7252 GB, free: 13.98 MB / 0.5919 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: 8.582462649792433] Failed to read output from testmodel.py, exit status != 0: 2.6906838919967413 2.705023418 0.404265187 Calling exit ...