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.4748/0.4748, allocations: 111.7 MB / 121.6 MB, free: 4.738 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08852/0.5633, allocations: 33.98 MB / 155.6 MB, free: 3.656 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.553e-06/1.553e-06, allocations: 0 / 156.9 MB, free: 2.383 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.117e-05, allocations: 2.312 kB / 156.9 MB, free: 2.379 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 0.9949/0.9949, allocations: 233.4 MB / 390.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02671/1.022, allocations: 30.09 MB / 420.4 MB, free: 4.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.753e-05/1.022, allocations: 4 kB / 420.4 MB, free: 4.336 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.0002543/1.022, allocations: 126.4 kB / 420.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/1.022, allocations: 117.1 kB / 420.7 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/1.033, allocations: 7.666 MB / 428.3 MB, free: 12.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/1.033, allocations: 454.2 kB / 428.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/1.033, allocations: 175.5 kB / 429 MB, free: 11.78 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/1.034, allocations: 319.2 kB / 429.3 MB, free: 11.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/1.034, allocations: 135.6 kB / 429.4 MB, free: 11.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/1.034, allocations: 28 kB / 429.4 MB, free: 11.31 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.01808/1.052, allocations: 15.45 MB / 444.9 MB, free: 11.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/1.052, allocations: 171.4 kB / 445 MB, free: 11.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/1.052, allocations: 131.4 kB / 445.2 MB, free: 11.54 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008066/1.06, allocations: 7.617 MB / 452.8 MB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/1.06, allocations: 0 / 452.8 MB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/1.06, allocations: 0 / 452.8 MB, free: 3.906 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/1.06, allocations: 0 / 452.8 MB, free: 3.906 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.002547/1.063, allocations: 2.434 MB / 455.2 MB, free: 1.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/1.063, allocations: 8.625 kB / 455.2 MB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/1.063, allocations: 71.94 kB / 455.3 MB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/1.063, allocations: 349.5 kB / 455.6 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/1.063, allocations: 24.59 kB / 455.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/1.063, allocations: 32 kB / 455.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/1.064, allocations: 346.2 kB / 456 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.064, allocations: 0 / 456 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/1.064, allocations: 8 kB / 456 MB, free: 0.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/1.064, allocations: 16 kB / 456.1 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/1.064, allocations: 197.8 kB / 456.3 MB, free: 340 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.065, allocations: 1.143 MB / 457.4 MB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/1.065, allocations: 246.4 kB / 457.6 MB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/1.065, allocations: 85.67 kB / 457.7 MB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03708/1.102, allocations: 20.36 MB / 478.1 MB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.103, allocations: 38.5 kB / 478.1 MB, free: 10.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/1.103, allocations: 0 / 478.1 MB, free: 10.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.00151/1.104, allocations: 0.537 MB / 478.7 MB, free: 9.836 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/1.104, allocations: 51.41 kB / 478.7 MB, free: 9.773 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/1.105, allocations: 0.5896 MB / 479.3 MB, free: 9.172 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/1.105, allocations: 33.7 kB / 479.3 MB, free: 9.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.105, allocations: 258.1 kB / 479.6 MB, free: 8.875 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/1.105, allocations: 114.9 kB / 479.7 MB, free: 8.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/1.105, allocations: 77.94 kB / 479.8 MB, free: 8.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/1.105, allocations: 333.9 kB / 480.1 MB, free: 8.348 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/1.105, allocations: 71.62 kB / 480.2 MB, free: 8.277 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/1.105, allocations: 132.7 kB / 480.3 MB, free: 8.125 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/1.105, allocations: 247.6 kB / 480.5 MB, free: 7.863 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.105, allocations: 4 kB / 480.5 MB, free: 7.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004153/1.106, allocations: 337 kB / 480.9 MB, free: 7.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.106, allocations: 4 kB / 480.9 MB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.106, allocations: 0 / 480.9 MB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/1.108, allocations: 0.5901 MB / 481.5 MB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/1.108, allocations: 59.95 kB / 481.5 MB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004437/1.109, allocations: 0.653 MB / 482.2 MB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/1.109, allocations: 39.77 kB / 482.2 MB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/1.109, allocations: 8 kB / 482.2 MB, free: 6.141 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.0001215/1.109, allocations: 132.6 kB / 482.4 MB, free: 6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/1.109, allocations: 47.89 kB / 482.4 MB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/1.11, allocations: 487.7 kB / 482.9 MB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000295/1.11, allocations: 297.4 kB / 483.2 MB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/1.11, allocations: 4 kB / 483.2 MB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.11, allocations: 0 / 483.2 MB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/1.111, allocations: 0.8694 MB / 484 MB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.111, allocations: 0 / 484 MB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/1.111, allocations: 55.95 kB / 484.1 MB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/1.111, allocations: 87.3 kB / 484.2 MB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009201/1.112, allocations: 334.2 kB / 484.5 MB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.112, allocations: 4 kB / 484.5 MB, free: 3.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004275/1.112, allocations: 0.6827 MB / 485.2 MB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.112, allocations: 4.094 kB / 485.2 MB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/1.113, allocations: 489.4 kB / 485.7 MB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/1.113, allocations: 8 kB / 485.7 MB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/1.113, allocations: 11.98 kB / 485.7 MB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/1.113, allocations: 23.95 kB / 485.7 MB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/1.113, allocations: 8 kB / 485.7 MB, free: 2.523 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002358/1.114, allocations: 288.5 kB / 486 MB, free: 2.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/1.114, allocations: 4 kB / 486 MB, free: 2.242 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001997/1.116, allocations: 1.169 MB / 487.2 MB, free: 1.07 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.003354/1.119, allocations: 1.911 MB / 489.1 MB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/1.119, allocations: 353.4 kB / 489.4 MB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.119, allocations: 8 kB / 489.4 MB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/1.12, allocations: 296.3 kB / 489.7 MB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/1.12, allocations: 257.9 kB / 490 MB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/1.125, allocations: 1.275 MB / 491.3 MB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/1.125, allocations: 189.1 kB / 491.4 MB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/1.125, allocations: 38.27 kB / 491.5 MB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/1.125, allocations: 99.34 kB / 491.6 MB, free: 12.57 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.125, allocations: 0 / 491.6 MB, free: 12.57 MB / 490.7 MB Notification: Performance of Templates: time 0.1888/1.314, allocations: 41.72 MB / 0.5208 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07226/1.386, allocations: 53.75 MB / 0.5733 GB, free: 53.45 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.025615695863962]