Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.4942/0.4942, allocations: 111.7 MB / 121.6 MB, free: 4.789 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0958/0.59, allocations: 33.97 MB / 155.5 MB, free: 3.715 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 156.8 MB, free: 2.461 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.128e-05, allocations: 5.266 kB / 156.8 MB, free: 2.457 MB / 154.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.SimpleExamples.TestCentrifugalPump13): time 1.048/1.048, allocations: 233.4 MB / 390.2 MB, free: 2.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0242/1.072, allocations: 30.09 MB / 420.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/1.072, allocations: 0 / 420.3 MB, free: 4.457 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0002463/1.072, allocations: 103.3 kB / 420.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/1.073, allocations: 133 kB / 420.5 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/1.085, allocations: 7.658 MB / 428.2 MB, free: 12.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000419/1.085, allocations: 454.1 kB / 428.6 MB, free: 12.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/1.085, allocations: 175.6 kB / 428.8 MB, free: 11.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/1.085, allocations: 311.2 kB / 429.1 MB, free: 11.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/1.086, allocations: 143.6 kB / 429.2 MB, free: 11.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/1.086, allocations: 32 kB / 429.3 MB, free: 11.43 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.01752/1.103, allocations: 15.45 MB / 444.7 MB, free: 11.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/1.103, allocations: 167.4 kB / 444.9 MB, free: 11.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/1.103, allocations: 131.4 kB / 445 MB, free: 11.67 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009261/1.113, allocations: 7.641 MB / 452.6 MB, free: 4.012 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/1.113, allocations: 0 / 452.6 MB, free: 4.012 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.113, allocations: 0 / 452.6 MB, free: 4.012 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/1.113, allocations: 4 kB / 452.6 MB, free: 4.008 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002316/1.115, allocations: 2.435 MB / 455.1 MB, free: 1.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/1.115, allocations: 12.62 kB / 455.1 MB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/1.115, allocations: 71.92 kB / 455.2 MB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/1.115, allocations: 345.6 kB / 455.5 MB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/1.115, allocations: 28.53 kB / 455.5 MB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/1.115, allocations: 32 kB / 455.6 MB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/1.116, allocations: 342.3 kB / 455.9 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.116, allocations: 0 / 455.9 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/1.116, allocations: 23.92 kB / 455.9 MB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/1.116, allocations: 12 kB / 455.9 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/1.116, allocations: 197.9 kB / 456.1 MB, free: 428 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/1.117, allocations: 1.135 MB / 457.3 MB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/1.117, allocations: 250.4 kB / 457.5 MB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/1.117, allocations: 89.94 kB / 457.6 MB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03133/1.149, allocations: 20.35 MB / 477.9 MB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.149, allocations: 42.5 kB / 478 MB, free: 10.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/1.149, allocations: 0 / 478 MB, free: 10.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.001128/1.15, allocations: 0.5348 MB / 478.5 MB, free: 9.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.15, allocations: 55.41 kB / 478.6 MB, free: 9.863 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/1.15, allocations: 0.5935 MB / 479.2 MB, free: 9.258 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.15, allocations: 29.7 kB / 479.2 MB, free: 9.223 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.151, allocations: 258.1 kB / 479.4 MB, free: 8.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/1.151, allocations: 118.9 kB / 479.6 MB, free: 8.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/1.151, allocations: 77.92 kB / 479.6 MB, free: 8.766 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/1.151, allocations: 325.9 kB / 480 MB, free: 8.441 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/1.151, allocations: 71.62 kB / 480 MB, free: 8.371 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/1.151, allocations: 140.7 kB / 480.2 MB, free: 8.215 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/1.151, allocations: 235.7 kB / 480.4 MB, free: 7.965 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.151, allocations: 0 / 480.4 MB, free: 7.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003197/1.151, allocations: 340.9 kB / 480.7 MB, free: 7.621 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.151, allocations: 9.562 kB / 480.7 MB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.151, allocations: 0 / 480.7 MB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/1.153, allocations: 0.5897 MB / 481.3 MB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/1.153, allocations: 59.89 kB / 481.4 MB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003786/1.154, allocations: 0.6385 MB / 482 MB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/1.154, allocations: 43.77 kB / 482.1 MB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/1.154, allocations: 7.984 kB / 482.1 MB, free: 6.25 MB / 474.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,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.154, allocations: 132.7 kB / 482.2 MB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/1.154, allocations: 51.83 kB / 482.3 MB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/1.154, allocations: 495.7 kB / 482.7 MB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002225/1.155, allocations: 289.5 kB / 483 MB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/1.155, allocations: 3.938 kB / 483 MB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.155, allocations: 0 / 483 MB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/1.155, allocations: 0.8655 MB / 483.9 MB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.155, allocations: 0 / 483.9 MB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/1.155, allocations: 55.89 kB / 483.9 MB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/1.156, allocations: 87.36 kB / 484 MB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/1.156, allocations: 334.3 kB / 484.4 MB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/1.156, allocations: 11.98 kB / 484.4 MB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003426/1.157, allocations: 0.6749 MB / 485 MB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.157, allocations: 0 / 485 MB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/1.157, allocations: 497.5 kB / 485.5 MB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/1.157, allocations: 8 kB / 485.5 MB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.157, allocations: 11.98 kB / 485.6 MB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/1.157, allocations: 23.95 kB / 485.6 MB, free: 2.637 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.157, allocations: 8 kB / 485.6 MB, free: 2.629 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001714/1.157, allocations: 288.5 kB / 485.9 MB, free: 2.352 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.157, allocations: 0 / 485.9 MB, free: 2.352 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002025/1.159, allocations: 1.165 MB / 487 MB, free: 1.184 MB / 474.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 (24): * Single equations (assignments): 23 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002571/1.162, allocations: 1.915 MB / 488.9 MB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004029/1.162, allocations: 357.8 kB / 489.3 MB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.162, allocations: 12 kB / 489.3 MB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/1.162, allocations: 191 kB / 489.5 MB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.163, allocations: 127.2 kB / 489.6 MB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/1.166, allocations: 1.298 MB / 490.9 MB, free: 13.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/1.166, allocations: 193.1 kB / 491.1 MB, free: 13.03 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.192e-05/1.166, allocations: 30.28 kB / 491.1 MB, free: 13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.167, allocations: 107.3 kB / 491.2 MB, free: 12.89 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.167, allocations: 0 / 491.2 MB, free: 12.89 MB / 490.7 MB Notification: Performance of Templates: time 0.1977/1.364, allocations: 47.14 MB / 0.5258 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07258/1.437, allocations: 53.73 MB / 0.5782 GB, free: 48.37 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.815924469381571]