Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.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.SimpleExamples.TestGasTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestGasTurbine",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.7392/0.7392, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.363e-05/1.364e-05, allocations: 4 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 31.99 MB / 236.8 MB, free: 5.406 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.SimpleExamples.TestGasTurbine): time 1.389/1.52, allocations: 298.8 MB / 0.5231 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4255/1.946, allocations: 188.8 MB / 0.7075 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007457/1.946, allocations: 18.69 kB / 0.7075 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004589/1.947, allocations: 178 kB / 0.7077 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000929/1.948, allocations: 435.2 kB / 0.7081 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02534/1.973, allocations: 9.728 MB / 0.7176 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002201/1.975, allocations: 1.809 MB / 0.7193 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/1.976, allocations: 0.9152 MB / 0.7202 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006489/1.977, allocations: 0.5682 MB / 0.7208 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/1.978, allocations: 0.6455 MB / 0.7214 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/1.978, allocations: 66.38 kB / 0.7215 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03145/2.009, allocations: 22.15 MB / 0.7431 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003735/2.009, allocations: 249.5 kB / 0.7433 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009403/2.01, allocations: 0.7642 MB / 0.7441 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/2.033, allocations: 11.97 MB / 0.7558 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/2.033, allocations: 0 / 0.7558 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/2.033, allocations: 0 / 0.7558 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.479e-05/2.033, allocations: 3.344 kB / 0.7558 GB, free: 12.7 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: 428 * Number of variables: 428 Notification: Performance of Generate backend data structure: time 0.006345/2.04, allocations: 2.661 MB / 0.7584 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/2.04, allocations: 9.438 kB / 0.7584 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/2.04, allocations: 247.2 kB / 0.7586 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/2.04, allocations: 190.4 kB / 0.7588 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/2.041, allocations: 0.718 MB / 0.7595 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/2.041, allocations: 132.5 kB / 0.7596 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/2.041, allocations: 158.3 kB / 0.7598 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/2.044, allocations: 1.85 MB / 0.7616 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/2.044, allocations: 6.156 kB / 0.7616 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/2.044, allocations: 68.34 kB / 0.7617 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/2.044, allocations: 49.05 kB / 0.7617 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/2.046, allocations: 1.354 MB / 0.763 GB, free: 9.547 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.07663/2.123, allocations: 40.44 MB / 0.8025 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/2.124, allocations: 0.6448 MB / 0.8032 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/2.125, allocations: 382.7 kB / 0.8035 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/2.225, allocations: 58.78 MB / 0.8609 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/2.225, allocations: 36.88 kB / 0.861 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=71): time 3.637e-06/2.225, allocations: 0 / 0.861 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of matching and sorting (n=71): time 0.008799/2.234, allocations: 2.409 MB / 0.8633 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/2.234, allocations: 55.97 kB / 0.8634 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/2.235, allocations: 0.9542 MB / 0.8643 GB, free: 168 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/2.236, allocations: 33.45 kB / 0.8643 GB, free: 136 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/2.236, allocations: 0.6968 MB / 0.865 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/2.236, allocations: 257.6 kB / 0.8653 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/2.236, allocations: 101.8 kB / 0.8654 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001036/2.236, allocations: 342.8 kB / 0.8657 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/2.237, allocations: 366.2 kB / 0.866 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/2.238, allocations: 0.7346 MB / 0.8667 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/2.24, allocations: 1.146 MB / 0.8679 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/2.24, allocations: 4 kB / 0.8679 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003119/2.243, allocations: 1.475 MB / 0.8693 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/2.243, allocations: 12.94 kB / 0.8693 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/2.243, allocations: 12 kB / 0.8693 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/2.246, allocations: 0.7382 MB / 0.8701 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/2.247, allocations: 194.4 kB / 0.8702 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/2.25, allocations: 2.492 MB / 0.8727 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/2.251, allocations: 190.3 kB / 0.8729 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/2.251, allocations: 52 kB / 0.8729 GB, free: 7.582 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 18 (gasTurbine.chambreCombustionTAC.Cfg.ftype,sourcePQ.C.ftype,gasTurbine.chambreCombustionTAC.fluids[1],gasTurbine.xAIR.fluid,gasTurbine.Compresseur.fluid,sink.fluid,gasTurbine.TurbineAgaz.fluid,water.C.ftype,gasTurbine.chambreCombustionTAC.fluid_ws,water.fluid1,sourcePQ.fluid1,gasTurbine.chambreCombustionTAC.Cfg.diff_on_2,gasTurbine.chambreCombustionTAC.Cfg.diff_on_1,gasTurbine.Sortie_fumees.diff_on_1,gasTurbine.chambreCombustionTAC.Ca.diff_on_2,gasTurbine.Entree_air.diff_on_2,gasTurbine.chambreCombustionTAC.Cws.diff_on_2,gasTurbine.Compresseur.Cs.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(12,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005406/2.251, allocations: 322.8 kB / 0.8732 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/2.251, allocations: 114.7 kB / 0.8733 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/2.254, allocations: 1.254 MB / 0.8745 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001824/2.256, allocations: 0.9801 MB / 0.8755 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/2.256, allocations: 0 / 0.8755 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/2.256, allocations: 3.984 kB / 0.8755 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/2.26, allocations: 2.583 MB / 0.878 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.26, allocations: 0 / 0.878 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/2.26, allocations: 106.8 kB / 0.8781 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002788/2.263, allocations: 0.7081 MB / 0.8788 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/2.263, allocations: 22.89 kB / 0.8788 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/2.266, allocations: 2.474 MB / 0.8813 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.266, allocations: 0 / 0.8813 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/2.268, allocations: 1.197 MB / 0.8824 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/2.268, allocations: 283.4 kB / 0.8827 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/2.268, allocations: 11.94 kB / 0.8827 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/2.269, allocations: 67.88 kB / 0.8828 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/2.269, allocations: 48.59 kB / 0.8828 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/2.269, allocations: 23.98 kB / 0.8828 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007601/2.27, allocations: 0.6157 MB / 0.8834 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.042e-06/2.27, allocations: 4 kB / 0.8835 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004114/2.274, allocations: 1.758 MB / 0.8852 GB, free: 10.88 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(13,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009464/2.283, allocations: 3.985 MB / 0.8891 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003125/2.286, allocations: 1.162 MB / 0.8902 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/2.286, allocations: 1.125 kB / 0.8902 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/2.288, allocations: 0.5979 MB / 0.8908 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/2.29, allocations: 323.9 kB / 0.8911 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/2.308, allocations: 11.2 MB / 0.902 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/2.308, allocations: 1.136 MB / 0.9031 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005418/2.309, allocations: 124.2 kB / 0.9033 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/2.31, allocations: 0.5021 MB / 0.9037 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/2.31, allocations: 0 / 0.9037 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.131/7.441, allocations: 72.31 MB / 0.9744 GB, free: 434.3 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/7.441, allocations: 282 kB / 0.9746 GB, free: 433.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.424/11.87, allocations: 4.047 kB / 0.9746 GB, free: 433.9 MB / 0.795 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestGasTurbine_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestGasTurbine.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.pipe 2>&1)