Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.532/0.532, allocations: 111.6 MB / 131.5 MB, free: 4.391 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.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 176.7 MB, free: 8.824 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.534e-05, allocations: 6.312 kB / 176.7 MB, free: 8.816 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.SimpleExamples.TestCentrifugalPump9): time 1.087/1.087, allocations: 263 MB / 439.7 MB, free: 15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02708/1.115, allocations: 29.88 MB / 469.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/1.115, allocations: 0 / 469.5 MB, free: 1.004 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/SourceMechanicalPower.mo:5:3-6: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.0003291/1.115, allocations: 111.3 kB / 469.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/1.115, allocations: 125.1 kB / 469.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01408/1.129, allocations: 7.662 MB / 477.4 MB, free: 9.074 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/1.13, allocations: 438.1 kB / 477.9 MB, free: 8.645 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/1.13, allocations: 170.9 kB / 478 MB, free: 8.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/1.13, allocations: 267.2 kB / 478.3 MB, free: 8.219 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/1.13, allocations: 127.6 kB / 478.4 MB, free: 8.094 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/1.131, allocations: 28 kB / 478.4 MB, free: 8.066 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.2051/1.336, allocations: 15.4 MB / 493.8 MB, free: 9.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/1.336, allocations: 183.9 kB / 494 MB, free: 9.941 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/1.336, allocations: 151.4 kB / 494.2 MB, free: 9.941 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.352, allocations: 9.864 MB / 0.4922 GB, free: 9.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/1.352, allocations: 0 / 0.4922 GB, free: 9.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.352, allocations: 1.594 kB / 0.4922 GB, free: 9.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/1.352, allocations: 0 / 0.4922 GB, free: 9.648 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.004034/1.356, allocations: 1.758 MB / 0.4939 GB, free: 8.562 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.356, allocations: 15.8 kB / 0.4939 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/1.356, allocations: 81.42 kB / 0.494 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.357, allocations: 348.6 kB / 0.4944 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/1.357, allocations: 21.19 kB / 0.4944 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.357, allocations: 33.41 kB / 0.4944 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/1.357, allocations: 396.4 kB / 0.4948 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.357, allocations: 1.812 kB / 0.4948 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/1.357, allocations: 14.16 kB / 0.4948 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/1.357, allocations: 12.34 kB / 0.4948 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/1.357, allocations: 281.9 kB / 0.4951 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009969/1.358, allocations: 1.662 MB / 0.4967 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/1.359, allocations: 410.2 kB / 0.4971 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.454e-05/1.359, allocations: 117.3 kB / 0.4972 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03404/1.393, allocations: 20.36 MB / 0.5171 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.393, allocations: 32.53 kB / 0.5171 GB, free: 7.363 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.344e-06/1.393, allocations: 0 / 0.5171 GB, free: 7.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.001973/1.395, allocations: 1.023 MB / 0.5181 GB, free: 6.344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/1.395, allocations: 55.64 kB / 0.5182 GB, free: 6.277 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/1.396, allocations: 0.5584 MB / 0.5187 GB, free: 5.809 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/1.396, allocations: 29.7 kB / 0.5187 GB, free: 5.773 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.396, allocations: 236.4 kB / 0.519 GB, free: 5.574 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/1.396, allocations: 133.5 kB / 0.5191 GB, free: 5.449 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/1.396, allocations: 62.2 kB / 0.5192 GB, free: 5.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/1.396, allocations: 327.2 kB / 0.5195 GB, free: 5.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/1.396, allocations: 104.9 kB / 0.5196 GB, free: 4.973 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.396, allocations: 155.7 kB / 0.5197 GB, free: 4.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/1.396, allocations: 286 kB / 0.52 GB, free: 4.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.396, allocations: 4 kB / 0.52 GB, free: 4.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003838/1.397, allocations: 467.5 kB / 0.5204 GB, free: 4.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.397, allocations: 4 kB / 0.5204 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.397, allocations: 0 / 0.5204 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/1.399, allocations: 0.8287 MB / 0.5213 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.905e-05/1.399, allocations: 23.83 kB / 0.5213 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007775/1.4, allocations: 1.3 MB / 0.5225 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/1.4, allocations: 23.84 kB / 0.5226 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/1.4, allocations: 11.28 kB / 0.5226 GB, free: 1.914 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 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.4, allocations: 128.7 kB / 0.5227 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/1.4, allocations: 47.95 kB / 0.5227 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/1.4, allocations: 0.6397 MB / 0.5234 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000382/1.401, allocations: 473.4 kB / 0.5238 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/1.401, allocations: 4 kB / 0.5238 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.401, allocations: 7.938 kB / 0.5238 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.402, allocations: 1.3 MB / 0.5251 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.402, allocations: 0 / 0.5251 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/1.402, allocations: 27.27 kB / 0.5251 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/1.403, allocations: 0.5576 MB / 0.5257 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.403, allocations: 9.297 kB / 0.5257 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009808/1.404, allocations: 1.334 MB / 0.527 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.404, allocations: 4 kB / 0.527 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/1.405, allocations: 0.6831 MB / 0.5277 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/1.405, allocations: 87.17 kB / 0.5277 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/1.405, allocations: 14.34 kB / 0.5278 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/1.405, allocations: 8 kB / 0.5278 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/1.405, allocations: 23.95 kB / 0.5278 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/1.405, allocations: 7.938 kB / 0.5278 GB, free: 12.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001655/1.405, allocations: 270 kB / 0.5281 GB, free: 12.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.405, allocations: 4 kB / 0.5281 GB, free: 12.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002787/1.408, allocations: 1.157 MB / 0.5292 GB, free: 11.25 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 (15): * Single equations (assignments): 14 * 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 {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003601/1.411, allocations: 1.889 MB / 0.531 GB, free: 9.586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005747/1.412, allocations: 420.4 kB / 0.5314 GB, free: 9.172 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.412, allocations: 8 kB / 0.5314 GB, free: 9.164 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/1.412, allocations: 242.6 kB / 0.5317 GB, free: 8.938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/1.413, allocations: 93.31 kB / 0.5318 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/1.414, allocations: 1.312 MB / 0.533 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/1.415, allocations: 184.8 kB / 0.5332 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.882e-05/1.415, allocations: 16.08 kB / 0.5332 GB, free: 7.309 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/1.415, allocations: 91.36 kB / 0.5333 GB, free: 7.219 MB / 458.7 MB Notification: Performance of SimCode: time 1.113e-06/1.415, allocations: 0 / 0.5333 GB, free: 7.219 MB / 458.7 MB Notification: Performance of Templates: time 0.04802/1.463, allocations: 47.07 MB / 0.5793 GB, free: 8.383 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.022069117054343]