Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001046, allocations: 82.7 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4015/0.4015, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.303e-05, allocations: 0 / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.11/2.26, allocations: 0.7181 GB / 1.199 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/2.26, allocations: 79.2 kB / 1.199 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6404/2.901, allocations: 203.4 MB / 1.398 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/2.901, allocations: 0 / 1.398 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.501e-05/2.901, allocations: 24 kB / 1.398 GB, free: 103.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001484/2.903, allocations: 1.004 MB / 1.399 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/2.903, allocations: 8.031 kB / 1.399 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006452/2.903, allocations: 158.7 kB / 1.399 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/2.904, allocations: 0.6671 MB / 1.4 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/2.904, allocations: 37 kB / 1.4 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/2.904, allocations: 48 kB / 1.4 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/2.905, allocations: 0.5763 MB / 1.4 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/2.905, allocations: 3.938 kB / 1.4 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/2.905, allocations: 20 kB / 1.4 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/2.905, allocations: 12 kB / 1.4 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/2.906, allocations: 443.9 kB / 1.401 GB, free: 100.4 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002966/2.909, allocations: 2.359 MB / 1.403 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/2.909, allocations: 130.6 kB / 1.403 GB, free: 97.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/2.909, allocations: 56.94 kB / 1.403 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/2.909, allocations: 121.1 kB / 1.403 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/2.909, allocations: 38.56 kB / 1.403 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/2.909, allocations: 3.938 kB / 1.403 GB, free: 97.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003292/2.91, allocations: 216.8 kB / 1.404 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/2.91, allocations: 55.41 kB / 1.404 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/2.911, allocations: 1.187 MB / 1.405 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/2.911, allocations: 29.7 kB / 1.405 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/2.911, allocations: 458.8 kB / 1.405 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/2.911, allocations: 59.23 kB / 1.405 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/2.911, allocations: 8 kB / 1.405 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/2.911, allocations: 321.9 kB / 1.406 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/2.911, allocations: 125.6 kB / 1.406 GB, free: 95.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/2.911, allocations: 241.6 kB / 1.406 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/2.912, allocations: 148.8 kB / 1.406 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/2.912, allocations: 0 / 1.406 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000553/2.912, allocations: 470.6 kB / 1.407 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/2.912, allocations: 7.125 kB / 1.407 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/2.912, allocations: 8 kB / 1.407 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/2.912, allocations: 4.094 kB / 1.407 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/2.913, allocations: 107.9 kB / 1.407 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000241/2.913, allocations: 0.6176 MB / 1.407 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/2.913, allocations: 83.14 kB / 1.407 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/2.913, allocations: 27.98 kB / 1.408 GB, free: 93.23 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/2.914, allocations: 128.8 kB / 1.408 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/2.914, allocations: 90.88 kB / 1.408 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/2.914, allocations: 241.9 kB / 1.408 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/2.914, allocations: 0 / 1.408 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/2.914, allocations: 0 / 1.408 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/2.914, allocations: 4 kB / 1.408 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/2.915, allocations: 0.5685 MB / 1.409 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/2.915, allocations: 4 kB / 1.409 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/2.915, allocations: 47.91 kB / 1.409 GB, free: 92.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/2.915, allocations: 3.938 kB / 1.409 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/2.915, allocations: 7.984 kB / 1.409 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001769/2.915, allocations: 0.5938 MB / 1.409 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/2.915, allocations: 4 kB / 1.409 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/2.915, allocations: 382.9 kB / 1.41 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/2.916, allocations: 227.9 kB / 1.41 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/2.916, allocations: 4 kB / 1.41 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/2.916, allocations: 24.12 kB / 1.41 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/2.916, allocations: 11.98 kB / 1.41 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/2.916, allocations: 11.98 kB / 1.41 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009089/2.917, allocations: 0.9234 MB / 1.411 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/2.917, allocations: 0 / 1.411 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008779/2.918, allocations: 295.7 kB / 1.411 GB, free: 89.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/2.92, allocations: 0.983 MB / 1.412 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004472/2.92, allocations: 224.4 kB / 1.412 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/2.92, allocations: 8.375 kB / 1.412 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/2.92, allocations: 63.92 kB / 1.412 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/2.922, allocations: 319.4 kB / 1.413 GB, free: 87.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/2.923, allocations: 1.164 MB / 1.414 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/2.923, allocations: 1.008 MB / 1.415 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005228/2.924, allocations: 178.7 kB / 1.415 GB, free: 85.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/2.924, allocations: 63.42 kB / 1.415 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/2.924, allocations: 0 / 1.415 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.03091/2.955, allocations: 25.09 MB / 1.439 GB, free: 60.36 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)