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.5207/0.5207, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.714e-06/1.714e-06, allocations: 0 / 176.2 MB, free: 9.184 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.456e-05, allocations: 6.312 kB / 176.2 MB, free: 9.176 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.049/1.049, allocations: 257.2 MB / 433.4 MB, free: 196 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02901/1.078, allocations: 28.16 MB / 461.6 MB, free: 3.941 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/1.079, allocations: 4 kB / 461.6 MB, free: 3.938 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.0005614/1.079, allocations: 179.1 kB / 461.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/1.079, allocations: 162.9 kB / 461.9 MB, free: 3.602 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/WaterSteam/IF97_packages.mo:964:9-964:35:writable] Warning: h 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.01903/1.098, allocations: 9.604 MB / 471.5 MB, free: 9.961 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/1.099, allocations: 453.8 kB / 472 MB, free: 9.516 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/1.099, allocations: 104.8 kB / 472.1 MB, free: 9.414 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/1.099, allocations: 267.3 kB / 472.3 MB, free: 9.152 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/1.099, allocations: 99.72 kB / 472.4 MB, free: 9.055 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/1.099, allocations: 20 kB / 472.4 MB, free: 9.035 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2511/1.351, allocations: 19.25 MB / 491.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/1.351, allocations: 56.28 kB / 491.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/1.351, allocations: 102.8 kB / 491.8 MB, free: 12.1 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01887/1.37, allocations: 11.22 MB / 0.4913 GB, free: 8.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.37, allocations: 1.312 kB / 0.4913 GB, free: 8.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.37, allocations: 2.781 kB / 0.4913 GB, free: 8.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/1.37, allocations: 0 / 0.4913 GB, free: 8.781 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.004296/1.374, allocations: 1.486 MB / 0.4927 GB, free: 7.746 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.374, allocations: 13.42 kB / 0.4927 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/1.374, allocations: 47.61 kB / 0.4928 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.374, allocations: 191.3 kB / 0.493 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.374, allocations: 15.84 kB / 0.493 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/1.374, allocations: 20.38 kB / 0.493 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/1.375, allocations: 275.6 kB / 0.4933 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.375, allocations: 4.922 kB / 0.4933 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.375, allocations: 11.25 kB / 0.4933 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/1.375, allocations: 19.88 kB / 0.4933 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/1.375, allocations: 110.5 kB / 0.4934 GB, free: 7.285 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.009576/1.384, allocations: 6.341 MB / 0.4996 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/1.385, allocations: 88.97 kB / 0.4997 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/1.385, allocations: 56.45 kB / 0.4997 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05701/1.442, allocations: 33.09 MB / 0.532 GB, free: 5.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/1.442, allocations: 40.67 kB / 0.5321 GB, free: 5.273 MB / 458.7 MB Notification: Performance of pre-optimization done (n=52): time 3.075e-06/1.442, allocations: 0.9844 kB / 0.5321 GB, free: 5.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008764/1.443, allocations: 360.7 kB / 0.5324 GB, free: 4.918 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.443, allocations: 55.39 kB / 0.5325 GB, free: 4.852 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/1.443, allocations: 220.6 kB / 0.5327 GB, free: 4.621 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/1.443, allocations: 34.91 kB / 0.5327 GB, free: 4.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.443, allocations: 198.8 kB / 0.5329 GB, free: 4.387 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.443, allocations: 181.5 kB / 0.5331 GB, free: 4.211 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/1.443, allocations: 67.31 kB / 0.5332 GB, free: 4.137 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/1.443, allocations: 0.5118 MB / 0.5337 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/1.443, allocations: 44.47 kB / 0.5337 GB, free: 3.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/1.443, allocations: 128.8 kB / 0.5338 GB, free: 3.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/1.444, allocations: 201.9 kB / 0.534 GB, free: 3.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.444, allocations: 0 / 0.534 GB, free: 3.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003595/1.444, allocations: 261.8 kB / 0.5343 GB, free: 2.953 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.444, allocations: 15.97 kB / 0.5343 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.444, allocations: 0 / 0.5343 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/1.444, allocations: 105 kB / 0.5344 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/1.444, allocations: 13.19 kB / 0.5344 GB, free: 2.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004338/1.445, allocations: 0.848 MB / 0.5352 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/1.445, allocations: 31.67 kB / 0.5352 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.445, allocations: 8 kB / 0.5353 GB, free: 1.906 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 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * 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.0001252/1.445, allocations: 173.6 kB / 0.5354 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/1.445, allocations: 23.86 kB / 0.5354 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/1.446, allocations: 0.7547 MB / 0.5362 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002844/1.446, allocations: 283.9 kB / 0.5365 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.446, allocations: 7.875 kB / 0.5365 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.446, allocations: 0 / 0.5365 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/1.447, allocations: 1.297 MB / 0.5377 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.447, allocations: 8.031 kB / 0.5377 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/1.447, allocations: 74.72 kB / 0.5378 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/1.448, allocations: 77.22 kB / 0.5379 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.448, allocations: 12 kB / 0.5379 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/1.448, allocations: 0.8513 MB / 0.5387 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.448, allocations: 7 kB / 0.5387 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/1.448, allocations: 0.6682 MB / 0.5394 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/1.448, allocations: 43.62 kB / 0.5394 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/1.449, allocations: 33.05 kB / 0.5395 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/1.449, allocations: 8 kB / 0.5395 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/1.449, allocations: 43.77 kB / 0.5395 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/1.449, allocations: 24.5 kB / 0.5395 GB, free: 13.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001655/1.449, allocations: 249.1 kB / 0.5398 GB, free: 13.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.449, allocations: 0 / 0.5398 GB, free: 13.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003829/1.453, allocations: 1.36 MB / 0.5411 GB, free: 11.66 MB / 474.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.004931/1.458, allocations: 1.832 MB / 0.5429 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000453/1.458, allocations: 405.6 kB / 0.5433 GB, free: 9.617 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.458, allocations: 0 / 0.5433 GB, free: 9.617 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/1.458, allocations: 166.5 kB / 0.5434 GB, free: 9.473 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/1.459, allocations: 203.7 kB / 0.5436 GB, free: 9.289 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/1.46, allocations: 0.9435 MB / 0.5445 GB, free: 8.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.224e-05/1.46, allocations: 122.1 kB / 0.5447 GB, free: 8.105 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/1.46, allocations: 37.86 kB / 0.5447 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/1.46, allocations: 32.5 kB / 0.5447 GB, free: 8.043 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/1.46, allocations: 4 kB / 0.5447 GB, free: 8.039 MB / 474.7 MB Notification: Performance of Templates: time 0.06106/1.521, allocations: 63.98 MB / 0.6072 GB, free: 8.348 MB / 0.5261 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.006486624944955]