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.795/0.795, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002599, allocations: 11.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 31.33 MB / 236 MB, free: 3.883 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.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.606/1.765, allocations: 292.6 MB / 0.5162 GB, free: 9.391 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5095/2.274, allocations: 197.8 MB / 0.7094 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/2.275, allocations: 9.812 kB / 0.7094 GB, free: 1.227 MB / 0.5573 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.0004817/2.275, allocations: 142.8 kB / 0.7096 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003569/2.275, allocations: 160.9 kB / 0.7097 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02991/2.305, allocations: 10.71 MB / 0.7202 GB, free: 15.51 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007886/2.306, allocations: 0.5944 MB / 0.7207 GB, free: 15.37 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/2.307, allocations: 228 kB / 0.721 GB, free: 15.29 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/2.307, allocations: 241.9 kB / 0.7212 GB, free: 15.25 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/2.307, allocations: 218 kB / 0.7214 GB, free: 15.21 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/2.307, allocations: 29.31 kB / 0.7214 GB, free: 15.21 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04373/2.351, allocations: 25.51 MB / 0.7463 GB, free: 7.605 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/2.351, allocations: 83.64 kB / 0.7464 GB, free: 7.59 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003466/2.351, allocations: 238.1 kB / 0.7467 GB, free: 7.578 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02947/2.381, allocations: 12.42 MB / 0.7588 GB, free: 2.465 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/2.381, allocations: 0 / 0.7588 GB, free: 2.465 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.353e-06/2.381, allocations: 0 / 0.7588 GB, free: 2.465 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.233e-05/2.381, allocations: 0 / 0.7588 GB, free: 2.465 MB / 0.573 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.007174/2.388, allocations: 2.182 MB / 0.7609 GB, free: 0.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/2.388, allocations: 16.03 kB / 0.7609 GB, free: 496 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/2.388, allocations: 51.34 kB / 0.761 GB, free: 444 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/2.389, allocations: 327.8 kB / 0.7613 GB, free: 108 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/2.389, allocations: 98.08 kB / 0.7614 GB, free: 12 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/2.389, allocations: 38.22 kB / 0.7614 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/2.39, allocations: 0.51 MB / 0.7619 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/2.39, allocations: 0 / 0.7619 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/2.39, allocations: 18.77 kB / 0.7619 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/2.39, allocations: 19.17 kB / 0.762 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/2.391, allocations: 371.4 kB / 0.7623 GB, free: 15.33 MB / 0.5886 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.07699/2.468, allocations: 33.16 MB / 0.7947 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/2.468, allocations: 215.3 kB / 0.7949 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/2.468, allocations: 149.7 kB / 0.795 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1412/2.61, allocations: 80.44 MB / 0.8736 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/2.61, allocations: 34.56 kB / 0.8736 GB, free: 0.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.225e-06/2.61, allocations: 4 kB / 0.8736 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003082/2.613, allocations: 1.095 MB / 0.8747 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/2.613, allocations: 51.41 kB / 0.8747 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/2.613, allocations: 321.5 kB / 0.8751 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/2.613, allocations: 29.64 kB / 0.8751 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/2.613, allocations: 243.2 kB / 0.8753 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/2.613, allocations: 156.2 kB / 0.8755 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/2.614, allocations: 81.59 kB / 0.8755 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/2.614, allocations: 350.8 kB / 0.8759 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/2.614, allocations: 128.5 kB / 0.876 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/2.614, allocations: 266.8 kB / 0.8763 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/2.615, allocations: 430 kB / 0.8767 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.615, allocations: 1.094 kB / 0.8767 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001681/2.617, allocations: 0.6748 MB / 0.8773 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/2.617, allocations: 9.562 kB / 0.8773 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/2.617, allocations: 4 kB / 0.8773 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007817/2.617, allocations: 378.1 kB / 0.8777 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/2.618, allocations: 43.91 kB / 0.8777 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/2.619, allocations: 1.918 MB / 0.8796 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/2.619, allocations: 55.42 kB / 0.8797 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/2.619, allocations: 21.08 kB / 0.8797 GB, free: 10.16 MB / 0.7136 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.0001825/2.62, allocations: 163.3 kB / 0.8798 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/2.62, allocations: 39.59 kB / 0.8799 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/2.621, allocations: 0.8541 MB / 0.8807 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00111/2.622, allocations: 0.6714 MB / 0.8814 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/2.622, allocations: 4 kB / 0.8814 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.622, allocations: 0 / 0.8814 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/2.625, allocations: 1.573 MB / 0.8829 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.625, allocations: 4 kB / 0.8829 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/2.625, allocations: 47.92 kB / 0.883 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006769/2.626, allocations: 405.6 kB / 0.8833 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/2.626, allocations: 11.98 kB / 0.8834 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/2.627, allocations: 1.93 MB / 0.8852 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/2.627, allocations: 144 / 0.8852 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/2.63, allocations: 1.779 MB / 0.887 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/2.63, allocations: 136.3 kB / 0.8871 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/2.63, allocations: 8 kB / 0.8871 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/2.63, allocations: 15.98 kB / 0.8871 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/2.63, allocations: 27.95 kB / 0.8872 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/2.63, allocations: 15.84 kB / 0.8872 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002181/2.631, allocations: 219.1 kB / 0.8874 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/2.631, allocations: 1.203 kB / 0.8874 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005953/2.636, allocations: 2.112 MB / 0.8894 GB, free: 15.9 MB / 0.7292 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.009596/2.646, allocations: 3.042 MB / 0.8924 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001236/2.647, allocations: 0.5771 MB / 0.893 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.647, allocations: 4 kB / 0.893 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/2.648, allocations: 291.2 kB / 0.8933 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/2.649, allocations: 226.6 kB / 0.8935 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/2.652, allocations: 1.704 MB / 0.8951 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/2.652, allocations: 0.8841 MB / 0.896 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002648/2.653, allocations: 59.19 kB / 0.8961 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/2.653, allocations: 39.44 kB / 0.8961 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/2.653, allocations: 4 kB / 0.8961 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of Templates: time 0.2649/2.918, allocations: 71.87 MB / 0.9663 GB, free: 416.6 MB / 0.7761 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)