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 1.012/1.012, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.899e-05, allocations: 0 / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 31.98 MB / 236.8 MB, free: 5.457 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.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.802/2.012, allocations: 294.2 MB / 0.5186 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6326/2.645, allocations: 195.4 MB / 0.7094 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/2.645, allocations: 9.125 kB / 0.7094 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/2.646, allocations: 143.2 kB / 0.7096 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004628/2.646, allocations: 162.9 kB / 0.7097 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04083/2.687, allocations: 10.95 MB / 0.7204 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009846/2.688, allocations: 0.5827 MB / 0.721 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/2.688, allocations: 203.6 kB / 0.7212 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/2.688, allocations: 214.8 kB / 0.7214 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/2.689, allocations: 199.9 kB / 0.7216 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/2.689, allocations: 16.22 kB / 0.7216 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04959/2.738, allocations: 25.64 MB / 0.7466 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/2.739, allocations: 69.08 kB / 0.7467 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/2.739, allocations: 248.6 kB / 0.7469 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03813/2.777, allocations: 12.27 MB / 0.7589 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/2.777, allocations: 7.984 kB / 0.7589 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.926e-06/2.777, allocations: 1.75 kB / 0.7589 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.979e-06/2.777, allocations: 0 / 0.7589 GB, free: 12.04 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.007645/2.785, allocations: 2.109 MB / 0.761 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/2.785, allocations: 11.38 kB / 0.761 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/2.785, allocations: 56.28 kB / 0.761 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/2.786, allocations: 320.7 kB / 0.7613 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/2.786, allocations: 97.55 kB / 0.7614 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/2.786, allocations: 40.81 kB / 0.7615 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/2.787, allocations: 0.523 MB / 0.762 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/2.787, allocations: 4.406 kB / 0.762 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/2.787, allocations: 15.72 kB / 0.762 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/2.787, allocations: 23.48 kB / 0.762 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/2.787, allocations: 384.1 kB / 0.7624 GB, free: 10.07 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.0742/2.862, allocations: 33.47 MB / 0.7951 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/2.862, allocations: 233.1 kB / 0.7953 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/2.862, allocations: 156.4 kB / 0.7955 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1475/3.01, allocations: 80.94 MB / 0.8745 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/3.01, allocations: 37.98 kB / 0.8745 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/3.01, allocations: 0 / 0.8745 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.00385/3.014, allocations: 1.219 MB / 0.8757 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/3.014, allocations: 60.75 kB / 0.8758 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/3.015, allocations: 316.6 kB / 0.8761 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/3.015, allocations: 27.95 kB / 0.8761 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/3.015, allocations: 245 kB / 0.8764 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/3.015, allocations: 159.5 kB / 0.8765 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/3.015, allocations: 49.62 kB / 0.8766 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002112/3.016, allocations: 344.9 kB / 0.8769 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/3.016, allocations: 146.7 kB / 0.877 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/3.016, allocations: 272.4 kB / 0.8773 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/3.017, allocations: 452.6 kB / 0.8777 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/3.017, allocations: 0 / 0.8777 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002006/3.019, allocations: 0.7105 MB / 0.8784 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/3.019, allocations: 4 kB / 0.8784 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/3.019, allocations: 4 kB / 0.8784 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/3.02, allocations: 403.7 kB / 0.8788 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/3.021, allocations: 40.89 kB / 0.8788 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/3.022, allocations: 1.948 MB / 0.8807 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/3.023, allocations: 66.58 kB / 0.8808 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/3.023, allocations: 15.12 kB / 0.8808 GB, free: 10.88 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.0002273/3.023, allocations: 160.3 kB / 0.881 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/3.023, allocations: 43.58 kB / 0.881 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/3.025, allocations: 0.8935 MB / 0.8819 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001231/3.026, allocations: 0.6988 MB / 0.8826 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/3.026, allocations: 3.938 kB / 0.8826 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/3.026, allocations: 3.984 kB / 0.8826 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/3.029, allocations: 1.645 MB / 0.8842 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/3.029, allocations: 0 / 0.8842 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/3.029, allocations: 54.44 kB / 0.8842 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/3.03, allocations: 414.7 kB / 0.8846 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/3.03, allocations: 12.88 kB / 0.8846 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/3.031, allocations: 1.961 MB / 0.8866 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/3.032, allocations: 0 / 0.8866 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/3.033, allocations: 0.8947 MB / 0.8874 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/3.034, allocations: 130.2 kB / 0.8876 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/3.034, allocations: 9.438 kB / 0.8876 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/3.034, allocations: 31.64 kB / 0.8876 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/3.034, allocations: 23.47 kB / 0.8876 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/3.034, allocations: 15.23 kB / 0.8876 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002483/3.034, allocations: 217.9 kB / 0.8878 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/3.034, allocations: 0 / 0.8878 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006159/3.04, allocations: 2.035 MB / 0.8898 GB, free: 2.965 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.01145/3.052, allocations: 3.017 MB / 0.8928 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001487/3.053, allocations: 0.5961 MB / 0.8934 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/3.053, allocations: 4.188 kB / 0.8934 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/3.054, allocations: 291.2 kB / 0.8936 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/3.055, allocations: 233.5 kB / 0.8939 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/3.058, allocations: 1.42 MB / 0.8952 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/3.059, allocations: 0.8675 MB / 0.8961 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00028/3.059, allocations: 63.19 kB / 0.8961 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/3.059, allocations: 35.44 kB / 0.8962 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/3.059, allocations: 4.656 kB / 0.8962 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.09361/3.153, allocations: 70.68 MB / 0.9652 GB, free: 6.648 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: