Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.001126/0.001126, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.001083/0.001083, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.151/1.151, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2322/0.2322, allocations: 48.84 MB / 319.5 MB, free: 11.3 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.001258/0.001258, allocations: 65.77 kB / 389.5 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07298/0.07424, allocations: 59.17 MB / 448.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3124/0.3867, allocations: 168.7 MB / 0.6029 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004545/0.3913, allocations: 3.888 MB / 0.6067 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.3917, allocations: 12.5 kB / 0.6067 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.3925, allocations: 239.1 kB / 0.6069 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.3932, allocations: 427.4 kB / 0.6073 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.3962, allocations: 1.331 MB / 0.6086 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3974, allocations: 1.615 MB / 0.6102 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.3978, allocations: 306.5 kB / 0.6105 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.3982, allocations: 413.3 kB / 0.6109 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.3986, allocations: 423.8 kB / 0.6113 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.3987, allocations: 27.91 kB / 0.6113 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4011, allocations: 1.695 MB / 0.613 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.4013, allocations: 288.5 kB / 0.6132 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.4016, allocations: 380.6 kB / 0.6136 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.4033, allocations: 1.674 MB / 0.6152 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4033, allocations: 0 / 0.6152 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.4033, allocations: 3.938 kB / 0.6152 GB, free: 14.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4033, allocations: 0 / 0.6152 GB, free: 14.56 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001491/0.4048, allocations: 1.13 MB / 0.6163 GB, free: 13.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.4049, allocations: 10.06 kB / 0.6163 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.405, allocations: 102.6 kB / 0.6164 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.4056, allocations: 133.6 kB / 0.6166 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.4062, allocations: 0.5137 MB / 0.6171 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.4062, allocations: 41.12 kB / 0.6171 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.4063, allocations: 48.97 kB / 0.6172 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/0.4072, allocations: 0.612 MB / 0.6178 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4072, allocations: 10.02 kB / 0.6178 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.4073, allocations: 25.38 kB / 0.6178 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4073, allocations: 20.56 kB / 0.6178 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005967/0.4079, allocations: 467.8 kB / 0.6183 GB, free: 12.45 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.003416/0.4113, allocations: 2.329 MB / 0.6205 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.4115, allocations: 130.2 kB / 0.6207 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.4116, allocations: 56.48 kB / 0.6207 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.4118, allocations: 122.7 kB / 0.6208 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.4119, allocations: 41.27 kB / 0.6209 GB, free: 10.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.504e-06/0.4119, allocations: 4 kB / 0.6209 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004183/0.4123, allocations: 238 kB / 0.6211 GB, free: 10.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.4123, allocations: 51.41 kB / 0.6211 GB, free: 9.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/0.4133, allocations: 0.9888 MB / 0.6221 GB, free: 8.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.4134, allocations: 33.7 kB / 0.6221 GB, free: 8.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.4136, allocations: 387.1 kB / 0.6225 GB, free: 8.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.4137, allocations: 63.17 kB / 0.6226 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4138, allocations: 86.03 kB / 0.6227 GB, free: 8.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.4139, allocations: 329.9 kB / 0.623 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4141, allocations: 134 kB / 0.6231 GB, free: 7.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4143, allocations: 250.3 kB / 0.6233 GB, free: 7.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.4147, allocations: 337.7 kB / 0.6237 GB, free: 7.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4147, allocations: 0 / 0.6237 GB, free: 7.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006426/0.4154, allocations: 476.7 kB / 0.6241 GB, free: 6.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4154, allocations: 8 kB / 0.6241 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4154, allocations: 7.938 kB / 0.6241 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4155, allocations: 8.562 kB / 0.6241 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.4159, allocations: 108.4 kB / 0.6242 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003042/0.4163, allocations: 0.6026 MB / 0.6248 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.4167, allocations: 83.11 kB / 0.6249 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4167, allocations: 23.98 kB / 0.6249 GB, free: 5.922 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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.0002721/0.417, allocations: 255.4 kB / 0.6252 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4171, allocations: 71.16 kB / 0.6252 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.4175, allocations: 219.8 kB / 0.6255 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.4175, allocations: 0 / 0.6255 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4175, allocations: 0 / 0.6255 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4175, allocations: 7.938 kB / 0.6255 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009764/0.4185, allocations: 0.8075 MB / 0.6262 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4185, allocations: 0 / 0.6262 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.4187, allocations: 47.91 kB / 0.6263 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4187, allocations: 0 / 0.6263 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4188, allocations: 8 kB / 0.6263 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002594/0.419, allocations: 0.6017 MB / 0.6269 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.419, allocations: 0 / 0.6269 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.4194, allocations: 382.1 kB / 0.6273 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.4196, allocations: 180 kB / 0.6274 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.4197, allocations: 8 kB / 0.6274 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.4201, allocations: 24.09 kB / 0.6275 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.4202, allocations: 11.98 kB / 0.6275 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.4202, allocations: 11.98 kB / 0.6275 GB, free: 3.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007107/0.4209, allocations: 0.702 MB / 0.6282 GB, free: 2.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4209, allocations: 0 / 0.6282 GB, free: 2.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.4216, allocations: 215.8 kB / 0.6284 GB, free: 2.258 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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.001776/0.4233, allocations: 1.364 MB / 0.6297 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.4238, allocations: 239.8 kB / 0.6299 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4238, allocations: 0 / 0.6299 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.4239, allocations: 77.03 kB / 0.63 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.4253, allocations: 311.7 kB / 0.6303 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/0.4328, allocations: 6.809 MB / 0.637 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.4333, allocations: 0.9156 MB / 0.6378 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004599/0.4338, allocations: 137.7 kB / 0.638 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.4341, allocations: 235.4 kB / 0.6382 GB, free: 7.906 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4341, allocations: 0 / 0.6382 GB, free: 7.906 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.4667, allocations: 20.91 MB / 0.6586 GB, free: 2.926 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.4669, allocations: 282.1 kB / 0.6589 GB, free: 2.555 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.527, allocations: 0 / 0.6589 GB, free: 2.555 MB / 478.1 MB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)