Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.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.8268/0.8268, allocations: 150.9 MB / 166 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 7.984 kB / 204 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 31.33 MB / 235.4 MB, free: 5.449 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.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.586/1.75, allocations: 293.3 MB / 0.5163 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5365/2.287, allocations: 197.8 MB / 0.7094 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/2.287, allocations: 10.91 kB / 0.7094 GB, free: 3.605 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:65:3-66:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:67:3-68:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:72:3-76: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/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005389/2.288, allocations: 142.8 kB / 0.7096 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004315/2.288, allocations: 162.3 kB / 0.7097 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03303/2.321, allocations: 10.71 MB / 0.7202 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001023/2.322, allocations: 0.5893 MB / 0.7208 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/2.323, allocations: 228.4 kB / 0.721 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/2.323, allocations: 232.6 kB / 0.7212 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/2.323, allocations: 229.1 kB / 0.7214 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/2.323, allocations: 30.31 kB / 0.7215 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04707/2.37, allocations: 25.51 MB / 0.7464 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/2.371, allocations: 85.77 kB / 0.7464 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004374/2.371, allocations: 246.7 kB / 0.7467 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03472/2.406, allocations: 12.49 MB / 0.7589 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/2.406, allocations: 0 / 0.7589 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/2.406, allocations: 2.906 kB / 0.7589 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.995e-06/2.406, allocations: 0 / 0.7589 GB, free: 11.92 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.00596/2.412, allocations: 2.186 MB / 0.761 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/2.412, allocations: 13.77 kB / 0.761 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/2.412, allocations: 54.44 kB / 0.7611 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/2.412, allocations: 326.8 kB / 0.7614 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/2.412, allocations: 93.12 kB / 0.7615 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/2.413, allocations: 36.78 kB / 0.7615 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/2.413, allocations: 0.5183 MB / 0.762 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/2.413, allocations: 2.938 kB / 0.762 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/2.413, allocations: 16.47 kB / 0.762 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/2.413, allocations: 22.11 kB / 0.7621 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/2.414, allocations: 361.4 kB / 0.7624 GB, free: 9.934 MB / 0.5919 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.06987/2.484, allocations: 33.17 MB / 0.7948 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/2.484, allocations: 212.1 kB / 0.795 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/2.485, allocations: 144.6 kB / 0.7951 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1361/2.621, allocations: 80.45 MB / 0.8737 GB, free: 288 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/2.621, allocations: 30.56 kB / 0.8737 GB, free: 248 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/2.621, allocations: 0 / 0.8737 GB, free: 248 kB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.003273/2.624, allocations: 1.099 MB / 0.8748 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/2.624, allocations: 51.41 kB / 0.8749 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/2.624, allocations: 325 kB / 0.8752 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/2.625, allocations: 25.7 kB / 0.8752 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/2.625, allocations: 244.1 kB / 0.8754 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/2.625, allocations: 153 kB / 0.8756 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/2.625, allocations: 85.98 kB / 0.8756 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001303/2.625, allocations: 352.5 kB / 0.876 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/2.625, allocations: 132.5 kB / 0.8761 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/2.626, allocations: 263.5 kB / 0.8764 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/2.626, allocations: 430.3 kB / 0.8768 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/2.626, allocations: 3.562 kB / 0.8768 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001733/2.628, allocations: 0.67 MB / 0.8774 GB, free: 13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/2.628, allocations: 9.203 kB / 0.8774 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/2.628, allocations: 4 kB / 0.8774 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/2.629, allocations: 377.6 kB / 0.8778 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/2.629, allocations: 45.02 kB / 0.8778 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/2.631, allocations: 1.913 MB / 0.8797 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/2.631, allocations: 54.55 kB / 0.8798 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/2.631, allocations: 20.62 kB / 0.8798 GB, free: 10.72 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,stodolaTurbine.Cs.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001905/2.631, allocations: 159.5 kB / 0.8799 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/2.632, allocations: 39.52 kB / 0.88 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/2.633, allocations: 0.8679 MB / 0.8808 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00118/2.634, allocations: 0.6642 MB / 0.8815 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/2.634, allocations: 0 / 0.8815 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/2.634, allocations: 3.984 kB / 0.8815 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/2.637, allocations: 1.561 MB / 0.883 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/2.637, allocations: 0 / 0.883 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/2.637, allocations: 60.02 kB / 0.8831 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007274/2.638, allocations: 407.6 kB / 0.8834 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/2.638, allocations: 4 kB / 0.8834 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/2.64, allocations: 1.938 MB / 0.8853 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/2.64, allocations: 0 / 0.8853 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/2.642, allocations: 0.8445 MB / 0.8862 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/2.642, allocations: 132.3 kB / 0.8863 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/2.642, allocations: 9.203 kB / 0.8863 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/2.642, allocations: 23.91 kB / 0.8863 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/2.642, allocations: 23.97 kB / 0.8863 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/2.642, allocations: 12 kB / 0.8864 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002615/2.642, allocations: 223 kB / 0.8866 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/2.642, allocations: 4 kB / 0.8866 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006233/2.649, allocations: 2.034 MB / 0.8886 GB, free: 2.027 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/2.661, allocations: 3.046 MB / 0.8915 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001388/2.662, allocations: 0.5744 MB / 0.8921 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.662, allocations: 0 / 0.8921 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005693/2.663, allocations: 293.9 kB / 0.8924 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/2.664, allocations: 224 kB / 0.8926 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/2.666, allocations: 1.326 MB / 0.8939 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/2.667, allocations: 0.8714 MB / 0.8947 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002644/2.667, allocations: 63.19 kB / 0.8948 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/2.667, allocations: 39.44 kB / 0.8948 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of SimCode: time 4.8e-07/2.667, allocations: 0 / 0.8948 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of Templates: time 0.09154/2.759, allocations: 71.53 MB / 0.9647 GB, free: 4.559 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe 2>&1)