Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.SimpleExamples.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.815/0.815, allocations: 150.9 MB / 166 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 15.98 kB / 204 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 31.32 MB / 235.3 MB, free: 5.469 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.SimpleExamples.TestStodolaTurbine3): time 1.617/1.786, allocations: 294.5 MB / 0.5175 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05602/1.842, allocations: 48.92 MB / 0.5652 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/1.842, allocations: 4 kB / 0.5652 GB, free: 13.07 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). [/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.0006902/1.843, allocations: 188.2 kB / 0.5654 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007502/1.844, allocations: 250.1 kB / 0.5656 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02919/1.873, allocations: 9.639 MB / 0.5751 GB, free: 3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/1.874, allocations: 1.012 MB / 0.5761 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/1.875, allocations: 274 kB / 0.5763 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/1.875, allocations: 366.2 kB / 0.5767 GB, free: 1.355 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/1.876, allocations: 326.3 kB / 0.577 GB, free: 1.035 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/1.876, allocations: 32 kB / 0.577 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03923/1.915, allocations: 23.8 MB / 0.6002 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/1.915, allocations: 119.4 kB / 0.6004 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004951/1.916, allocations: 370 kB / 0.6007 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02566/1.942, allocations: 11.58 MB / 0.612 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.942, allocations: 0 / 0.612 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.942, allocations: 0 / 0.612 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.942, allocations: 0 / 0.612 GB, free: 13.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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005837/1.947, allocations: 2.273 MB / 0.6142 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.948, allocations: 8.031 kB / 0.6142 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/1.948, allocations: 78.97 kB / 0.6143 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/1.948, allocations: 348.7 kB / 0.6147 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/1.948, allocations: 163.7 kB / 0.6148 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/1.948, allocations: 48 kB / 0.6149 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/1.949, allocations: 0.842 MB / 0.6157 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.95, allocations: 4 kB / 0.6157 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/1.95, allocations: 22.19 kB / 0.6157 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/1.95, allocations: 43.95 kB / 0.6157 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.951, allocations: 0.6028 MB / 0.6163 GB, free: 8.488 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.0375/1.988, allocations: 20.23 MB / 0.6361 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/1.989, allocations: 490.2 kB / 0.6366 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/1.99, allocations: 359.8 kB / 0.6369 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3423/2.332, allocations: 109.2 MB / 0.7435 GB, free: 236.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/2.332, allocations: 37.5 kB / 0.7435 GB, free: 236.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=132): time 2.544e-06/2.332, allocations: 4 kB / 0.7436 GB, free: 236.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=132): time 0.003572/2.335, allocations: 1.82 MB / 0.7453 GB, free: 236 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/2.336, allocations: 84.45 kB / 0.7454 GB, free: 235.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/2.336, allocations: 400.8 kB / 0.7458 GB, free: 235.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/2.336, allocations: 25.7 kB / 0.7458 GB, free: 235.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/2.336, allocations: 246.1 kB / 0.7461 GB, free: 235.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/2.336, allocations: 427.8 kB / 0.7465 GB, free: 235.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/2.336, allocations: 124.7 kB / 0.7466 GB, free: 235.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/2.337, allocations: 386.1 kB / 0.7469 GB, free: 235.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/2.337, allocations: 269.5 kB / 0.7472 GB, free: 235.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/2.338, allocations: 433.2 kB / 0.7476 GB, free: 234.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/2.339, allocations: 0.7843 MB / 0.7484 GB, free: 234.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/2.339, allocations: 1.031 kB / 0.7484 GB, free: 234.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001944/2.341, allocations: 1.073 MB / 0.7494 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/2.341, allocations: 7.781 kB / 0.7494 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/2.341, allocations: 4.344 kB / 0.7494 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/2.342, allocations: 0.5076 MB / 0.7499 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/2.342, allocations: 49.25 kB / 0.75 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/2.343, allocations: 2.531 MB / 0.7525 GB, free: 232.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/2.344, allocations: 103.7 kB / 0.7526 GB, free: 232.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/2.344, allocations: 26.03 kB / 0.7526 GB, free: 232.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,stodolaTurbine1.Cs.b,stodolaTurbine1.Ce.a,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 (34): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002411/2.344, allocations: 193.5 kB / 0.7528 GB, free: 232.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/2.344, allocations: 63.59 kB / 0.7528 GB, free: 232.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/2.347, allocations: 2.081 MB / 0.7549 GB, free: 231.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001553/2.348, allocations: 1.078 MB / 0.7559 GB, free: 231.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/2.349, allocations: 7.281 kB / 0.7559 GB, free: 231.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/2.349, allocations: 5.156 kB / 0.7559 GB, free: 231.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/2.353, allocations: 3.376 MB / 0.7592 GB, free: 230.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/2.353, allocations: 7.969 kB / 0.7592 GB, free: 230.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/2.354, allocations: 160.6 kB / 0.7594 GB, free: 230.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008998/2.354, allocations: 0.5202 MB / 0.7599 GB, free: 230.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/2.355, allocations: 34.34 kB / 0.7599 GB, free: 230.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/2.356, allocations: 2.573 MB / 0.7624 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/2.356, allocations: 16.19 kB / 0.7624 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/2.358, allocations: 1.663 MB / 0.7641 GB, free: 228 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/2.358, allocations: 185.1 kB / 0.7642 GB, free: 227.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/2.358, allocations: 51.05 kB / 0.7643 GB, free: 227.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/2.359, allocations: 50.64 kB / 0.7643 GB, free: 227.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/2.359, allocations: 91.05 kB / 0.7644 GB, free: 227.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/2.359, allocations: 35.47 kB / 0.7645 GB, free: 227.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005173/2.36, allocations: 0.5328 MB / 0.765 GB, free: 227.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/2.36, allocations: 0 / 0.765 GB, free: 227.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004265/2.364, allocations: 1.921 MB / 0.7669 GB, free: 227.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00783/2.372, allocations: 2.641 MB / 0.7694 GB, free: 227.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001953/2.374, allocations: 1.263 MB / 0.7707 GB, free: 227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.374, allocations: 5.656 kB / 0.7707 GB, free: 227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/2.375, allocations: 0.5647 MB / 0.7712 GB, free: 227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/2.377, allocations: 474.2 kB / 0.7717 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/2.381, allocations: 2.625 MB / 0.7742 GB, free: 225.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/2.381, allocations: 1.055 MB / 0.7753 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000411/2.382, allocations: 99.2 kB / 0.7754 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/2.382, allocations: 64.06 kB / 0.7754 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/2.382, allocations: 0 / 0.7754 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.07889/2.461, allocations: 75.17 MB / 0.8488 GB, free: 152.9 MB / 0.6075 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe 2>&1)