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.531/0.531, allocations: 111.6 MB / 131.5 MB, free: 4.922 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 2.465e-06/2.465e-06, allocations: 3.938 kB / 176.6 MB, free: 8.91 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.858e-05, allocations: 12.09 kB / 176.6 MB, free: 8.902 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.101/1.101, allocations: 263 MB / 439.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02604/1.127, allocations: 28.05 MB / 467.7 MB, free: 2.297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/1.127, allocations: 4 kB / 467.7 MB, free: 2.293 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.0005635/1.128, allocations: 195 kB / 467.9 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/1.128, allocations: 162.9 kB / 468.1 MB, free: 1.941 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.01859/1.146, allocations: 9.662 MB / 477.7 MB, free: 8.242 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/1.147, allocations: 453.8 kB / 478.2 MB, free: 7.797 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/1.147, allocations: 98.78 kB / 478.3 MB, free: 7.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/1.147, allocations: 267.3 kB / 478.5 MB, free: 7.441 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/1.147, allocations: 103.7 kB / 478.6 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/1.147, allocations: 20 kB / 478.7 MB, free: 7.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2194/1.367, allocations: 19.24 MB / 497.9 MB, free: 11.06 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/1.367, allocations: 56.08 kB / 498 MB, free: 11.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/1.367, allocations: 99.94 kB / 498.1 MB, free: 11.06 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/1.386, allocations: 11.22 MB / 0.4973 GB, free: 6.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.386, allocations: 0 / 0.4973 GB, free: 6.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.502e-06/1.386, allocations: 1.156 kB / 0.4973 GB, free: 6.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/1.386, allocations: 0 / 0.4973 GB, free: 6.477 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.003591/1.39, allocations: 1.352 MB / 0.4987 GB, free: 5.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.39, allocations: 16.52 kB / 0.4987 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/1.39, allocations: 36.03 kB / 0.4987 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.39, allocations: 167.1 kB / 0.4989 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.39, allocations: 17.12 kB / 0.4989 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/1.39, allocations: 21.59 kB / 0.4989 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/1.39, allocations: 246 kB / 0.4991 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.39, allocations: 4.75 kB / 0.4991 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.39, allocations: 7 kB / 0.4992 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.39, allocations: 23.14 kB / 0.4992 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/1.391, allocations: 85.8 kB / 0.4993 GB, free: 5.207 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.007624/1.398, allocations: 5.117 MB / 0.5043 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.398, allocations: 118 kB / 0.5044 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/1.398, allocations: 28.58 kB / 0.5044 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04857/1.447, allocations: 28.84 MB / 0.5326 GB, free: 7.566 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.447, allocations: 30.56 kB / 0.5326 GB, free: 7.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/1.447, allocations: 0 / 0.5326 GB, free: 7.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005333/1.447, allocations: 271.5 kB / 0.5328 GB, free: 7.266 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/1.448, allocations: 55.34 kB / 0.5329 GB, free: 7.199 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/1.448, allocations: 167.2 kB / 0.5331 GB, free: 7.039 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/1.448, allocations: 25.7 kB / 0.5331 GB, free: 7.008 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/1.448, allocations: 151.9 kB / 0.5332 GB, free: 6.863 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/1.448, allocations: 177 kB / 0.5334 GB, free: 6.699 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/1.448, allocations: 55.72 kB / 0.5334 GB, free: 6.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/1.448, allocations: 344 kB / 0.5338 GB, free: 6.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/1.448, allocations: 31.33 kB / 0.5338 GB, free: 6.293 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/1.448, allocations: 80.88 kB / 0.5339 GB, free: 6.195 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/1.448, allocations: 156.3 kB / 0.534 GB, free: 6.039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.448, allocations: 0 / 0.534 GB, free: 6.039 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002073/1.449, allocations: 189.6 kB / 0.5342 GB, free: 5.863 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.449, allocations: 4 kB / 0.5342 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.449, allocations: 4 kB / 0.5342 GB, free: 5.855 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/1.449, allocations: 108.6 kB / 0.5343 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/1.449, allocations: 11.98 kB / 0.5343 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002695/1.449, allocations: 0.5523 MB / 0.5349 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/1.449, allocations: 33.05 kB / 0.5349 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.449, allocations: 0 / 0.5349 GB, free: 5.141 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 8.942e-05/1.449, allocations: 123.8 kB / 0.535 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/1.449, allocations: 11.92 kB / 0.535 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/1.45, allocations: 0.6194 MB / 0.5356 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001743/1.45, allocations: 222.8 kB / 0.5359 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.45, allocations: 3.938 kB / 0.5359 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.45, allocations: 0 / 0.5359 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/1.451, allocations: 1.024 MB / 0.5369 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.451, allocations: 4 kB / 0.5369 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/1.451, allocations: 67.41 kB / 0.5369 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-05/1.451, allocations: 82.02 kB / 0.537 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.451, allocations: 12 kB / 0.537 GB, free: 3.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002347/1.451, allocations: 0.5778 MB / 0.5376 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.451, allocations: 7.844 kB / 0.5376 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/1.452, allocations: 0.5204 MB / 0.5381 GB, free: 1.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/1.452, allocations: 50 kB / 0.5381 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/1.452, allocations: 20.89 kB / 0.5382 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/1.452, allocations: 16 kB / 0.5382 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/1.452, allocations: 39.55 kB / 0.5382 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/1.452, allocations: 16 kB / 0.5382 GB, free: 1.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.177e-05/1.452, allocations: 95.94 kB / 0.5383 GB, free: 1.641 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.452, allocations: 4 kB / 0.5383 GB, free: 1.637 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003295/1.455, allocations: 1.36 MB / 0.5397 GB, free: 280 kB / 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.005611/1.461, allocations: 1.947 MB / 0.5416 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005217/1.461, allocations: 362.1 kB / 0.5419 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.461, allocations: 4 kB / 0.5419 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/1.462, allocations: 151.7 kB / 0.5421 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/1.462, allocations: 208.1 kB / 0.5422 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/1.463, allocations: 0.8822 MB / 0.5431 GB, free: 12.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/1.464, allocations: 126 kB / 0.5432 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/1.464, allocations: 37.33 kB / 0.5433 GB, free: 12.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/1.464, allocations: 157.9 kB / 0.5434 GB, free: 12.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/1.464, allocations: 4 kB / 0.5434 GB, free: 12.56 MB / 474.7 MB Notification: Performance of Templates: time 0.06226/1.526, allocations: 60.81 MB / 0.6028 GB, free: 76 kB / 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.84463622700423]