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.4881/0.4881, allocations: 111.6 MB / 131.7 MB, free: 5.059 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_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 2.385e-06/2.385e-06, allocations: 0 / 176.4 MB, free: 9.5 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.868e-05, allocations: 2.312 kB / 176.4 MB, free: 9.496 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_1): time 1.033/1.033, allocations: 257 MB / 433.5 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02435/1.057, allocations: 29.89 MB / 463.4 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/1.058, allocations: 4 kB / 463.4 MB, free: 2.344 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.0003549/1.058, allocations: 103.3 kB / 463.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/1.058, allocations: 129.1 kB / 463.6 MB, free: 2.113 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.01521/1.073, allocations: 8.673 MB / 472.3 MB, free: 9.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/1.074, allocations: 458.1 kB / 472.7 MB, free: 8.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/1.074, allocations: 185.6 kB / 472.9 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/1.075, allocations: 283.2 kB / 473.2 MB, free: 8.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/1.075, allocations: 119.7 kB / 473.3 MB, free: 8.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/1.075, allocations: 35.98 kB / 473.3 MB, free: 8.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1849/1.26, allocations: 14.29 MB / 487.6 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/1.26, allocations: 191.7 kB / 487.8 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/1.26, allocations: 152.5 kB / 488 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/1.271, allocations: 9.882 MB / 497.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.271, allocations: 0 / 497.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/1.271, allocations: 3.938 kB / 497.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/1.271, allocations: 1.188 kB / 497.8 MB, free: 10.03 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.002875/1.274, allocations: 1.925 MB / 499.8 MB, free: 8.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.274, allocations: 13.14 kB / 499.8 MB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.721e-05/1.274, allocations: 119.5 kB / 499.9 MB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/1.275, allocations: 381.4 kB / 0.4885 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/1.275, allocations: 25.03 kB / 0.4886 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/1.275, allocations: 27.94 kB / 0.4886 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/1.275, allocations: 0.5188 MB / 0.4891 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.275, allocations: 3.281 kB / 0.4891 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/1.275, allocations: 11.5 kB / 0.4891 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.275, allocations: 11.94 kB / 0.4891 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/1.275, allocations: 457.5 kB / 0.4896 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/1.277, allocations: 2.445 MB / 0.4919 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/1.277, allocations: 0.6475 MB / 0.4926 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/1.277, allocations: 220.3 kB / 0.4928 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03598/1.313, allocations: 22.69 MB / 0.515 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/1.313, allocations: 38.94 kB / 0.515 GB, free: 5.691 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/1.313, allocations: 0 / 0.515 GB, free: 5.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001929/1.315, allocations: 1.2 MB / 0.5162 GB, free: 4.488 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/1.315, allocations: 59.34 kB / 0.5162 GB, free: 4.418 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/1.316, allocations: 0.687 MB / 0.5169 GB, free: 3.715 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/1.316, allocations: 37.69 kB / 0.5169 GB, free: 3.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.316, allocations: 419.5 kB / 0.5173 GB, free: 3.254 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/1.316, allocations: 130 kB / 0.5174 GB, free: 3.129 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/1.316, allocations: 75.34 kB / 0.5175 GB, free: 3.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/1.316, allocations: 496.4 kB / 0.518 GB, free: 2.555 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/1.316, allocations: 199.1 kB / 0.5182 GB, free: 2.363 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.317, allocations: 262 kB / 0.5184 GB, free: 2.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/1.317, allocations: 466.4 kB / 0.5189 GB, free: 1.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.317, allocations: 3.844 kB / 0.5189 GB, free: 1.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006283/1.318, allocations: 0.7294 MB / 0.5196 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.318, allocations: 4.625 kB / 0.5196 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.318, allocations: 4.547 kB / 0.5196 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/1.32, allocations: 0.7493 MB / 0.5203 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/1.32, allocations: 31.81 kB / 0.5204 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/1.321, allocations: 1.407 MB / 0.5217 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.321, allocations: 39.72 kB / 0.5218 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/1.321, allocations: 11.98 kB / 0.5218 GB, free: 14.61 MB / 458.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 (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.0001199/1.321, allocations: 173 kB / 0.522 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/1.321, allocations: 87.48 kB / 0.522 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/1.322, allocations: 0.8041 MB / 0.5228 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005627/1.322, allocations: 0.6549 MB / 0.5235 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.322, allocations: 0.5625 kB / 0.5235 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.322, allocations: 11.92 kB / 0.5235 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/1.324, allocations: 1.616 MB / 0.5251 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.324, allocations: 0 / 0.5251 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/1.324, allocations: 44.67 kB / 0.5251 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/1.325, allocations: 497.3 kB / 0.5256 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/1.325, allocations: 11.98 kB / 0.5256 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007218/1.326, allocations: 1.409 MB / 0.527 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.326, allocations: 4.547 kB / 0.527 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/1.326, allocations: 0.908 MB / 0.5278 GB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/1.326, allocations: 99.33 kB / 0.5279 GB, free: 8.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/1.326, allocations: 12.5 kB / 0.528 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/1.326, allocations: 12 kB / 0.528 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/1.326, allocations: 27.94 kB / 0.528 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/1.327, allocations: 16.89 kB / 0.528 GB, free: 8.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002732/1.327, allocations: 426.9 kB / 0.5284 GB, free: 7.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.327, allocations: 0 / 0.5284 GB, free: 7.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002051/1.329, allocations: 1.169 MB / 0.5296 GB, free: 6.559 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.002946/1.332, allocations: 1.762 MB / 0.5313 GB, free: 5.012 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006528/1.332, allocations: 0.5876 MB / 0.5319 GB, free: 4.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/1.332, allocations: 0 / 0.5319 GB, free: 4.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/1.333, allocations: 340.8 kB / 0.5322 GB, free: 4.102 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/1.333, allocations: 92.11 kB / 0.5323 GB, free: 4.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/1.335, allocations: 1.43 MB / 0.5337 GB, free: 2.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/1.335, allocations: 188.8 kB / 0.5338 GB, free: 2.367 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.385e-05/1.335, allocations: 19.56 kB / 0.5339 GB, free: 2.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/1.335, allocations: 20.5 kB / 0.5339 GB, free: 2.328 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/1.335, allocations: 4 kB / 0.5339 GB, free: 2.324 MB / 458.7 MB Notification: Performance of Templates: time 0.03586/1.371, allocations: 41.3 MB / 0.5742 GB, free: 9.305 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.934706595959142]