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.8114/0.8114, allocations: 150.9 MB / 166 MB, free: 14.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003145, allocations: 7.984 kB / 204 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1655, allocations: 31.33 MB / 235.4 MB, free: 5.711 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.562/1.728, allocations: 293 MB / 0.516 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05171/1.779, allocations: 48.55 MB / 0.5634 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/1.78, allocations: 4 kB / 0.5634 GB, free: 13.22 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce 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 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs 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 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:67:3-71:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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.0004648/1.78, allocations: 136.2 kB / 0.5635 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/1.78, allocations: 131 kB / 0.5637 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0266/1.807, allocations: 9.563 MB / 0.573 GB, free: 3.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/1.808, allocations: 0.5016 MB / 0.5735 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/1.808, allocations: 141.4 kB / 0.5736 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/1.808, allocations: 187.1 kB / 0.5738 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/1.809, allocations: 159.2 kB / 0.5739 GB, free: 2.418 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/1.809, allocations: 16 kB / 0.574 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04673/1.855, allocations: 23.79 MB / 0.5972 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/1.856, allocations: 51.72 kB / 0.5972 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/1.856, allocations: 191 kB / 0.5974 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04102/1.897, allocations: 11.2 MB / 0.6084 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.897, allocations: 0 / 0.6084 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.465e-06/1.897, allocations: 4 kB / 0.6084 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.348e-05/1.897, allocations: 0 / 0.6084 GB, free: 15.11 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.008442/1.906, allocations: 1.909 MB / 0.6102 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.906, allocations: 12.03 kB / 0.6102 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/1.906, allocations: 40.66 kB / 0.6103 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/1.906, allocations: 262.3 kB / 0.6105 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.907, allocations: 83.89 kB / 0.6106 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/1.907, allocations: 28 kB / 0.6106 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/1.908, allocations: 440.4 kB / 0.6111 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.908, allocations: 4 kB / 0.6111 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/1.908, allocations: 12 kB / 0.6111 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/1.908, allocations: 15.98 kB / 0.6111 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.909, allocations: 310 kB / 0.6114 GB, free: 11.88 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.03606/1.945, allocations: 10.18 MB / 0.6213 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/1.946, allocations: 245.2 kB / 0.6216 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/1.947, allocations: 181.9 kB / 0.6217 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4699/2.417, allocations: 109.2 MB / 0.7283 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/2.417, allocations: 31.88 kB / 0.7284 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 3.376e-06/2.417, allocations: 0 / 0.7284 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002135/2.419, allocations: 0.9298 MB / 0.7293 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/2.419, allocations: 54.59 kB / 0.7293 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/2.419, allocations: 245 kB / 0.7296 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/2.419, allocations: 29.53 kB / 0.7296 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/2.419, allocations: 159.7 kB / 0.7297 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/2.42, allocations: 212.9 kB / 0.7299 GB, free: 196.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/2.42, allocations: 66.09 kB / 0.73 GB, free: 196.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/2.42, allocations: 346.3 kB / 0.7303 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/2.42, allocations: 140.2 kB / 0.7305 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/2.42, allocations: 217.6 kB / 0.7307 GB, free: 196 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/2.421, allocations: 401 kB / 0.7311 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/2.421, allocations: 3.406 kB / 0.7311 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001023/2.422, allocations: 0.5485 MB / 0.7316 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/2.422, allocations: 7.688 kB / 0.7316 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/2.422, allocations: 4.25 kB / 0.7316 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/2.423, allocations: 255.2 kB / 0.7319 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/2.423, allocations: 30.03 kB / 0.7319 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008218/2.424, allocations: 1.263 MB / 0.7331 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/2.424, allocations: 59.88 kB / 0.7332 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/2.424, allocations: 15.88 kB / 0.7332 GB, free: 194.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.0001361/2.424, allocations: 143 kB / 0.7333 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/2.424, allocations: 31.34 kB / 0.7334 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/2.425, allocations: 1.067 MB / 0.7344 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007934/2.426, allocations: 0.5603 MB / 0.7349 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/2.426, allocations: 5 kB / 0.735 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/2.426, allocations: 3.797 kB / 0.735 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/2.428, allocations: 1.683 MB / 0.7366 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/2.428, allocations: 7.594 kB / 0.7366 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/2.429, allocations: 76.16 kB / 0.7367 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/2.429, allocations: 276.8 kB / 0.7369 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/2.429, allocations: 15.66 kB / 0.737 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007335/2.43, allocations: 1.293 MB / 0.7382 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.43, allocations: 6.844 kB / 0.7382 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/2.431, allocations: 0.8444 MB / 0.7391 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/2.431, allocations: 123.8 kB / 0.7392 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/2.431, allocations: 31.83 kB / 0.7392 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/2.431, allocations: 35.12 kB / 0.7392 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/2.431, allocations: 45.88 kB / 0.7393 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/2.432, allocations: 15.75 kB / 0.7393 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002672/2.432, allocations: 315.5 kB / 0.7396 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.432, allocations: 3.938 kB / 0.7396 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004524/2.436, allocations: 1.815 MB / 0.7414 GB, free: 192 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.008547/2.445, allocations: 2.61 MB / 0.7439 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001211/2.446, allocations: 0.6073 MB / 0.7445 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.446, allocations: 4.484 kB / 0.7445 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005776/2.447, allocations: 282.6 kB / 0.7448 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/2.448, allocations: 238 kB / 0.745 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/2.45, allocations: 1.391 MB / 0.7464 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/2.45, allocations: 0.8594 MB / 0.7472 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002456/2.451, allocations: 51.84 kB / 0.7473 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/2.451, allocations: 33.31 kB / 0.7473 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/2.451, allocations: 0 / 0.7473 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.0707/2.521, allocations: 66.92 MB / 0.8126 GB, free: 123.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile (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)