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.773/0.773, allocations: 111.6 MB / 131 MB, free: 5.09 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.445e-06/2.445e-06, allocations: 0 / 175.7 MB, free: 9.562 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.302e-05, allocations: 9.156 kB / 175.7 MB, free: 9.555 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.632/1.632, allocations: 254.6 MB / 430.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04531/1.677, allocations: 27.8 MB / 458 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/1.677, allocations: 4 kB / 458 MB, free: 4.652 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.0004464/1.678, allocations: 99.34 kB / 458.1 MB, free: 4.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/1.678, allocations: 129 kB / 458.3 MB, free: 4.43 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.02502/1.703, allocations: 8.673 MB / 466.9 MB, free: 11.72 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007873/1.704, allocations: 458 kB / 467.4 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/1.704, allocations: 177.8 kB / 467.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/1.705, allocations: 279.2 kB / 467.8 MB, free: 10.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/1.705, allocations: 131.6 kB / 468 MB, free: 10.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/1.705, allocations: 36 kB / 468 MB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03149/1.737, allocations: 14.29 MB / 482.3 MB, free: 12.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/1.737, allocations: 191.3 kB / 482.5 MB, free: 12.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/1.737, allocations: 155.4 kB / 482.6 MB, free: 12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02222/1.759, allocations: 10.04 MB / 492.7 MB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.759, allocations: 0 / 492.7 MB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.759, allocations: 0 / 492.7 MB, free: 1.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/1.759, allocations: 0 / 492.7 MB, free: 1.934 MB / 442.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.005072/1.764, allocations: 1.822 MB / 494.5 MB, free: 72 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.764, allocations: 8.031 kB / 494.5 MB, free: 64 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1465/1.911, allocations: 117.4 kB / 494.6 MB, free: 109.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/1.911, allocations: 377.3 kB / 495 MB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/1.911, allocations: 25 kB / 495 MB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/1.912, allocations: 30.44 kB / 495 MB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/1.913, allocations: 0.5733 MB / 495.6 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.913, allocations: 0 / 495.6 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/1.913, allocations: 14.75 kB / 495.6 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.913, allocations: 14.62 kB / 495.6 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/1.913, allocations: 0.6126 MB / 496.2 MB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/1.915, allocations: 1.954 MB / 498.2 MB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/1.916, allocations: 0.7719 MB / 499 MB, free: 107.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/1.917, allocations: 282 kB / 499.2 MB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0671/1.984, allocations: 22.63 MB / 0.5096 GB, free: 86.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.984, allocations: 42.55 kB / 0.5097 GB, free: 86.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 3.396e-06/1.984, allocations: 0 / 0.5097 GB, free: 86.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.003993/1.988, allocations: 1.476 MB / 0.5111 GB, free: 84.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/1.988, allocations: 51.41 kB / 0.5112 GB, free: 84.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/1.989, allocations: 0.7258 MB / 0.5119 GB, free: 84.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/1.989, allocations: 33.7 kB / 0.5119 GB, free: 84.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.989, allocations: 359 kB / 0.5123 GB, free: 83.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/1.989, allocations: 132.4 kB / 0.5124 GB, free: 83.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.989, allocations: 66.41 kB / 0.5124 GB, free: 83.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/1.989, allocations: 326 kB / 0.5128 GB, free: 83.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/1.989, allocations: 259.9 kB / 0.513 GB, free: 83.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/1.99, allocations: 317 kB / 0.5133 GB, free: 82.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/1.99, allocations: 0.5763 MB / 0.5139 GB, free: 82.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.99, allocations: 4 kB / 0.5139 GB, free: 82.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001275/1.992, allocations: 0.8879 MB / 0.5147 GB, free: 81.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.992, allocations: 8.922 kB / 0.5148 GB, free: 81.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.992, allocations: 0 / 0.5148 GB, free: 81.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004221/1.996, allocations: 0.8101 MB / 0.5155 GB, free: 80.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.996, allocations: 35.98 kB / 0.5156 GB, free: 80.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/1.997, allocations: 1.28 MB / 0.5168 GB, free: 79.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/1.998, allocations: 39.39 kB / 0.5169 GB, free: 79.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/1.998, allocations: 18.19 kB / 0.5169 GB, free: 79.02 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 (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.0001994/1.998, allocations: 241.7 kB / 0.5171 GB, free: 78.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/1.998, allocations: 87.48 kB / 0.5172 GB, free: 78.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/1.999, allocations: 1.035 MB / 0.5182 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00122/2.001, allocations: 0.8556 MB / 0.519 GB, free: 76.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/2.001, allocations: 0 / 0.519 GB, free: 76.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/2.001, allocations: 5.312 kB / 0.519 GB, free: 76.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/2.003, allocations: 1.769 MB / 0.5208 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/2.003, allocations: 4.875 kB / 0.5208 GB, free: 74.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/2.003, allocations: 39.92 kB / 0.5208 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002131/2.005, allocations: 0.5608 MB / 0.5214 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/2.005, allocations: 12 kB / 0.5214 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/2.006, allocations: 1.309 MB / 0.5227 GB, free: 73.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/2.006, allocations: 48 / 0.5227 GB, free: 73.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/2.008, allocations: 1.045 MB / 0.5237 GB, free: 71.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/2.008, allocations: 103.5 kB / 0.5238 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/2.008, allocations: 8 kB / 0.5238 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/2.008, allocations: 27.97 kB / 0.5238 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/2.008, allocations: 19.95 kB / 0.5238 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/2.008, allocations: 12.56 kB / 0.5238 GB, free: 71.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004006/2.009, allocations: 0.5068 MB / 0.5243 GB, free: 71.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.009, allocations: 0 / 0.5243 GB, free: 71.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002411/2.011, allocations: 1.165 MB / 0.5255 GB, free: 70.24 MB / 442.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.004841/2.016, allocations: 1.768 MB / 0.5272 GB, free: 68.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/2.017, allocations: 0.6993 MB / 0.5279 GB, free: 68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.017, allocations: 0 / 0.5279 GB, free: 68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006883/2.018, allocations: 390.7 kB / 0.5283 GB, free: 67.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/2.018, allocations: 91.5 kB / 0.5283 GB, free: 67.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/2.02, allocations: 1.595 MB / 0.5299 GB, free: 65.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/2.021, allocations: 389.1 kB / 0.5303 GB, free: 65.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.554e-05/2.021, allocations: 18.48 kB / 0.5303 GB, free: 65.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/2.021, allocations: 24.5 kB / 0.5303 GB, free: 65.46 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/2.021, allocations: 4 kB / 0.5303 GB, free: 65.46 MB / 442.7 MB Notification: Performance of Templates: time 0.0432/2.064, allocations: 40.57 MB / 0.5699 GB, free: 25.05 MB / 442.7 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.185722476919182]