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.7964/0.7964, allocations: 111.6 MB / 131 MB, free: 5.078 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 / 175.7 MB, free: 9.461 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.499e-05, allocations: 2.312 kB / 175.7 MB, free: 9.457 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.659/1.659, allocations: 254.7 MB / 430.4 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04308/1.702, allocations: 25.9 MB / 456.3 MB, free: 6.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/1.702, allocations: 8 kB / 456.4 MB, free: 6.121 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.0006341/1.703, allocations: 175.1 kB / 456.5 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/1.703, allocations: 170.9 kB / 456.7 MB, free: 5.781 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.02768/1.731, allocations: 9.608 MB / 466.3 MB, free: 12.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007804/1.731, allocations: 457.7 kB / 466.7 MB, free: 11.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/1.732, allocations: 100.8 kB / 466.8 MB, free: 11.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/1.732, allocations: 263.3 kB / 467.1 MB, free: 11.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/1.732, allocations: 111.7 kB / 467.2 MB, free: 11.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/1.732, allocations: 16 kB / 467.2 MB, free: 11.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0392/1.771, allocations: 19.24 MB / 486.5 MB, free: 7.945 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/1.772, allocations: 55.72 kB / 486.5 MB, free: 7.891 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/1.772, allocations: 99.77 kB / 486.6 MB, free: 7.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2156/1.987, allocations: 11.31 MB / 497.9 MB, free: 25.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.987, allocations: 0 / 497.9 MB, free: 25.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.372e-06/1.987, allocations: 0 / 497.9 MB, free: 25.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/1.987, allocations: 0 / 497.9 MB, free: 25.41 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.005221/1.993, allocations: 1.381 MB / 499.3 MB, free: 24.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/1.993, allocations: 13.11 kB / 499.3 MB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/1.993, allocations: 51.36 kB / 499.4 MB, free: 24.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/1.993, allocations: 184.7 kB / 499.6 MB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.993, allocations: 16.09 kB / 499.6 MB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/1.993, allocations: 23.56 kB / 499.6 MB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/1.993, allocations: 353.6 kB / 499.9 MB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.993, allocations: 7.406 kB / 499.9 MB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/1.993, allocations: 9.594 kB / 500 MB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.994, allocations: 13.88 kB / 500 MB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/1.994, allocations: 216.3 kB / 0.4885 GB, free: 24.36 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.01721/2.011, allocations: 6.035 MB / 0.4943 GB, free: 23.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/2.011, allocations: 114.9 kB / 0.4945 GB, free: 23.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/2.011, allocations: 93.22 kB / 0.4945 GB, free: 23.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1016/2.113, allocations: 32.99 MB / 0.5268 GB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/2.113, allocations: 34.56 kB / 0.5268 GB, free: 4.441 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/2.113, allocations: 0 / 0.5268 GB, free: 4.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001008/2.114, allocations: 448.5 kB / 0.5272 GB, free: 4.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/2.114, allocations: 59.28 kB / 0.5273 GB, free: 4.055 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/2.114, allocations: 173.3 kB / 0.5274 GB, free: 3.895 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/2.114, allocations: 25.7 kB / 0.5275 GB, free: 3.863 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/2.114, allocations: 161.4 kB / 0.5276 GB, free: 3.723 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/2.114, allocations: 173.9 kB / 0.5278 GB, free: 3.574 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/2.114, allocations: 56.75 kB / 0.5278 GB, free: 3.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/2.114, allocations: 333.9 kB / 0.5282 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/2.114, allocations: 85 kB / 0.5282 GB, free: 3.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/2.115, allocations: 151.4 kB / 0.5284 GB, free: 3.031 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/2.115, allocations: 270.3 kB / 0.5286 GB, free: 2.848 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.115, allocations: 0 / 0.5286 GB, free: 2.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004002/2.115, allocations: 338 kB / 0.529 GB, free: 2.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/2.115, allocations: 11.94 kB / 0.529 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/2.115, allocations: 192 / 0.529 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/2.116, allocations: 121.5 kB / 0.5291 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/2.116, allocations: 10.39 kB / 0.5291 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003284/2.116, allocations: 0.6043 MB / 0.5297 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/2.116, allocations: 32.72 kB / 0.5297 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/2.116, allocations: 5.5 kB / 0.5297 GB, free: 1.879 MB / 442.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.000113/2.116, allocations: 143.6 kB / 0.5299 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/2.116, allocations: 31.88 kB / 0.5299 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007274/2.117, allocations: 0.7992 MB / 0.5307 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004198/2.117, allocations: 387.4 kB / 0.531 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.117, allocations: 0 / 0.531 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/2.117, allocations: 0 / 0.531 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/2.119, allocations: 1.331 MB / 0.5323 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/2.119, allocations: 6.188 kB / 0.5324 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/2.119, allocations: 70.34 kB / 0.5324 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/2.119, allocations: 99.23 kB / 0.5325 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/2.119, allocations: 13.44 kB / 0.5325 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/2.12, allocations: 0.6299 MB / 0.5331 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/2.12, allocations: 11 kB / 0.5332 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/2.121, allocations: 0.6437 MB / 0.5338 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/2.121, allocations: 48.12 kB / 0.5338 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/2.121, allocations: 23.95 kB / 0.5338 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/2.121, allocations: 10.44 kB / 0.5339 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/2.121, allocations: 47.38 kB / 0.5339 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/2.121, allocations: 21.88 kB / 0.5339 GB, free: 14.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000285/2.122, allocations: 242.8 kB / 0.5342 GB, free: 14.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/2.122, allocations: 0 / 0.5342 GB, free: 14.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005202/2.127, allocations: 1.353 MB / 0.5355 GB, free: 12.77 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.008531/2.135, allocations: 1.833 MB / 0.5373 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/2.136, allocations: 460.6 kB / 0.5377 GB, free: 10.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.136, allocations: 8.062 kB / 0.5377 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/2.137, allocations: 185.9 kB / 0.5379 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/2.138, allocations: 207.2 kB / 0.5381 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/2.14, allocations: 0.9115 MB / 0.539 GB, free: 9.402 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/2.14, allocations: 236.8 kB / 0.5392 GB, free: 9.145 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/2.14, allocations: 42.02 kB / 0.5392 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/2.14, allocations: 28.5 kB / 0.5393 GB, free: 9.082 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/2.14, allocations: 0 / 0.5393 GB, free: 9.082 MB / 458.7 MB Notification: Performance of Templates: time 0.08537/2.226, allocations: 53.01 MB / 0.591 GB, free: 4.301 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.57320630189497]