Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7337/0.7337, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.091e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 31.97 MB / 236.8 MB, free: 5.445 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.406/1.539, allocations: 294 MB / 0.5183 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04702/1.586, allocations: 47.81 MB / 0.565 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/1.586, allocations: 4 kB / 0.565 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/1.587, allocations: 143.3 kB / 0.5651 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/1.587, allocations: 127 kB / 0.5652 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02418/1.611, allocations: 9.761 MB / 0.5748 GB, free: 3.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005718/1.612, allocations: 0.5017 MB / 0.5752 GB, free: 2.855 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/1.612, allocations: 128.2 kB / 0.5754 GB, free: 2.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/1.612, allocations: 187 kB / 0.5755 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/1.612, allocations: 155.1 kB / 0.5757 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/1.612, allocations: 16 kB / 0.5757 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.034/1.646, allocations: 23.89 MB / 0.599 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/1.647, allocations: 47.72 kB / 0.5991 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/1.647, allocations: 200.7 kB / 0.5993 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.668, allocations: 11.09 MB / 0.6101 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.668, allocations: 4 kB / 0.6101 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.668, allocations: 0 / 0.6101 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.668, allocations: 0 / 0.6101 GB, free: 15.09 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004736/1.672, allocations: 1.864 MB / 0.6119 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.673, allocations: 8.031 kB / 0.6119 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/1.673, allocations: 35.53 kB / 0.612 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/1.673, allocations: 258.3 kB / 0.6122 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.673, allocations: 91.89 kB / 0.6123 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/1.673, allocations: 24 kB / 0.6123 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/1.674, allocations: 457.5 kB / 0.6128 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.674, allocations: 3.938 kB / 0.6128 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/1.674, allocations: 8 kB / 0.6128 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/1.674, allocations: 23.97 kB / 0.6128 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/1.674, allocations: 330 kB / 0.6131 GB, free: 11.87 MB / 0.4981 GB 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.01813/1.692, allocations: 10.25 MB / 0.6231 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/1.693, allocations: 268.5 kB / 0.6234 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/1.693, allocations: 189.9 kB / 0.6236 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3301/2.023, allocations: 110 MB / 0.731 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/2.023, allocations: 36.41 kB / 0.731 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/2.023, allocations: 0 / 0.731 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.001904/2.025, allocations: 1.009 MB / 0.732 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/2.025, allocations: 55.09 kB / 0.7321 GB, free: 197.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/2.025, allocations: 246.5 kB / 0.7323 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/2.026, allocations: 27.95 kB / 0.7323 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/2.026, allocations: 155.8 kB / 0.7325 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/2.026, allocations: 211.6 kB / 0.7327 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/2.026, allocations: 48.22 kB / 0.7327 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/2.026, allocations: 345.8 kB / 0.733 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/2.026, allocations: 151.7 kB / 0.7332 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/2.026, allocations: 225.7 kB / 0.7334 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/2.027, allocations: 428.2 kB / 0.7338 GB, free: 197 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.027, allocations: 0 / 0.7338 GB, free: 197 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000926/2.028, allocations: 0.584 MB / 0.7344 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.028, allocations: 5.875 kB / 0.7344 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/2.028, allocations: 4.188 kB / 0.7344 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/2.028, allocations: 262.1 kB / 0.7346 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/2.029, allocations: 30.89 kB / 0.7347 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000687/2.029, allocations: 1.283 MB / 0.7359 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/2.029, allocations: 58.23 kB / 0.736 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/2.029, allocations: 12 kB / 0.736 GB, free: 195.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001131/2.03, allocations: 146.4 kB / 0.7361 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/2.03, allocations: 43.75 kB / 0.7362 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/2.031, allocations: 1.096 MB / 0.7372 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007554/2.032, allocations: 0.5776 MB / 0.7378 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.032, allocations: 4 kB / 0.7378 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/2.032, allocations: 7.781 kB / 0.7378 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/2.034, allocations: 1.734 MB / 0.7395 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/2.034, allocations: 8.25 kB / 0.7395 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/2.034, allocations: 77.55 kB / 0.7396 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/2.034, allocations: 282.2 kB / 0.7399 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/2.034, allocations: 16.03 kB / 0.7399 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006978/2.035, allocations: 1.303 MB / 0.7412 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.035, allocations: 4.516 kB / 0.7412 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/2.036, allocations: 0.8878 MB / 0.742 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/2.036, allocations: 171.6 kB / 0.7422 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/2.036, allocations: 14.09 kB / 0.7422 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/2.037, allocations: 46.42 kB / 0.7422 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/2.037, allocations: 39.61 kB / 0.7423 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/2.037, allocations: 19.56 kB / 0.7423 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002422/2.037, allocations: 310.1 kB / 0.7426 GB, free: 193 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/2.037, allocations: 4 kB / 0.7426 GB, free: 193 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003653/2.041, allocations: 1.809 MB / 0.7444 GB, free: 193 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006927/2.048, allocations: 2.582 MB / 0.7469 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009536/2.049, allocations: 0.6282 MB / 0.7475 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.049, allocations: 0 / 0.7475 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/2.049, allocations: 295.9 kB / 0.7478 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.05, allocations: 248.2 kB / 0.748 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/2.052, allocations: 1.485 MB / 0.7495 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/2.052, allocations: 0.8636 MB / 0.7503 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001865/2.053, allocations: 45.88 kB / 0.7504 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/2.053, allocations: 39.42 kB / 0.7504 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/2.053, allocations: 0 / 0.7504 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06048/2.113, allocations: 66.16 MB / 0.815 GB, free: 124.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe 2>&1) Environment - environmentSimulation: