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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 91.02 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.0008865/0.0008865, allocations: 181.2 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.152/1.152, 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.2342/0.2342, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0004485/0.0004485, allocations: 14.98 kB / 391.9 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07638/0.07683, allocations: 60.27 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.309/0.3858, allocations: 166.4 MB / 0.6041 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.3905, allocations: 3.889 MB / 0.6079 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.3909, allocations: 7.156 kB / 0.6079 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.3917, allocations: 228.2 kB / 0.6081 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009192/0.3926, allocations: 470.7 kB / 0.6086 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.3957, allocations: 1.413 MB / 0.6099 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.3971, allocations: 1.646 MB / 0.6115 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.3977, allocations: 322.7 kB / 0.6119 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.3985, allocations: 419.8 kB / 0.6123 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.3991, allocations: 461.8 kB / 0.6127 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.3992, allocations: 24.69 kB / 0.6127 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.4017, allocations: 1.694 MB / 0.6144 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.4019, allocations: 345.8 kB / 0.6147 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.4023, allocations: 449.7 kB / 0.6151 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.4041, allocations: 1.779 MB / 0.6169 GB, free: 3.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4041, allocations: 0 / 0.6169 GB, free: 3.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4041, allocations: 3.938 kB / 0.6169 GB, free: 3.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4041, allocations: 0 / 0.6169 GB, free: 3.383 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.001415/0.4055, allocations: 1.101 MB / 0.6179 GB, free: 2.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4056, allocations: 12.62 kB / 0.618 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.4057, allocations: 97.36 kB / 0.618 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006182/0.4063, allocations: 150.9 kB / 0.6182 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.407, allocations: 0.6555 MB / 0.6188 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.407, allocations: 38.84 kB / 0.6189 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.4071, allocations: 48.59 kB / 0.6189 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.408, allocations: 0.5996 MB / 0.6195 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.408, allocations: 0 / 0.6195 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.4081, allocations: 27.75 kB / 0.6195 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4081, allocations: 10.91 kB / 0.6195 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.4087, allocations: 471.6 kB / 0.62 GB, free: 1.207 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.003348/0.412, allocations: 2.363 MB / 0.6223 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.4122, allocations: 144.6 kB / 0.6224 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.4123, allocations: 49.62 kB / 0.6225 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.4125, allocations: 123.9 kB / 0.6226 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4126, allocations: 34.56 kB / 0.6226 GB, free: 15.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.4126, allocations: 2.812 kB / 0.6226 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003921/0.413, allocations: 258 kB / 0.6229 GB, free: 14.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.413, allocations: 54.34 kB / 0.6229 GB, free: 14.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.4143, allocations: 1.335 MB / 0.6242 GB, free: 14.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.4143, allocations: 31.48 kB / 0.6243 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.4147, allocations: 468.4 kB / 0.6247 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.4147, allocations: 59.16 kB / 0.6248 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.4148, allocations: 36.64 kB / 0.6248 GB, free: 13.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.4149, allocations: 325.2 kB / 0.6251 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.415, allocations: 129.8 kB / 0.6252 GB, free: 13.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.4153, allocations: 251.4 kB / 0.6255 GB, free: 13.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.4156, allocations: 330.7 kB / 0.6258 GB, free: 12.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4156, allocations: 0 / 0.6258 GB, free: 12.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006582/0.4163, allocations: 478.7 kB / 0.6263 GB, free: 12.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4163, allocations: 7.938 kB / 0.6263 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4163, allocations: 8 kB / 0.6263 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4163, allocations: 7.984 kB / 0.6263 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.4167, allocations: 99.89 kB / 0.6264 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003409/0.4171, allocations: 0.6135 MB / 0.627 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.4175, allocations: 75.19 kB / 0.627 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.4176, allocations: 25.38 kB / 0.6271 GB, free: 11.51 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.0003451/0.4179, allocations: 297.5 kB / 0.6273 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.418, allocations: 98.8 kB / 0.6274 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.4184, allocations: 246.1 kB / 0.6277 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4184, allocations: 4 kB / 0.6277 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4184, allocations: 3.938 kB / 0.6277 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4184, allocations: 3.984 kB / 0.6277 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.419, allocations: 0.5538 MB / 0.6282 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.419, allocations: 3.938 kB / 0.6282 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.4193, allocations: 43.97 kB / 0.6283 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4193, allocations: 0 / 0.6283 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4193, allocations: 8 kB / 0.6283 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002561/0.4196, allocations: 0.5946 MB / 0.6289 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4196, allocations: 0 / 0.6289 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.42, allocations: 387.3 kB / 0.6292 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.4202, allocations: 208 kB / 0.6294 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.4203, allocations: 0 / 0.6294 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.4207, allocations: 32.03 kB / 0.6295 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.4207, allocations: 4 kB / 0.6295 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4208, allocations: 23.97 kB / 0.6295 GB, free: 8.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009845/0.4218, allocations: 0.9463 MB / 0.6304 GB, free: 7.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4218, allocations: 0 / 0.6304 GB, free: 7.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006401/0.4224, allocations: 227.7 kB / 0.6306 GB, free: 7.727 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.001716/0.4241, allocations: 1.357 MB / 0.632 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.4246, allocations: 244.2 kB / 0.6322 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4246, allocations: 0 / 0.6322 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4247, allocations: 67.91 kB / 0.6323 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.4262, allocations: 327.8 kB / 0.6326 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009742/0.436, allocations: 8.793 MB / 0.6412 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.4366, allocations: 0.9941 MB / 0.6421 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.4371, allocations: 162.7 kB / 0.6423 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.4374, allocations: 299.3 kB / 0.6426 GB, free: 11.13 MB / 462.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4375, allocations: 4 kB / 0.6426 GB, free: 11.12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.4714, allocations: 23.11 MB / 0.6651 GB, free: 3.969 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.4716, allocations: 260.8 kB / 0.6654 GB, free: 3.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.582, allocations: 3.938 kB / 0.6654 GB, free: 3.605 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)