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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8552/0.8552, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.332e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 31.98 MB / 236.8 MB, free: 5.199 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.715/1.925, allocations: 297.8 MB / 0.522 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6339/2.559, allocations: 188.8 MB / 0.7064 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/2.561, allocations: 17.03 kB / 0.7065 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/2.561, allocations: 173.7 kB / 0.7066 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/2.563, allocations: 442.5 kB / 0.707 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03586/2.599, allocations: 9.732 MB / 0.7165 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002913/2.602, allocations: 1.807 MB / 0.7183 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/2.603, allocations: 0.9216 MB / 0.7192 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/2.604, allocations: 0.567 MB / 0.7198 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000663/2.605, allocations: 0.6414 MB / 0.7204 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/2.605, allocations: 66.75 kB / 0.7205 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04444/2.649, allocations: 22.16 MB / 0.7421 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/2.65, allocations: 245.3 kB / 0.7423 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/2.651, allocations: 0.7665 MB / 0.7431 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03729/2.689, allocations: 11.98 MB / 0.7548 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/2.689, allocations: 1.969 kB / 0.7548 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.345e-06/2.689, allocations: 0 / 0.7548 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.374e-05/2.689, allocations: 0 / 0.7548 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.009605/2.698, allocations: 2.67 MB / 0.7574 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/2.698, allocations: 9.562 kB / 0.7574 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/2.699, allocations: 192.5 kB / 0.7576 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/2.7, allocations: 0.7112 MB / 0.7583 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/2.7, allocations: 132.6 kB / 0.7584 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/2.7, allocations: 155.9 kB / 0.7585 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/2.703, allocations: 1.853 MB / 0.7604 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/2.703, allocations: 5.812 kB / 0.7604 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/2.703, allocations: 69.25 kB / 0.7604 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/2.703, allocations: 46.69 kB / 0.7605 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/2.706, allocations: 1.357 MB / 0.7618 GB, free: 9.633 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.08286/2.789, allocations: 40.45 MB / 0.8013 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/2.79, allocations: 0.6374 MB / 0.8019 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/2.791, allocations: 386 kB / 0.8023 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1069/2.898, allocations: 58.77 MB / 0.8597 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/2.898, allocations: 46.62 kB / 0.8597 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=71): time 3.005e-06/2.898, allocations: 0 / 0.8597 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of matching and sorting (n=71): time 0.009143/2.907, allocations: 2.401 MB / 0.8621 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/2.907, allocations: 63.95 kB / 0.8621 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/2.909, allocations: 0.9501 MB / 0.8631 GB, free: 328 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/2.909, allocations: 34.08 kB / 0.8631 GB, free: 296 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/2.909, allocations: 0.6911 MB / 0.8638 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/2.909, allocations: 257.5 kB / 0.864 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/2.909, allocations: 112.8 kB / 0.8641 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001206/2.91, allocations: 343.7 kB / 0.8644 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/2.91, allocations: 366.5 kB / 0.8648 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009991/2.911, allocations: 0.732 MB / 0.8655 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/2.913, allocations: 1.143 MB / 0.8666 GB, free: 13 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/2.913, allocations: 4 kB / 0.8666 GB, free: 13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003087/2.916, allocations: 1.474 MB / 0.8681 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/2.916, allocations: 12 kB / 0.8681 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/2.916, allocations: 12 kB / 0.8681 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/2.919, allocations: 0.7446 MB / 0.8688 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/2.92, allocations: 191.5 kB / 0.869 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/2.923, allocations: 2.491 MB / 0.8714 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/2.924, allocations: 198.3 kB / 0.8716 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/2.924, allocations: 52 kB / 0.8717 GB, free: 7.855 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.0006655/2.925, allocations: 320 kB / 0.872 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/2.925, allocations: 110.7 kB / 0.8721 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/2.928, allocations: 1.254 MB / 0.8733 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001971/2.93, allocations: 0.9869 MB / 0.8743 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/2.93, allocations: 0 / 0.8743 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/2.93, allocations: 3.984 kB / 0.8743 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/2.934, allocations: 2.58 MB / 0.8768 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.934, allocations: 0 / 0.8768 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/2.935, allocations: 110.8 kB / 0.8769 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/2.938, allocations: 0.6965 MB / 0.8776 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/2.938, allocations: 16 kB / 0.8776 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/2.94, allocations: 2.483 MB / 0.88 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/2.94, allocations: 3.938 kB / 0.88 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/2.943, allocations: 1.197 MB / 0.8812 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/2.943, allocations: 283.4 kB / 0.8815 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/2.943, allocations: 12 kB / 0.8815 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/2.944, allocations: 63.83 kB / 0.8815 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/2.944, allocations: 52.58 kB / 0.8816 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/2.944, allocations: 20 kB / 0.8816 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008929/2.945, allocations: 0.6196 MB / 0.8822 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/2.945, allocations: 3.75 kB / 0.8822 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005357/2.95, allocations: 1.756 MB / 0.8839 GB, free: 11.15 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.008498/2.959, allocations: 2.338 MB / 0.8862 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003499/2.962, allocations: 1.164 MB / 0.8873 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/2.962, allocations: 0 / 0.8873 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/2.964, allocations: 0.6005 MB / 0.8879 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/2.966, allocations: 322.2 kB / 0.8882 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/2.97, allocations: 2.61 MB / 0.8908 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/2.971, allocations: 1.132 MB / 0.8919 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005681/2.971, allocations: 142.8 kB / 0.892 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/2.971, allocations: 59.44 kB / 0.8921 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of SimCode: time 6.22e-07/2.971, allocations: 5.75 kB / 0.8921 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.08278/3.054, allocations: 59.89 MB / 0.9506 GB, free: 7.441 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestGasTurbine.pipe 2>&1) Environment - environmentSimulation: