Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.5508/0.5508, allocations: 111.6 MB / 131.5 MB, free: 4.902 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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 176.7 MB, free: 8.852 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.222e-05, allocations: 4.984 kB / 176.7 MB, free: 8.848 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.TestSteamEngine): time 1.111/1.111, allocations: 263.1 MB / 439.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02641/1.137, allocations: 28.05 MB / 467.8 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/1.138, allocations: 4 kB / 467.8 MB, free: 2.695 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:24:3-25:79: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/SteamEngine.mo:26:3-27:77: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/BoundaryConditions/SinkP.mo:19:3-20: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/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004941/1.138, allocations: 187.1 kB / 468 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/1.138, allocations: 170.8 kB / 468.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.016/1.154, allocations: 8.071 MB / 476.2 MB, free: 10.24 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000524/1.155, allocations: 453.7 kB / 476.7 MB, free: 9.793 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/1.155, allocations: 102.8 kB / 476.8 MB, free: 9.695 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/1.155, allocations: 259.3 kB / 477 MB, free: 9.441 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/1.155, allocations: 111.6 kB / 477.1 MB, free: 9.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/1.155, allocations: 20 kB / 477.2 MB, free: 9.312 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/WaterSteam/IF97_packages.mo:964:9-964:35:writable] Warning: 'h' 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.2371/1.393, allocations: 20.86 MB / 498 MB, free: 11.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/1.393, allocations: 56.55 kB / 498.1 MB, free: 11.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/1.393, allocations: 101.2 kB / 498.2 MB, free: 11.59 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/1.411, allocations: 11.22 MB / 0.4975 GB, free: 7.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.411, allocations: 0.9375 kB / 0.4975 GB, free: 7.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.411, allocations: 1.531 kB / 0.4975 GB, free: 7.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/1.411, allocations: 4.219 kB / 0.4975 GB, free: 7.77 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.003597/1.414, allocations: 1.352 MB / 0.4988 GB, free: 6.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.414, allocations: 15.34 kB / 0.4988 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/1.414, allocations: 30.45 kB / 0.4988 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.414, allocations: 165.7 kB / 0.499 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.414, allocations: 17.06 kB / 0.499 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/1.414, allocations: 19.25 kB / 0.499 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/1.415, allocations: 245.3 kB / 0.4992 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.415, allocations: 4.562 kB / 0.4993 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.415, allocations: 10.34 kB / 0.4993 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.415, allocations: 17.3 kB / 0.4993 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/1.415, allocations: 90.3 kB / 0.4994 GB, free: 6.504 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/1.422, allocations: 5.119 MB / 0.5044 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.423, allocations: 112.4 kB / 0.5045 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.423, allocations: 36.58 kB / 0.5045 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05209/1.475, allocations: 28.84 MB / 0.5327 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.475, allocations: 34.56 kB / 0.5327 GB, free: 8.578 MB / 458.7 MB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/1.475, allocations: 0 / 0.5327 GB, free: 8.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005238/1.475, allocations: 265.7 kB / 0.533 GB, free: 8.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/1.475, allocations: 59.09 kB / 0.533 GB, free: 8.254 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/1.475, allocations: 167.5 kB / 0.5332 GB, free: 8.098 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/1.475, allocations: 25.7 kB / 0.5332 GB, free: 8.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/1.475, allocations: 155 kB / 0.5333 GB, free: 7.918 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/1.476, allocations: 173.6 kB / 0.5335 GB, free: 7.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/1.476, allocations: 59.61 kB / 0.5336 GB, free: 7.703 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/1.476, allocations: 334.8 kB / 0.5339 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/1.476, allocations: 35.31 kB / 0.5339 GB, free: 7.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/1.476, allocations: 85.33 kB / 0.534 GB, free: 7.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/1.476, allocations: 146.8 kB / 0.5341 GB, free: 7.102 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.476, allocations: 0 / 0.5341 GB, free: 7.102 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002141/1.476, allocations: 199.2 kB / 0.5343 GB, free: 6.918 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.476, allocations: 4 kB / 0.5343 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.476, allocations: 5.641 kB / 0.5343 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/1.476, allocations: 100.5 kB / 0.5344 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/1.476, allocations: 8 kB / 0.5344 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002971/1.477, allocations: 0.561 MB / 0.535 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/1.477, allocations: 31.67 kB / 0.535 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/1.477, allocations: 4 kB / 0.535 GB, free: 6.195 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (steamEngine1.C1.a,steamEngine1.C2.b,puitsP.C.a,sourceP.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002368/1.477, allocations: 121.3 kB / 0.5351 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/1.477, allocations: 15.92 kB / 0.5352 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/1.478, allocations: 0.6206 MB / 0.5358 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001751/1.478, allocations: 217 kB / 0.536 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.478, allocations: 3.938 kB / 0.536 GB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.478, allocations: 4.594 kB / 0.536 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/1.479, allocations: 1.015 MB / 0.537 GB, free: 4.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.479, allocations: 4.875 kB / 0.537 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.479, allocations: 74.81 kB / 0.537 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.917e-05/1.479, allocations: 69.94 kB / 0.5371 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.479, allocations: 12 kB / 0.5371 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000248/1.479, allocations: 0.5818 MB / 0.5377 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.479, allocations: 7.75 kB / 0.5377 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/1.479, allocations: 0.5269 MB / 0.5382 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/1.479, allocations: 44.12 kB / 0.5383 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/1.48, allocations: 23.89 kB / 0.5383 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/1.48, allocations: 15.56 kB / 0.5383 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/1.48, allocations: 47.16 kB / 0.5383 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/1.48, allocations: 12.69 kB / 0.5383 GB, free: 2.777 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.576e-05/1.48, allocations: 101.9 kB / 0.5384 GB, free: 2.688 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.48, allocations: 4 kB / 0.5385 GB, free: 2.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003221/1.483, allocations: 1.353 MB / 0.5398 GB, free: 1.328 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005446/1.488, allocations: 1.948 MB / 0.5417 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004882/1.489, allocations: 358.6 kB / 0.542 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.489, allocations: 4 kB / 0.542 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/1.489, allocations: 153.8 kB / 0.5422 GB, free: 15.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/1.49, allocations: 200.8 kB / 0.5424 GB, free: 14.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/1.491, allocations: 0.8865 MB / 0.5432 GB, free: 13.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.698e-05/1.491, allocations: 126 kB / 0.5433 GB, free: 13.81 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/1.491, allocations: 37.61 kB / 0.5434 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/1.492, allocations: 157.3 kB / 0.5435 GB, free: 13.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/1.492, allocations: 0 / 0.5435 GB, free: 13.62 MB / 474.7 MB Notification: Performance of Templates: time 0.05978/1.551, allocations: 60.82 MB / 0.6029 GB, free: 1.105 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.968887160997838]