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.8743/0.8743, 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_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.0005653/0.0005653, allocations: 11.98 kB / 251.1 MB, free: 3.984 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1799, allocations: 33.36 MB / 284.4 MB, free: 2.125 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 2.038/2.218, allocations: 307.5 MB / 0.5781 GB, free: 16.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03367/2.251, allocations: 31.54 MB / 0.6089 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/2.252, allocations: 3.375 kB / 0.6089 GB, free: 0.5625 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.0005291/2.252, allocations: 136.6 kB / 0.609 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/2.253, allocations: 116.8 kB / 0.6091 GB, free: 432 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.02695/2.279, allocations: 8.69 MB / 0.6176 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008546/2.28, allocations: 442.7 kB / 0.618 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/2.281, allocations: 165.1 kB / 0.6182 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/2.281, allocations: 204 kB / 0.6184 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/2.281, allocations: 181.8 kB / 0.6186 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/2.281, allocations: 30.91 kB / 0.6186 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03425/2.316, allocations: 15.16 MB / 0.6334 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/2.316, allocations: 187.4 kB / 0.6336 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004147/2.316, allocations: 305.8 kB / 0.6339 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0206/2.337, allocations: 7.966 MB / 0.6417 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/2.337, allocations: 0 / 0.6417 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/2.337, allocations: 0 / 0.6417 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.504e-05/2.337, allocations: 0 / 0.6417 GB, free: 4.352 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.004837/2.342, allocations: 1.84 MB / 0.6434 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/2.342, allocations: 12.03 kB / 0.6435 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/2.342, allocations: 96.89 kB / 0.6436 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/2.342, allocations: 369.4 kB / 0.6439 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/2.343, allocations: 28.59 kB / 0.6439 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/2.343, allocations: 28 kB / 0.644 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/2.344, allocations: 0.5738 MB / 0.6445 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/2.344, allocations: 7.938 kB / 0.6445 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/2.344, allocations: 12 kB / 0.6445 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/2.344, allocations: 17.48 kB / 0.6446 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/2.345, allocations: 0.6076 MB / 0.6451 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/2.347, allocations: 2.257 MB / 0.6474 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/2.349, allocations: 0.7703 MB / 0.6481 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/2.349, allocations: 272.7 kB / 0.6484 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07734/2.427, allocations: 22.53 MB / 0.6704 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/2.427, allocations: 42.5 kB / 0.6704 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.154e-06/2.427, allocations: 0.9375 kB / 0.6704 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004508/2.431, allocations: 1.46 MB / 0.6718 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/2.431, allocations: 59.34 kB / 0.6719 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/2.432, allocations: 0.8024 MB / 0.6727 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/2.432, allocations: 29.7 kB / 0.6727 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/2.433, allocations: 376.7 kB / 0.6731 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/2.433, allocations: 138.8 kB / 0.6732 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/2.433, allocations: 65.69 kB / 0.6733 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000158/2.433, allocations: 325.9 kB / 0.6736 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/2.434, allocations: 259.9 kB / 0.6738 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/2.434, allocations: 309.9 kB / 0.6741 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009504/2.435, allocations: 0.5841 MB / 0.6747 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/2.435, allocations: 4 kB / 0.6747 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001632/2.437, allocations: 0.8821 MB / 0.6755 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/2.437, allocations: 7.938 kB / 0.6756 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/2.437, allocations: 4 kB / 0.6756 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004504/2.441, allocations: 0.7983 MB / 0.6763 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/2.441, allocations: 39.91 kB / 0.6764 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/2.443, allocations: 1.268 MB / 0.6776 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/2.444, allocations: 47.7 kB / 0.6777 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/2.444, allocations: 16.73 kB / 0.6777 GB, free: 15.08 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.0003456/2.444, allocations: 250.4 kB / 0.6779 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/2.444, allocations: 87.39 kB / 0.678 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/2.446, allocations: 1.036 MB / 0.679 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001551/2.448, allocations: 0.8535 MB / 0.6798 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.448, allocations: 5.812 kB / 0.6798 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.448, allocations: 0 / 0.6798 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/2.451, allocations: 1.863 MB / 0.6817 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.451, allocations: 0 / 0.6817 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/2.451, allocations: 39.97 kB / 0.6817 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/2.453, allocations: 0.5549 MB / 0.6822 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/2.453, allocations: 16 kB / 0.6823 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/2.455, allocations: 1.304 MB / 0.6835 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.455, allocations: 4.031 kB / 0.6835 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/2.457, allocations: 1.04 MB / 0.6846 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/2.457, allocations: 119.2 kB / 0.6847 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/2.457, allocations: 13.44 kB / 0.6847 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/2.457, allocations: 19.98 kB / 0.6847 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/2.457, allocations: 19.95 kB / 0.6847 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/2.457, allocations: 12 kB / 0.6847 GB, free: 7.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007335/2.458, allocations: 0.5692 MB / 0.6853 GB, free: 7.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/2.458, allocations: 0 / 0.6853 GB, free: 7.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003065/2.461, allocations: 1.15 MB / 0.6864 GB, free: 6.02 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.005399/2.467, allocations: 1.625 MB / 0.688 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001606/2.468, allocations: 0.7058 MB / 0.6887 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/2.468, allocations: 0 / 0.6887 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008423/2.469, allocations: 392 kB / 0.6891 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/2.47, allocations: 99.45 kB / 0.6892 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/2.473, allocations: 1.693 MB / 0.6908 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/2.474, allocations: 0.981 MB / 0.6918 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/2.474, allocations: 24.42 kB / 0.6918 GB, free: 492 kB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/2.474, allocations: 0 / 0.6918 GB, free: 492 kB / 0.545 GB Notification: Performance of Templates: time 0.04858/2.522, allocations: 28 MB / 0.7191 GB, free: 4.953 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.99655421008356] Failed to read output from testmodel.py, exit status != 0: 2.705129848094657 2.720167512 0.379914224 Calling exit ...