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.5478/0.5478, 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.633e-06/1.633e-06, allocations: 0 / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.904e-05, allocations: 2.312 kB / 176.2 MB, free: 9.152 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.121/1.121, allocations: 257.2 MB / 433.4 MB, free: 176 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02731/1.148, allocations: 28.15 MB / 461.6 MB, free: 3.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/1.148, allocations: 4 kB / 461.6 MB, free: 3.93 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.0005145/1.149, allocations: 191 kB / 461.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/1.149, allocations: 158.9 kB / 461.9 MB, free: 3.586 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.01869/1.167, allocations: 9.616 MB / 471.5 MB, free: 9.934 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/1.168, allocations: 445.8 kB / 472 MB, free: 9.496 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/1.168, allocations: 96.86 kB / 472.1 MB, free: 9.402 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/1.169, allocations: 271.2 kB / 472.3 MB, free: 9.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/1.169, allocations: 99.72 kB / 472.4 MB, free: 9.039 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/1.169, allocations: 24 kB / 472.4 MB, free: 9.016 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2177/1.386, allocations: 19.24 MB / 491.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/1.387, allocations: 50.05 kB / 491.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/1.387, allocations: 109.1 kB / 491.8 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01948/1.406, allocations: 11.21 MB / 0.4913 GB, free: 8.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/1.406, allocations: 7.516 kB / 0.4913 GB, free: 8.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/1.406, allocations: 0.7188 kB / 0.4913 GB, free: 8.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/1.406, allocations: 0 / 0.4913 GB, free: 8.785 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.004114/1.41, allocations: 1.484 MB / 0.4927 GB, free: 7.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.41, allocations: 13.45 kB / 0.4927 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/1.41, allocations: 53.7 kB / 0.4928 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/1.411, allocations: 177.9 kB / 0.493 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.411, allocations: 19.22 kB / 0.493 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/1.411, allocations: 21.44 kB / 0.493 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/1.411, allocations: 276 kB / 0.4933 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.411, allocations: 7.219 kB / 0.4933 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.411, allocations: 12 kB / 0.4933 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.411, allocations: 16.02 kB / 0.4933 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/1.411, allocations: 109.2 kB / 0.4934 GB, free: 7.289 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.00945/1.421, allocations: 6.341 MB / 0.4996 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.421, allocations: 94.28 kB / 0.4997 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/1.421, allocations: 51.86 kB / 0.4997 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0581/1.479, allocations: 33.1 MB / 0.5321 GB, free: 5.305 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.479, allocations: 33.39 kB / 0.5321 GB, free: 5.262 MB / 458.7 MB Notification: Performance of pre-optimization done (n=52): time 2.344e-06/1.479, allocations: 4 kB / 0.5321 GB, free: 5.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009553/1.48, allocations: 356.5 kB / 0.5324 GB, free: 4.906 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.48, allocations: 51.41 kB / 0.5325 GB, free: 4.844 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/1.48, allocations: 233.1 kB / 0.5327 GB, free: 4.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/1.48, allocations: 25.7 kB / 0.5327 GB, free: 4.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/1.48, allocations: 201.3 kB / 0.5329 GB, free: 4.371 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/1.48, allocations: 177.5 kB / 0.5331 GB, free: 4.199 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/1.48, allocations: 75.3 kB / 0.5332 GB, free: 4.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/1.48, allocations: 0.5079 MB / 0.5337 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/1.48, allocations: 40.48 kB / 0.5337 GB, free: 3.559 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/1.481, allocations: 129.3 kB / 0.5338 GB, free: 3.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/1.481, allocations: 202.7 kB / 0.534 GB, free: 3.188 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.481, allocations: 4 kB / 0.534 GB, free: 3.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003101/1.481, allocations: 264.5 kB / 0.5343 GB, free: 2.938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.481, allocations: 7.938 kB / 0.5343 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.481, allocations: 4 kB / 0.5343 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/1.481, allocations: 109.3 kB / 0.5344 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/1.481, allocations: 7.75 kB / 0.5344 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003789/1.482, allocations: 0.8484 MB / 0.5352 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.209e-05/1.482, allocations: 31.67 kB / 0.5352 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.482, allocations: 12 kB / 0.5353 GB, free: 1.891 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.0001003/1.482, allocations: 168.9 kB / 0.5354 GB, free: 1.719 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/1.482, allocations: 20.47 kB / 0.5354 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/1.483, allocations: 0.7586 MB / 0.5362 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002729/1.483, allocations: 291.6 kB / 0.5365 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.483, allocations: 0 / 0.5365 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.483, allocations: 3.984 kB / 0.5365 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/1.484, allocations: 1.296 MB / 0.5377 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.484, allocations: 4 kB / 0.5377 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/1.484, allocations: 74.88 kB / 0.5378 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/1.484, allocations: 79.08 kB / 0.5379 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/1.484, allocations: 12 kB / 0.5379 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003039/1.485, allocations: 0.8556 MB / 0.5387 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.485, allocations: 11.5 kB / 0.5387 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/1.485, allocations: 0.666 MB / 0.5394 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/1.485, allocations: 35.69 kB / 0.5394 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.485, allocations: 31.88 kB / 0.5394 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/1.485, allocations: 16.59 kB / 0.5395 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/1.485, allocations: 38.89 kB / 0.5395 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/1.485, allocations: 19.94 kB / 0.5395 GB, free: 13.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001527/1.486, allocations: 249.1 kB / 0.5398 GB, free: 13.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.486, allocations: 0 / 0.5398 GB, free: 13.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003143/1.489, allocations: 1.363 MB / 0.5411 GB, free: 11.65 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.004363/1.493, allocations: 1.827 MB / 0.5429 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004902/1.494, allocations: 407.1 kB / 0.5433 GB, free: 9.609 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.494, allocations: 4 kB / 0.5433 GB, free: 9.605 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/1.494, allocations: 167.6 kB / 0.5434 GB, free: 9.457 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/1.494, allocations: 200.9 kB / 0.5436 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/1.496, allocations: 0.9453 MB / 0.5445 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.011e-05/1.496, allocations: 126.1 kB / 0.5447 GB, free: 8.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/1.496, allocations: 34.25 kB / 0.5447 GB, free: 8.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/1.496, allocations: 32.5 kB / 0.5447 GB, free: 8.031 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/1.496, allocations: 0 / 0.5447 GB, free: 8.031 MB / 474.7 MB Notification: Performance of Templates: time 0.05505/1.551, allocations: 53.93 MB / 0.5974 GB, free: 2.41 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.849268516059965]