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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.75 kB / 16.61 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2719/0.2719, allocations: 48.84 MB / 319.6 MB, free: 11.27 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 62.7 kB / 389.5 MB, free: 48.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 59.16 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4062/0.5095, allocations: 168.4 MB / 0.6027 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005459/0.5151, allocations: 3.83 MB / 0.6064 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005657/0.5157, allocations: 9.125 kB / 0.6064 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009677/0.5168, allocations: 243.4 kB / 0.6067 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.5179, allocations: 455.5 kB / 0.6071 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.5216, allocations: 1.446 MB / 0.6085 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.5229, allocations: 1.242 MB / 0.6097 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.5234, allocations: 366.6 kB / 0.6101 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.524, allocations: 493.8 kB / 0.6106 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.5245, allocations: 472.4 kB / 0.611 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.5246, allocations: 55.59 kB / 0.6111 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.5271, allocations: 1.553 MB / 0.6126 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.5274, allocations: 385 kB / 0.6129 GB, free: 344 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.5278, allocations: 460.4 kB / 0.6134 GB, free: 32 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.5303, allocations: 1.805 MB / 0.6151 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5303, allocations: 0 / 0.6151 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5304, allocations: 0 / 0.6151 GB, free: 14.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.5304, allocations: 0 / 0.6151 GB, free: 14.94 MB / 446.1 MB 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.001962/0.5323, allocations: 1.267 MB / 0.6164 GB, free: 13.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5324, allocations: 14.02 kB / 0.6164 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/0.5331, allocations: 152.8 kB / 0.6165 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.534, allocations: 0.6379 MB / 0.6172 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.534, allocations: 40.94 kB / 0.6172 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.5341, allocations: 49.06 kB / 0.6172 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.535, allocations: 0.6019 MB / 0.6178 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5351, allocations: 0 / 0.6178 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.5351, allocations: 27.34 kB / 0.6179 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5352, allocations: 9.906 kB / 0.6179 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.5358, allocations: 472 kB / 0.6183 GB, free: 12.75 MB / 446.1 MB 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.00387/0.5397, allocations: 2.359 MB / 0.6206 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.54, allocations: 142.6 kB / 0.6208 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.5401, allocations: 56.78 kB / 0.6208 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.5404, allocations: 117.1 kB / 0.6209 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.5404, allocations: 46.55 kB / 0.621 GB, free: 10.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 3.356e-06/0.5404, allocations: 3.984 kB / 0.621 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004981/0.5409, allocations: 248.9 kB / 0.6212 GB, free: 10.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.541, allocations: 55.41 kB / 0.6213 GB, free: 10.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.5425, allocations: 1.332 MB / 0.6226 GB, free: 8.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.5425, allocations: 29.7 kB / 0.6226 GB, free: 8.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.5429, allocations: 459.2 kB / 0.623 GB, free: 8.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.5429, allocations: 55.2 kB / 0.6231 GB, free: 8.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.5431, allocations: 81.97 kB / 0.6232 GB, free: 8.082 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5432, allocations: 321.9 kB / 0.6235 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.5434, allocations: 141.1 kB / 0.6236 GB, free: 7.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5437, allocations: 241.5 kB / 0.6238 GB, free: 7.328 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.5441, allocations: 332.9 kB / 0.6241 GB, free: 6.941 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5441, allocations: 0 / 0.6241 GB, free: 6.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007249/0.5449, allocations: 485.1 kB / 0.6246 GB, free: 6.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5449, allocations: 8 kB / 0.6246 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5449, allocations: 4 kB / 0.6246 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5449, allocations: 8 kB / 0.6246 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5454, allocations: 103.8 kB / 0.6247 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003869/0.5458, allocations: 0.6055 MB / 0.6253 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/0.5463, allocations: 75.36 kB / 0.6254 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.5464, allocations: 24 kB / 0.6254 GB, free: 5.613 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.5467, allocations: 289.7 kB / 0.6257 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.5469, allocations: 94.81 kB / 0.6258 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.5473, allocations: 234.8 kB / 0.626 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5473, allocations: 4 kB / 0.626 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5473, allocations: 4 kB / 0.626 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5473, allocations: 3.984 kB / 0.626 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.548, allocations: 0.5526 MB / 0.6266 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.548, allocations: 0 / 0.6266 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.5483, allocations: 47.91 kB / 0.6266 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.5483, allocations: 0.875 kB / 0.6266 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5483, allocations: 7.984 kB / 0.6266 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/0.5486, allocations: 0.6015 MB / 0.6272 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5487, allocations: 3.984 kB / 0.6272 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.5491, allocations: 382.8 kB / 0.6276 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5493, allocations: 192 kB / 0.6278 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.5494, allocations: 3.984 kB / 0.6278 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.5499, allocations: 23.17 kB / 0.6278 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.5499, allocations: 16.08 kB / 0.6278 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.55, allocations: 15.98 kB / 0.6278 GB, free: 3.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.551, allocations: 0.9381 MB / 0.6287 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.551, allocations: 0 / 0.6287 GB, free: 2.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007513/0.5518, allocations: 223.8 kB / 0.6289 GB, free: 1.875 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/0.5531, allocations: 0.5472 MB / 0.6295 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.5536, allocations: 243.8 kB / 0.6297 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5537, allocations: 0 / 0.6297 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.5538, allocations: 68.97 kB / 0.6298 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5553, allocations: 338.9 kB / 0.6301 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5575, allocations: 1.749 MB / 0.6318 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.5581, allocations: 0.9936 MB / 0.6328 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005301/0.5586, allocations: 162.6 kB / 0.6329 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5588, allocations: 63.42 kB / 0.633 GB, free: 13.66 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5588, allocations: 4 kB / 0.633 GB, free: 13.66 MB / 462.1 MB Notification: Performance of Templates: time 0.0253/0.5841, allocations: 15.33 MB / 0.648 GB, free: 14.3 MB / 478.1 MB 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)