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.0008816/0.0008816, allocations: 93.09 kB / 16.65 MB, free: 6.59 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.0009421/0.0009422, allocations: 184.1 kB / 17.56 MB, free: 6.203 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.38/1.38, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2921/0.2921, allocations: 48.78 MB / 320.8 MB, free: 11.19 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.0005329/0.0005331, allocations: 21.48 kB / 391.8 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09233, allocations: 60.26 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4318/0.5241, allocations: 166.4 MB / 0.604 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006475/0.5307, allocations: 3.874 MB / 0.6078 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.5312, allocations: 9.125 kB / 0.6078 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.5321, allocations: 230.2 kB / 0.608 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008991/0.533, allocations: 473.6 kB / 0.6085 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.5369, allocations: 1.407 MB / 0.6098 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5387, allocations: 1.652 MB / 0.6114 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.5392, allocations: 319.3 kB / 0.6117 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.5399, allocations: 422.2 kB / 0.6121 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.5404, allocations: 457.2 kB / 0.6126 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.5405, allocations: 31.22 kB / 0.6126 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.5438, allocations: 1.693 MB / 0.6143 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.5441, allocations: 346.3 kB / 0.6146 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.5446, allocations: 460.7 kB / 0.615 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.5471, allocations: 1.76 MB / 0.6168 GB, free: 3.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5471, allocations: 0 / 0.6168 GB, free: 3.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5471, allocations: 0 / 0.6168 GB, free: 3.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.5471, allocations: 0 / 0.6168 GB, free: 3.59 MB / 430.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.00172/0.5488, allocations: 1.094 MB / 0.6178 GB, free: 2.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5489, allocations: 12.23 kB / 0.6178 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.5497, allocations: 158.2 kB / 0.618 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008397/0.5506, allocations: 0.6298 MB / 0.6186 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.5506, allocations: 39.53 kB / 0.6186 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.5507, allocations: 49.62 kB / 0.6187 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5517, allocations: 0.5978 MB / 0.6193 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5518, allocations: 0 / 0.6193 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.5518, allocations: 29.78 kB / 0.6193 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.5519, allocations: 13.88 kB / 0.6193 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.5525, allocations: 474.4 kB / 0.6198 GB, free: 1.512 MB / 430.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.003997/0.5565, allocations: 2.359 MB / 0.6221 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.5568, allocations: 136.9 kB / 0.6222 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.5569, allocations: 61.75 kB / 0.6223 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.5572, allocations: 115.4 kB / 0.6224 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.5572, allocations: 36.66 kB / 0.6224 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.973e-06/0.5572, allocations: 0 / 0.6224 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005236/0.5578, allocations: 259.3 kB / 0.6227 GB, free: 15.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.5578, allocations: 54.31 kB / 0.6227 GB, free: 15.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.5593, allocations: 1.329 MB / 0.624 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.5593, allocations: 25.7 kB / 0.624 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.5597, allocations: 467.3 kB / 0.6245 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.5598, allocations: 48.36 kB / 0.6245 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.5599, allocations: 36.14 kB / 0.6246 GB, free: 14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.56, allocations: 328.6 kB / 0.6249 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5602, allocations: 126.5 kB / 0.625 GB, free: 13.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.5605, allocations: 246.2 kB / 0.6252 GB, free: 13.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.5608, allocations: 331.2 kB / 0.6255 GB, free: 13.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5609, allocations: 2.688 kB / 0.6255 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006829/0.5615, allocations: 485 kB / 0.626 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5616, allocations: 8 kB / 0.626 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5616, allocations: 4 kB / 0.626 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5616, allocations: 4 kB / 0.626 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.5621, allocations: 103.9 kB / 0.6261 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003985/0.5625, allocations: 0.6093 MB / 0.6267 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.563, allocations: 79.23 kB / 0.6268 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.563, allocations: 23.98 kB / 0.6268 GB, free: 11.91 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.0003803/0.5634, allocations: 301.4 kB / 0.6271 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5635, allocations: 91 kB / 0.6272 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.564, allocations: 241.6 kB / 0.6274 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.564, allocations: 0 / 0.6274 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.564, allocations: 8 kB / 0.6274 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.564, allocations: 0 / 0.6274 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.5647, allocations: 0.5496 MB / 0.628 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5647, allocations: 7.922 kB / 0.628 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.565, allocations: 47.91 kB / 0.628 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.565, allocations: 0 / 0.628 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.565, allocations: 4 kB / 0.628 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003295/0.5653, allocations: 0.5946 MB / 0.6286 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5653, allocations: 0 / 0.6286 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.5658, allocations: 386.5 kB / 0.629 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.566, allocations: 200 kB / 0.6292 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.5661, allocations: 11.98 kB / 0.6292 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.5666, allocations: 15.98 kB / 0.6292 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.5666, allocations: 12.14 kB / 0.6292 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.5667, allocations: 19.98 kB / 0.6292 GB, free: 9.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.5678, allocations: 0.9381 MB / 0.6301 GB, free: 8.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5678, allocations: 0 / 0.6301 GB, free: 8.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007581/0.5686, allocations: 219.8 kB / 0.6303 GB, free: 8.16 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.00146/0.57, allocations: 0.556 MB / 0.6309 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.5706, allocations: 235.8 kB / 0.6311 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5706, allocations: 0 / 0.6311 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.5708, allocations: 64.97 kB / 0.6312 GB, free: 7.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.5724, allocations: 327.2 kB / 0.6315 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.5747, allocations: 1.834 MB / 0.6333 GB, free: 5.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.5754, allocations: 0.9844 MB / 0.6342 GB, free: 4.113 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.5759, allocations: 174.6 kB / 0.6344 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.5761, allocations: 55.44 kB / 0.6345 GB, free: 3.883 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5761, allocations: 4 kB / 0.6345 GB, free: 3.879 MB / 446.1 MB Notification: Performance of Templates: time 0.02797/0.6041, allocations: 14.75 MB / 0.6489 GB, free: 5.105 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: