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.001081/0.001081, allocations: 115.2 kB / 16.63 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.00106/0.00106, allocations: 186 kB / 17.55 MB, free: 5.934 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.155/1.155, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2438/0.2438, allocations: 48.83 MB / 319.6 MB, free: 11.29 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.001312/0.001312, allocations: 69.7 kB / 389.6 MB, free: 48.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.08052, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3271/0.4077, allocations: 168.4 MB / 0.6028 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.4126, allocations: 3.826 MB / 0.6065 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.413, allocations: 9.5 kB / 0.6065 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.4138, allocations: 242.6 kB / 0.6068 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007967/0.4146, allocations: 454.8 kB / 0.6072 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.4176, allocations: 1.45 MB / 0.6086 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.4187, allocations: 1.246 MB / 0.6098 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.4191, allocations: 359.2 kB / 0.6102 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005921/0.4197, allocations: 493.4 kB / 0.6106 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.4201, allocations: 484.4 kB / 0.6111 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.4202, allocations: 57.47 kB / 0.6112 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.4223, allocations: 1.541 MB / 0.6127 GB, free: 372 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.4226, allocations: 378.3 kB / 0.613 GB, free: 136 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.423, allocations: 467.3 kB / 0.6135 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.4248, allocations: 1.822 MB / 0.6153 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4248, allocations: 0 / 0.6153 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4248, allocations: 0 / 0.6153 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4248, allocations: 0 / 0.6153 GB, free: 14.71 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.00166/0.4265, allocations: 1.277 MB / 0.6165 GB, free: 13.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4265, allocations: 13.89 kB / 0.6165 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.4266, allocations: 96.67 kB / 0.6166 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.4273, allocations: 159.1 kB / 0.6168 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.4281, allocations: 0.6441 MB / 0.6174 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.4281, allocations: 41.09 kB / 0.6174 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.4282, allocations: 48.72 kB / 0.6175 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.429, allocations: 0.6058 MB / 0.6181 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.429, allocations: 0 / 0.6181 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.4291, allocations: 27.72 kB / 0.6181 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4291, allocations: 12.22 kB / 0.6181 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.4297, allocations: 465.9 kB / 0.6185 GB, free: 12.43 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.003302/0.433, allocations: 2.373 MB / 0.6209 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.4333, allocations: 138.6 kB / 0.621 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.4333, allocations: 57.09 kB / 0.6211 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.4336, allocations: 125.1 kB / 0.6212 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4337, allocations: 38.56 kB / 0.6212 GB, free: 10 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4337, allocations: 0 / 0.6212 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.00045/0.4341, allocations: 252.5 kB / 0.6214 GB, free: 9.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.4342, allocations: 55.41 kB / 0.6215 GB, free: 9.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.4356, allocations: 1.34 MB / 0.6228 GB, free: 8.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4356, allocations: 29.7 kB / 0.6228 GB, free: 8.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.436, allocations: 471 kB / 0.6233 GB, free: 7.816 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.436, allocations: 51.36 kB / 0.6233 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4361, allocations: 81.97 kB / 0.6234 GB, free: 7.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4363, allocations: 325.9 kB / 0.6237 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.4365, allocations: 130 kB / 0.6239 GB, free: 7.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.4367, allocations: 245.5 kB / 0.6241 GB, free: 6.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.4371, allocations: 340.8 kB / 0.6244 GB, free: 6.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4371, allocations: 4 kB / 0.6244 GB, free: 6.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006963/0.4378, allocations: 477.1 kB / 0.6249 GB, free: 6.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4378, allocations: 8 kB / 0.6249 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4379, allocations: 4 kB / 0.6249 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4379, allocations: 4 kB / 0.6249 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.4383, allocations: 103.9 kB / 0.625 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003549/0.4386, allocations: 0.6055 MB / 0.6256 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.4391, allocations: 79.36 kB / 0.6256 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.4391, allocations: 23.98 kB / 0.6257 GB, free: 5.207 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.0003213/0.4395, allocations: 302.2 kB / 0.626 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.4396, allocations: 94.81 kB / 0.6261 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.44, allocations: 241.7 kB / 0.6263 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.44, allocations: 4 kB / 0.6263 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.44, allocations: 4 kB / 0.6263 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.44, allocations: 0 / 0.6263 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.4406, allocations: 0.5568 MB / 0.6268 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4406, allocations: 3.938 kB / 0.6268 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.4408, allocations: 51.84 kB / 0.6269 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4408, allocations: 0 / 0.6269 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4408, allocations: 7.922 kB / 0.6269 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002788/0.4411, allocations: 0.6016 MB / 0.6275 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4411, allocations: 3.984 kB / 0.6275 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.4415, allocations: 386.8 kB / 0.6279 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.4418, allocations: 192.1 kB / 0.628 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.964e-05/0.4419, allocations: 0 / 0.628 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.4423, allocations: 27.91 kB / 0.6281 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.4423, allocations: 8.156 kB / 0.6281 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.4424, allocations: 19.97 kB / 0.6281 GB, free: 2.609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.4434, allocations: 0.9502 MB / 0.629 GB, free: 1.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4434, allocations: 0 / 0.629 GB, free: 1.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005995/0.444, allocations: 219.8 kB / 0.6292 GB, free: 1.434 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.001943/0.4459, allocations: 1.365 MB / 0.6306 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.4464, allocations: 240.5 kB / 0.6308 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4464, allocations: 4.312 kB / 0.6308 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4465, allocations: 71.91 kB / 0.6309 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.4479, allocations: 331 kB / 0.6312 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.4578, allocations: 8.719 MB / 0.6397 GB, free: 6.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.4583, allocations: 0.9852 MB / 0.6407 GB, free: 5.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005234/0.4588, allocations: 170.7 kB / 0.6408 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.4591, allocations: 295.3 kB / 0.6411 GB, free: 4.91 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4592, allocations: 0 / 0.6411 GB, free: 4.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.5, allocations: 23.98 MB / 0.6645 GB, free: 12.86 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.5003, allocations: 269.5 kB / 0.6648 GB, free: 12.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.732, allocations: 0 / 0.6648 GB, free: 12.5 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)