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.8046/0.8046, allocations: 150.8 MB / 166.6 MB, free: 11.15 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002511, allocations: 7.984 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 31.33 MB / 236 MB, free: 3.898 MB / 186.7 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.623/1.781, allocations: 292.3 MB / 0.516 GB, free: 9.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05321/1.834, allocations: 48.55 MB / 0.5634 GB, free: 9.191 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/1.835, allocations: 0 / 0.5634 GB, free: 9.191 MB / 458.7 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.0004541/1.835, allocations: 139.3 kB / 0.5635 GB, free: 9.055 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/1.835, allocations: 127 kB / 0.5636 GB, free: 8.93 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02734/1.863, allocations: 9.567 MB / 0.573 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/1.863, allocations: 0.5056 MB / 0.5735 GB, free: 14.86 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/1.864, allocations: 133.4 kB / 0.5736 GB, free: 14.72 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/1.864, allocations: 199 kB / 0.5738 GB, free: 14.53 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/1.864, allocations: 159.2 kB / 0.5739 GB, free: 14.37 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/1.864, allocations: 19.94 kB / 0.5739 GB, free: 14.35 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03767/1.902, allocations: 23.79 MB / 0.5972 GB, free: 6.531 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/1.902, allocations: 55.72 kB / 0.5972 GB, free: 6.477 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/1.902, allocations: 187 kB / 0.5974 GB, free: 6.293 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02623/1.928, allocations: 11.21 MB / 0.6084 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.928, allocations: 0 / 0.6084 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.663e-06/1.928, allocations: 0 / 0.6084 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.251e-06/1.928, allocations: 0 / 0.6084 GB, free: 11.06 MB / 0.4948 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.005144/1.934, allocations: 1.911 MB / 0.6102 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.934, allocations: 8.031 kB / 0.6102 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/1.934, allocations: 43.44 kB / 0.6103 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/1.934, allocations: 258.3 kB / 0.6105 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/1.934, allocations: 83.89 kB / 0.6106 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/1.934, allocations: 28 kB / 0.6106 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/1.935, allocations: 444.4 kB / 0.611 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.935, allocations: 4 kB / 0.611 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/1.935, allocations: 12 kB / 0.6111 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/1.935, allocations: 15.98 kB / 0.6111 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/1.935, allocations: 310 kB / 0.6114 GB, free: 7.828 MB / 0.4948 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.0202/1.956, allocations: 10.17 MB / 0.6213 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/1.956, allocations: 247 kB / 0.6215 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/1.956, allocations: 177.9 kB / 0.6217 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3758/2.332, allocations: 109.2 MB / 0.7283 GB, free: 191.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/2.332, allocations: 30.56 kB / 0.7284 GB, free: 191 MB / 0.573 GB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/2.332, allocations: 0 / 0.7284 GB, free: 191 MB / 0.573 GB Notification: Performance of matching and sorting (n=66): time 0.002028/2.334, allocations: 0.9303 MB / 0.7293 GB, free: 190.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/2.334, allocations: 56.97 kB / 0.7293 GB, free: 190.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/2.335, allocations: 241.1 kB / 0.7295 GB, free: 190.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/2.335, allocations: 29.64 kB / 0.7296 GB, free: 190.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/2.335, allocations: 161.9 kB / 0.7297 GB, free: 190.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/2.335, allocations: 215.9 kB / 0.7299 GB, free: 190.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/2.335, allocations: 63.28 kB / 0.73 GB, free: 190.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/2.335, allocations: 345.7 kB / 0.7303 GB, free: 190 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/2.335, allocations: 140.2 kB / 0.7305 GB, free: 190 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/2.335, allocations: 218.8 kB / 0.7307 GB, free: 189.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/2.336, allocations: 395.6 kB / 0.731 GB, free: 189.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.336, allocations: 0 / 0.731 GB, free: 189.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009975/2.337, allocations: 0.5518 MB / 0.7316 GB, free: 189.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/2.337, allocations: 7.875 kB / 0.7316 GB, free: 189.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/2.337, allocations: 4.25 kB / 0.7316 GB, free: 189.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/2.338, allocations: 249.2 kB / 0.7318 GB, free: 189.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/2.338, allocations: 30.42 kB / 0.7319 GB, free: 189.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007126/2.338, allocations: 1.266 MB / 0.7331 GB, free: 188.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/2.339, allocations: 59.61 kB / 0.7332 GB, free: 188.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/2.339, allocations: 10.69 kB / 0.7332 GB, free: 188.7 MB / 0.573 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.0001153/2.339, allocations: 145.7 kB / 0.7333 GB, free: 188.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/2.339, allocations: 36.8 kB / 0.7333 GB, free: 188.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/2.34, allocations: 1.053 MB / 0.7344 GB, free: 188.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008261/2.341, allocations: 0.554 MB / 0.7349 GB, free: 188.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/2.341, allocations: 4.438 kB / 0.7349 GB, free: 188.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/2.341, allocations: 3.75 kB / 0.7349 GB, free: 188.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/2.343, allocations: 1.696 MB / 0.7366 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/2.343, allocations: 3.969 kB / 0.7366 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/2.343, allocations: 81.03 kB / 0.7367 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/2.344, allocations: 266.1 kB / 0.7369 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/2.344, allocations: 16.14 kB / 0.7369 GB, free: 187.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006944/2.344, allocations: 1.288 MB / 0.7382 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/2.344, allocations: 8.094 kB / 0.7382 GB, free: 186.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/2.346, allocations: 1.741 MB / 0.7399 GB, free: 185.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/2.346, allocations: 139.3 kB / 0.74 GB, free: 185.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/2.347, allocations: 23.53 kB / 0.74 GB, free: 185.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/2.347, allocations: 23.39 kB / 0.7401 GB, free: 185.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/2.347, allocations: 51.05 kB / 0.7401 GB, free: 185.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/2.347, allocations: 22.41 kB / 0.7401 GB, free: 185.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000266/2.347, allocations: 318 kB / 0.7404 GB, free: 185.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/2.347, allocations: 0 / 0.7404 GB, free: 185.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004647/2.352, allocations: 1.88 MB / 0.7423 GB, free: 185.1 MB / 0.573 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.007684/2.36, allocations: 2.616 MB / 0.7448 GB, free: 184.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00112/2.361, allocations: 0.6138 MB / 0.7454 GB, free: 184.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/2.361, allocations: 0 / 0.7454 GB, free: 184.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000465/2.361, allocations: 281.4 kB / 0.7457 GB, free: 184.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/2.363, allocations: 245 kB / 0.7459 GB, free: 183.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/2.365, allocations: 1.751 MB / 0.7476 GB, free: 182.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/2.365, allocations: 0.8752 MB / 0.7485 GB, free: 181.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002246/2.365, allocations: 50.86 kB / 0.7485 GB, free: 181.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/2.365, allocations: 39.42 kB / 0.7486 GB, free: 181.3 MB / 0.573 GB Notification: Performance of SimCode: time 3.41e-07/2.365, allocations: 0 / 0.7486 GB, free: 181.3 MB / 0.573 GB Notification: Performance of Templates: time 0.06402/2.429, allocations: 67.25 MB / 0.8143 GB, free: 114.9 MB / 0.573 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)