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.4822/0.4822, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.373e-06/1.373e-06, allocations: 0 / 176.5 MB, free: 9.418 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.494e-05, allocations: 6.312 kB / 176.5 MB, free: 9.41 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.037/1.037, allocations: 257.2 MB / 433.7 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02394/1.061, allocations: 28.05 MB / 461.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/1.061, allocations: 4 kB / 461.7 MB, free: 4.066 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.0004074/1.061, allocations: 179.1 kB / 461.9 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/1.061, allocations: 159 kB / 462.1 MB, free: 3.734 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.01455/1.076, allocations: 9.623 MB / 471.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/1.076, allocations: 457.8 kB / 472.1 MB, free: 9.633 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/1.076, allocations: 104.8 kB / 472.2 MB, free: 9.527 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/1.077, allocations: 263.2 kB / 472.5 MB, free: 9.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/1.077, allocations: 99.72 kB / 472.6 MB, free: 9.172 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/1.077, allocations: 20 kB / 472.6 MB, free: 9.152 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/1.096, allocations: 19.25 MB / 491.9 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/1.096, allocations: 55.75 kB / 491.9 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/1.096, allocations: 99.78 kB / 492 MB, free: 5.719 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1788/1.275, allocations: 11.2 MB / 0.4914 GB, free: 25.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.275, allocations: 1.125 kB / 0.4914 GB, free: 25.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/1.275, allocations: 0 / 0.4914 GB, free: 25.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/1.275, allocations: 0 / 0.4914 GB, free: 25.6 MB / 442.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.006205/1.281, allocations: 1.486 MB / 0.4929 GB, free: 24.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.281, allocations: 13.14 kB / 0.4929 GB, free: 24.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/1.281, allocations: 53.08 kB / 0.4929 GB, free: 24.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/1.281, allocations: 185.7 kB / 0.4931 GB, free: 24.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/1.281, allocations: 16.88 kB / 0.4931 GB, free: 24.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/1.281, allocations: 18.38 kB / 0.4931 GB, free: 24.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/1.282, allocations: 275.8 kB / 0.4934 GB, free: 24.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.282, allocations: 9.031 kB / 0.4934 GB, free: 24.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/1.282, allocations: 12.58 kB / 0.4934 GB, free: 24.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.282, allocations: 14.27 kB / 0.4934 GB, free: 24.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/1.282, allocations: 115.5 kB / 0.4936 GB, free: 24.41 MB / 442.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.009846/1.292, allocations: 6.337 MB / 0.4997 GB, free: 23.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/1.292, allocations: 82.78 kB / 0.4998 GB, free: 23.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/1.292, allocations: 57.55 kB / 0.4999 GB, free: 23.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05267/1.345, allocations: 33.1 MB / 0.5322 GB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.345, allocations: 37.39 kB / 0.5322 GB, free: 2.934 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 2.455e-06/1.345, allocations: 0 / 0.5322 GB, free: 2.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006504/1.345, allocations: 361.8 kB / 0.5326 GB, free: 2.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/1.345, allocations: 54.91 kB / 0.5326 GB, free: 2.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.345, allocations: 220.8 kB / 0.5328 GB, free: 2.328 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/1.345, allocations: 27.02 kB / 0.5329 GB, free: 2.297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/1.346, allocations: 204.4 kB / 0.5331 GB, free: 2.109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/1.346, allocations: 182.1 kB / 0.5332 GB, free: 1.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/1.346, allocations: 70.61 kB / 0.5333 GB, free: 1.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/1.346, allocations: 0.5127 MB / 0.5338 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/1.346, allocations: 40.05 kB / 0.5338 GB, free: 1.352 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/1.346, allocations: 127.5 kB / 0.534 GB, free: 1.211 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.346, allocations: 204.9 kB / 0.5342 GB, free: 1.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.346, allocations: 0.875 kB / 0.5342 GB, free: 1.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002552/1.346, allocations: 261.6 kB / 0.5344 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.346, allocations: 16.12 kB / 0.5344 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.346, allocations: 1.016 kB / 0.5344 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/1.346, allocations: 107.8 kB / 0.5345 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.72e-05/1.347, allocations: 15.62 kB / 0.5345 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002824/1.347, allocations: 0.8435 MB / 0.5354 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/1.347, allocations: 27.73 kB / 0.5354 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/1.347, allocations: 11.56 kB / 0.5354 GB, free: 15.77 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.000108/1.347, allocations: 176.2 kB / 0.5356 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/1.347, allocations: 19.86 kB / 0.5356 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/1.348, allocations: 0.7615 MB / 0.5363 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002604/1.348, allocations: 287.6 kB / 0.5366 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.348, allocations: 0 / 0.5366 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.348, allocations: 5.25 kB / 0.5366 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.349, allocations: 1.29 MB / 0.5379 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.349, allocations: 9.625 kB / 0.5379 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.349, allocations: 73.09 kB / 0.538 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.611e-05/1.349, allocations: 75.45 kB / 0.538 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.349, allocations: 14.62 kB / 0.538 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002881/1.349, allocations: 0.8513 MB / 0.5389 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.35, allocations: 8.375 kB / 0.5389 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/1.35, allocations: 0.6674 MB / 0.5395 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/1.35, allocations: 39.69 kB / 0.5396 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/1.35, allocations: 31.5 kB / 0.5396 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/1.35, allocations: 7.25 kB / 0.5396 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/1.35, allocations: 44.67 kB / 0.5396 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/1.35, allocations: 26.84 kB / 0.5397 GB, free: 11.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001466/1.35, allocations: 246.6 kB / 0.5399 GB, free: 11.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.35, allocations: 0 / 0.5399 GB, free: 11.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004395/1.355, allocations: 1.363 MB / 0.5412 GB, free: 10.12 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.004064/1.359, allocations: 1.833 MB / 0.543 GB, free: 8.531 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/1.359, allocations: 395.9 kB / 0.5434 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.359, allocations: 1.75 kB / 0.5434 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/1.359, allocations: 176.7 kB / 0.5436 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/1.36, allocations: 207.1 kB / 0.5438 GB, free: 7.867 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.361, allocations: 0.941 MB / 0.5447 GB, free: 6.895 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.321e-05/1.361, allocations: 122.1 kB / 0.5448 GB, free: 6.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/1.361, allocations: 36.77 kB / 0.5448 GB, free: 6.719 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/1.361, allocations: 32.5 kB / 0.5449 GB, free: 6.688 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/1.361, allocations: 4 kB / 0.5449 GB, free: 6.684 MB / 458.7 MB Notification: Performance of Templates: time 0.04923/1.411, allocations: 53.93 MB / 0.5975 GB, free: 1.055 MB / 0.4948 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.723806018009782]