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.4887/0.4887, allocations: 111.6 MB / 131.2 MB, free: 4.582 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 1.382e-06/1.382e-06, allocations: 0 / 176.1 MB, free: 8.953 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.522e-05, allocations: 2.312 kB / 176.1 MB, free: 8.949 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.01/1.01, allocations: 257.1 MB / 433.2 MB, free: 320 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02529/1.035, allocations: 29.98 MB / 463.2 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/1.035, allocations: 4 kB / 463.2 MB, free: 2.211 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.0003322/1.036, allocations: 115.2 kB / 463.3 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/1.036, allocations: 125.1 kB / 463.4 MB, free: 1.973 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.01389/1.05, allocations: 8.681 MB / 472.1 MB, free: 9.262 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/1.05, allocations: 462.1 kB / 472.6 MB, free: 8.809 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.05, allocations: 181.6 kB / 472.7 MB, free: 8.633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/1.051, allocations: 279.2 kB / 473 MB, free: 8.359 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/1.051, allocations: 127.7 kB / 473.1 MB, free: 8.234 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/1.051, allocations: 36 kB / 473.2 MB, free: 8.199 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1952/1.246, allocations: 14.28 MB / 487.5 MB, free: 10.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/1.246, allocations: 195.9 kB / 487.7 MB, free: 10.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/1.247, allocations: 158.1 kB / 487.8 MB, free: 10.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/1.258, allocations: 9.879 MB / 497.7 MB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.258, allocations: 0.9688 kB / 497.7 MB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.258, allocations: 0 / 497.7 MB, free: 10.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/1.258, allocations: 0 / 497.7 MB, free: 10.07 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.002497/1.26, allocations: 1.929 MB / 499.6 MB, free: 8.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.26, allocations: 14.64 kB / 499.6 MB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.962e-05/1.26, allocations: 121.5 kB / 499.7 MB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/1.261, allocations: 377 kB / 0.4884 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/1.261, allocations: 23.66 kB / 0.4884 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/1.261, allocations: 31.5 kB / 0.4884 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/1.261, allocations: 0.5139 MB / 0.4889 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.261, allocations: 0.5938 kB / 0.4889 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/1.261, allocations: 13.53 kB / 0.489 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/1.261, allocations: 11.89 kB / 0.489 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/1.262, allocations: 457.6 kB / 0.4894 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.263, allocations: 2.454 MB / 0.4918 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/1.263, allocations: 0.6453 MB / 0.4924 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/1.264, allocations: 224 kB / 0.4926 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03693/1.301, allocations: 22.69 MB / 0.5148 GB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.301, allocations: 34.94 kB / 0.5148 GB, free: 5.664 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.575e-06/1.301, allocations: 0 / 0.5148 GB, free: 5.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001979/1.303, allocations: 1.192 MB / 0.516 GB, free: 4.465 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.303, allocations: 62.72 kB / 0.5161 GB, free: 4.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/1.303, allocations: 0.6909 MB / 0.5167 GB, free: 3.688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.303, allocations: 29.7 kB / 0.5168 GB, free: 3.652 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/1.303, allocations: 427.5 kB / 0.5172 GB, free: 3.227 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/1.303, allocations: 133.9 kB / 0.5173 GB, free: 3.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/1.303, allocations: 67.36 kB / 0.5174 GB, free: 3.023 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/1.304, allocations: 0.4926 MB / 0.5179 GB, free: 2.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/1.304, allocations: 191.9 kB / 0.518 GB, free: 2.336 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.304, allocations: 262 kB / 0.5183 GB, free: 2.055 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/1.305, allocations: 466.5 kB / 0.5187 GB, free: 1.582 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.305, allocations: 0 / 0.5187 GB, free: 1.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006322/1.305, allocations: 0.7333 MB / 0.5194 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.305, allocations: 4 kB / 0.5194 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.305, allocations: 4 kB / 0.5195 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/1.307, allocations: 0.7539 MB / 0.5202 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/1.307, allocations: 31.45 kB / 0.5202 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008239/1.308, allocations: 1.41 MB / 0.5216 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/1.308, allocations: 39.7 kB / 0.5216 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/1.308, allocations: 12.66 kB / 0.5216 GB, free: 14.57 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.000125/1.308, allocations: 164.6 kB / 0.5218 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/1.309, allocations: 87.48 kB / 0.5219 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/1.309, allocations: 0.8085 MB / 0.5227 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000566/1.31, allocations: 0.6622 MB / 0.5233 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.31, allocations: 0.5156 kB / 0.5233 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.31, allocations: 0 / 0.5233 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.311, allocations: 1.624 MB / 0.5249 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.311, allocations: 0.9375 kB / 0.5249 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/1.311, allocations: 39.08 kB / 0.5249 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/1.313, allocations: 0.49 MB / 0.5254 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/1.313, allocations: 4 kB / 0.5254 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007276/1.313, allocations: 1.413 MB / 0.5268 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.313, allocations: 4 kB / 0.5268 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/1.314, allocations: 0.9082 MB / 0.5277 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.995e-05/1.314, allocations: 103.3 kB / 0.5278 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/1.314, allocations: 8.969 kB / 0.5278 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.314, allocations: 23.98 kB / 0.5278 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.314, allocations: 20.58 kB / 0.5279 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/1.314, allocations: 12 kB / 0.5279 GB, free: 8.113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002735/1.315, allocations: 430.9 kB / 0.5283 GB, free: 7.699 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.315, allocations: 0 / 0.5283 GB, free: 7.699 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002258/1.317, allocations: 1.161 MB / 0.5294 GB, free: 6.535 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.003099/1.32, allocations: 1.775 MB / 0.5311 GB, free: 4.977 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006865/1.321, allocations: 0.5765 MB / 0.5317 GB, free: 4.402 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.321, allocations: 0 / 0.5317 GB, free: 4.402 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/1.321, allocations: 339.2 kB / 0.532 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/1.321, allocations: 95.98 kB / 0.5321 GB, free: 3.988 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/1.324, allocations: 1.431 MB / 0.5335 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/1.324, allocations: 196.4 kB / 0.5337 GB, free: 2.328 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.618e-05/1.324, allocations: 21.84 kB / 0.5337 GB, free: 2.309 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/1.324, allocations: 20.5 kB / 0.5337 GB, free: 2.289 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/1.324, allocations: 0 / 0.5337 GB, free: 2.289 MB / 458.7 MB Notification: Performance of Templates: time 0.03775/1.362, allocations: 41.29 MB / 0.5741 GB, free: 9.27 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.998365901876241]