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.001137/0.001137, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001082/0.001082, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.127/1.127, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2396/0.2396, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.001353/0.001353, allocations: 61.48 kB / 389.4 MB, free: 49.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07569/0.07706, allocations: 59.17 MB / 448.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3152/0.3923, allocations: 168.6 MB / 0.6028 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.3971, allocations: 3.942 MB / 0.6066 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.3974, allocations: 8.281 kB / 0.6066 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.3981, allocations: 234.6 kB / 0.6069 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007039/0.3989, allocations: 465.7 kB / 0.6073 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.4018, allocations: 1.409 MB / 0.6087 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.403, allocations: 1.656 MB / 0.6103 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.4033, allocations: 311.1 kB / 0.6106 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.4037, allocations: 431.3 kB / 0.611 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.4042, allocations: 461.1 kB / 0.6114 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.4042, allocations: 31.31 kB / 0.6115 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.4065, allocations: 1.689 MB / 0.6131 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.4068, allocations: 346.3 kB / 0.6135 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.4072, allocations: 430.4 kB / 0.6139 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.4088, allocations: 1.797 MB / 0.6156 GB, free: 14.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4088, allocations: 0 / 0.6156 GB, free: 14.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4088, allocations: 0 / 0.6156 GB, free: 14.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4089, allocations: 4 kB / 0.6156 GB, free: 14.34 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.001618/0.4105, allocations: 1.276 MB / 0.6169 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4105, allocations: 14.06 kB / 0.6169 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.4106, allocations: 100.1 kB / 0.617 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006151/0.4112, allocations: 155.3 kB / 0.6171 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.4122, allocations: 0.6478 MB / 0.6178 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.4123, allocations: 37.19 kB / 0.6178 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.4124, allocations: 48.44 kB / 0.6178 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.4132, allocations: 0.6072 MB / 0.6184 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4132, allocations: 0 / 0.6184 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.4133, allocations: 31.75 kB / 0.6185 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4133, allocations: 12.72 kB / 0.6185 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4139, allocations: 465.9 kB / 0.6189 GB, free: 12.05 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.003267/0.4172, allocations: 2.366 MB / 0.6212 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.4174, allocations: 142.6 kB / 0.6214 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.4175, allocations: 52.78 kB / 0.6214 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.4178, allocations: 125.1 kB / 0.6215 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4178, allocations: 43.12 kB / 0.6216 GB, free: 9.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4178, allocations: 0 / 0.6216 GB, free: 9.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004313/0.4182, allocations: 252.5 kB / 0.6218 GB, free: 9.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4183, allocations: 55.41 kB / 0.6219 GB, free: 9.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.4196, allocations: 1.336 MB / 0.6232 GB, free: 7.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4196, allocations: 29.7 kB / 0.6232 GB, free: 7.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.42, allocations: 467.1 kB / 0.6237 GB, free: 7.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.42, allocations: 55.28 kB / 0.6237 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.4201, allocations: 81.98 kB / 0.6238 GB, free: 7.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.4202, allocations: 325.9 kB / 0.6241 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4204, allocations: 130 kB / 0.6242 GB, free: 6.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.4207, allocations: 253.4 kB / 0.6245 GB, free: 6.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.421, allocations: 325.1 kB / 0.6248 GB, free: 6.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4211, allocations: 4 kB / 0.6248 GB, free: 6.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006502/0.4217, allocations: 484.9 kB / 0.6252 GB, free: 5.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4217, allocations: 4 kB / 0.6252 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.4218, allocations: 4 kB / 0.6252 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4218, allocations: 8 kB / 0.6252 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.4222, allocations: 100.4 kB / 0.6253 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003078/0.4225, allocations: 0.6133 MB / 0.6259 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.4229, allocations: 75.11 kB / 0.626 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.423, allocations: 23.98 kB / 0.626 GB, free: 4.797 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.0003161/0.4233, allocations: 302.4 kB / 0.6263 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.4234, allocations: 98.81 kB / 0.6264 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4238, allocations: 246.2 kB / 0.6267 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4238, allocations: 3.938 kB / 0.6267 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4238, allocations: 4 kB / 0.6267 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4238, allocations: 0 / 0.6267 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.4244, allocations: 0.553 MB / 0.6272 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4244, allocations: 3.938 kB / 0.6272 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.4246, allocations: 43.97 kB / 0.6272 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4246, allocations: 7.984 kB / 0.6273 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4246, allocations: 4 kB / 0.6273 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002659/0.4249, allocations: 0.5976 MB / 0.6278 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4249, allocations: 7.875 kB / 0.6279 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.4254, allocations: 378.7 kB / 0.6282 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.4256, allocations: 200.2 kB / 0.6284 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.4257, allocations: 4 kB / 0.6284 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.4261, allocations: 19.97 kB / 0.6284 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.4261, allocations: 11.98 kB / 0.6284 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.4261, allocations: 11.98 kB / 0.6284 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000965/0.4271, allocations: 0.9502 MB / 0.6294 GB, free: 1.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4271, allocations: 0 / 0.6294 GB, free: 1.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.4277, allocations: 223.7 kB / 0.6296 GB, free: 1.027 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.001782/0.4295, allocations: 1.362 MB / 0.6309 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.4299, allocations: 239.6 kB / 0.6311 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.43, allocations: 0 / 0.6311 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4301, allocations: 67.91 kB / 0.6312 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4315, allocations: 332.6 kB / 0.6315 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009386/0.4409, allocations: 8.722 MB / 0.64 GB, free: 5.984 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.4414, allocations: 0.9883 MB / 0.641 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005132/0.4419, allocations: 170.7 kB / 0.6412 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.4422, allocations: 291.3 kB / 0.6415 GB, free: 4.512 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4423, allocations: 4 kB / 0.6415 GB, free: 4.508 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.4781, allocations: 23.47 MB / 0.6644 GB, free: 12.96 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.4784, allocations: 265.1 kB / 0.6646 GB, free: 12.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.585, allocations: 0 / 0.6646 GB, free: 12.6 MB / 494.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)