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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7453/0.7453, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.377e-05, allocations: 0 / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 31.99 MB / 236.9 MB, free: 5.418 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.416/1.558, allocations: 295.2 MB / 0.5196 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4363/1.994, allocations: 195.4 MB / 0.7104 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/1.994, allocations: 9.25 kB / 0.7104 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003577/1.995, allocations: 139.5 kB / 0.7106 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/1.995, allocations: 165.2 kB / 0.7107 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0251/2.02, allocations: 10.95 MB / 0.7214 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005666/2.021, allocations: 0.5879 MB / 0.722 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/2.021, allocations: 199.7 kB / 0.7222 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/2.021, allocations: 225 kB / 0.7224 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/2.021, allocations: 194.8 kB / 0.7226 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/2.021, allocations: 16.28 kB / 0.7226 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03433/2.056, allocations: 25.63 MB / 0.7476 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/2.056, allocations: 69.31 kB / 0.7477 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002975/2.056, allocations: 251.8 kB / 0.7479 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02622/2.082, allocations: 12.28 MB / 0.7599 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/2.082, allocations: 2.969 kB / 0.7599 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.093e-06/2.082, allocations: 0 / 0.7599 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.244e-06/2.082, allocations: 0 / 0.7599 GB, free: 12.07 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.005508/2.088, allocations: 2.123 MB / 0.762 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/2.088, allocations: 8.312 kB / 0.762 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.949e-05/2.088, allocations: 93.81 kB / 0.7621 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/2.088, allocations: 55.23 kB / 0.7622 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/2.088, allocations: 322 kB / 0.7625 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/2.089, allocations: 93.55 kB / 0.7626 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/2.089, allocations: 34.41 kB / 0.7626 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/2.089, allocations: 0.5333 MB / 0.7631 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/2.089, allocations: 0 / 0.7631 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/2.089, allocations: 16.12 kB / 0.7631 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/2.089, allocations: 16.8 kB / 0.7631 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/2.09, allocations: 388.5 kB / 0.7635 GB, free: 10.04 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.06871/2.159, allocations: 33.48 MB / 0.7962 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/2.159, allocations: 232 kB / 0.7964 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/2.159, allocations: 160.4 kB / 0.7966 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1285/2.288, allocations: 80.94 MB / 0.8756 GB, free: 484 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/2.288, allocations: 33.94 kB / 0.8757 GB, free: 444 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.914e-06/2.288, allocations: 2.906 kB / 0.8757 GB, free: 444 kB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.003113/2.291, allocations: 1.218 MB / 0.8768 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/2.291, allocations: 55.41 kB / 0.8769 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/2.292, allocations: 317.3 kB / 0.8772 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/2.292, allocations: 25.7 kB / 0.8772 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/2.292, allocations: 246.7 kB / 0.8775 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.994e-05/2.292, allocations: 163.1 kB / 0.8776 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/2.292, allocations: 47.7 kB / 0.8777 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001031/2.292, allocations: 347.9 kB / 0.878 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/2.292, allocations: 142.6 kB / 0.8781 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/2.293, allocations: 273.3 kB / 0.8784 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/2.293, allocations: 452.5 kB / 0.8788 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/2.293, allocations: 0 / 0.8788 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001697/2.295, allocations: 0.7133 MB / 0.8795 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/2.295, allocations: 4 kB / 0.8795 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/2.295, allocations: 8.25 kB / 0.8795 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/2.296, allocations: 404.8 kB / 0.8799 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/2.296, allocations: 49.97 kB / 0.88 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/2.297, allocations: 1.947 MB / 0.8819 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/2.298, allocations: 62.73 kB / 0.8819 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/2.298, allocations: 15.98 kB / 0.8819 GB, free: 10.68 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.0001626/2.298, allocations: 160.7 kB / 0.8821 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/2.298, allocations: 35.53 kB / 0.8821 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/2.299, allocations: 0.8946 MB / 0.883 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001132/2.3, allocations: 0.7019 MB / 0.8837 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/2.3, allocations: 0 / 0.8837 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/2.3, allocations: 0 / 0.8837 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/2.303, allocations: 1.647 MB / 0.8853 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/2.303, allocations: 8.125 kB / 0.8853 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/2.303, allocations: 53.52 kB / 0.8854 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/2.304, allocations: 417.7 kB / 0.8857 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/2.304, allocations: 11.8 kB / 0.8858 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/2.305, allocations: 1.956 MB / 0.8877 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/2.305, allocations: 4.125 kB / 0.8877 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/2.307, allocations: 0.896 MB / 0.8885 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/2.307, allocations: 131.4 kB / 0.8887 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/2.307, allocations: 9.188 kB / 0.8887 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/2.308, allocations: 23.67 kB / 0.8887 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/2.308, allocations: 30.95 kB / 0.8887 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/2.308, allocations: 11.06 kB / 0.8887 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002048/2.308, allocations: 219.4 kB / 0.889 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/2.308, allocations: 0 / 0.889 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004578/2.312, allocations: 2.033 MB / 0.8909 GB, free: 2.766 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.01063/2.323, allocations: 4.355 MB / 0.8952 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001012/2.324, allocations: 0.5882 MB / 0.8958 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/2.324, allocations: 0 / 0.8958 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/2.325, allocations: 303.9 kB / 0.8961 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/2.326, allocations: 218.9 kB / 0.8963 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009358/2.335, allocations: 5.522 MB / 0.9017 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/2.336, allocations: 0.8675 MB / 0.9025 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002275/2.336, allocations: 66.62 kB / 0.9026 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/2.336, allocations: 187.4 kB / 0.9027 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/2.336, allocations: 4 kB / 0.9028 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.336/7.672, allocations: 78.43 MB / 0.9793 GB, free: 438.9 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/7.672, allocations: 308.8 kB / 0.9796 GB, free: 438.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/14.39, allocations: 0.9844 kB / 0.9796 GB, free: 438.6 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_SteamTurbine_TestStodolaTurbine.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.pipe 2>&1)