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.4861/0.4861, allocations: 111.6 MB / 132.2 MB, free: 4.406 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.713e-06/1.713e-06, allocations: 0 / 177.2 MB, free: 8.992 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.368e-05, allocations: 2.312 kB / 177.2 MB, free: 8.988 MB / 170.7 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.043/1.043, allocations: 257.1 MB / 434.3 MB, free: 228 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02425/1.067, allocations: 29.45 MB / 463.8 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/1.068, allocations: 4 kB / 463.8 MB, free: 2.656 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80: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:66:3-67:78: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:70:3-71:99: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:16:3-17:78: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:10:3-11:80: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:6:3-7:99: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.0003365/1.068, allocations: 107.3 kB / 463.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/1.068, allocations: 129 kB / 464 MB, free: 2.422 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01601/1.084, allocations: 8.689 MB / 472.7 MB, free: 9.699 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/1.085, allocations: 454.2 kB / 473.1 MB, free: 9.254 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/1.085, allocations: 177.6 kB / 473.3 MB, free: 9.082 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/1.085, allocations: 283.2 kB / 473.6 MB, free: 8.805 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/1.085, allocations: 135.6 kB / 473.7 MB, free: 8.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/1.085, allocations: 28 kB / 473.8 MB, free: 8.645 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2212/1.307, allocations: 14.28 MB / 488 MB, free: 11.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/1.307, allocations: 189.9 kB / 488.2 MB, free: 11.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/1.307, allocations: 157.3 kB / 488.4 MB, free: 11.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/1.322, allocations: 9.883 MB / 498.3 MB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.322, allocations: 0 / 498.3 MB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.322, allocations: 1.938 kB / 498.3 MB, free: 10.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/1.322, allocations: 0 / 498.3 MB, free: 10.79 MB / 426.7 MB 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.004043/1.326, allocations: 1.926 MB / 0.4885 GB, free: 9.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.326, allocations: 12.98 kB / 0.4885 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/1.327, allocations: 120.4 kB / 0.4886 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/1.327, allocations: 385.7 kB / 0.489 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/1.327, allocations: 24.12 kB / 0.489 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/1.327, allocations: 33.38 kB / 0.489 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/1.327, allocations: 431.7 kB / 0.4894 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.327, allocations: 3.281 kB / 0.4894 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/1.327, allocations: 17.28 kB / 0.4894 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.327, allocations: 10.78 kB / 0.4894 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/1.327, allocations: 281.2 kB / 0.4897 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/1.328, allocations: 2.334 MB / 0.492 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/1.329, allocations: 429.8 kB / 0.4924 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/1.329, allocations: 134.4 kB / 0.4925 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0322/1.361, allocations: 19.76 MB / 0.5118 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.361, allocations: 33.39 kB / 0.5119 GB, free: 9.898 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.315e-06/1.361, allocations: 0 / 0.5119 GB, free: 9.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001573/1.363, allocations: 0.8597 MB / 0.5127 GB, free: 9.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/1.363, allocations: 55.41 kB / 0.5128 GB, free: 8.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/1.363, allocations: 0.6899 MB / 0.5134 GB, free: 8.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.363, allocations: 33.7 kB / 0.5135 GB, free: 8.332 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/1.363, allocations: 441.8 kB / 0.5139 GB, free: 7.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/1.364, allocations: 133.8 kB / 0.514 GB, free: 7.805 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/1.364, allocations: 78.31 kB / 0.5141 GB, free: 7.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/1.364, allocations: 499 kB / 0.5146 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/1.364, allocations: 110.9 kB / 0.5147 GB, free: 7.133 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/1.364, allocations: 188.3 kB / 0.5148 GB, free: 6.934 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/1.364, allocations: 304.1 kB / 0.5151 GB, free: 6.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.364, allocations: 0 / 0.5151 GB, free: 6.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004722/1.365, allocations: 0.5318 MB / 0.5157 GB, free: 6.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.365, allocations: 9.406 kB / 0.5157 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.365, allocations: 0 / 0.5157 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/1.366, allocations: 0.6853 MB / 0.5163 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/1.367, allocations: 31.73 kB / 0.5164 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/1.367, allocations: 1.28 MB / 0.5176 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.367, allocations: 40.22 kB / 0.5177 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/1.367, allocations: 12 kB / 0.5177 GB, free: 4.051 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.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.0001223/1.368, allocations: 172.3 kB / 0.5178 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/1.368, allocations: 87.48 kB / 0.5179 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/1.368, allocations: 0.5874 MB / 0.5185 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003866/1.369, allocations: 470 kB / 0.5189 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.369, allocations: 0 / 0.5189 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.369, allocations: 3.984 kB / 0.5189 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/1.37, allocations: 1.286 MB / 0.5202 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.37, allocations: 0 / 0.5202 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/1.37, allocations: 48.53 kB / 0.5202 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009039/1.371, allocations: 438.2 kB / 0.5207 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/1.371, allocations: 16 kB / 0.5207 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006425/1.371, allocations: 1.279 MB / 0.5219 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.372, allocations: 0.5625 kB / 0.5219 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/1.372, allocations: 0.7104 MB / 0.5226 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/1.372, allocations: 95.28 kB / 0.5227 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/1.372, allocations: 15.94 kB / 0.5227 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/1.372, allocations: 13.23 kB / 0.5227 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/1.372, allocations: 29.11 kB / 0.5228 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/1.372, allocations: 4 kB / 0.5228 GB, free: 14.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002094/1.373, allocations: 415 kB / 0.5232 GB, free: 14.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.373, allocations: 0 / 0.5232 GB, free: 14.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002705/1.375, allocations: 1.157 MB / 0.5243 GB, free: 13.33 MB / 458.7 MB 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.003308/1.379, allocations: 1.837 MB / 0.5261 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/1.379, allocations: 440.1 kB / 0.5265 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.379, allocations: 0 / 0.5265 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/1.379, allocations: 247.1 kB / 0.5267 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/1.38, allocations: 93.14 kB / 0.5268 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/1.381, allocations: 1.358 MB / 0.5282 GB, free: 9.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/1.381, allocations: 188.8 kB / 0.5283 GB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.974e-05/1.381, allocations: 26.66 kB / 0.5284 GB, free: 9.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.381, allocations: 118.2 kB / 0.5285 GB, free: 9.242 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/1.381, allocations: 0 / 0.5285 GB, free: 9.242 MB / 458.7 MB Notification: Performance of Templates: time 0.04766/1.429, allocations: 47.58 MB / 0.5749 GB, free: 9.926 MB / 0.4948 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.569449042901397]