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.001038/0.001038, allocations: 106.2 kB / 16.92 MB, free: 5.773 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.001001/0.001001, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.268/1.268, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2667/0.2667, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001671/0.001671, allocations: 68.19 kB / 390.2 MB, free: 48.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.08117, allocations: 59.16 MB / 449.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3493/0.4305, allocations: 170.6 MB / 0.6054 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.4351, allocations: 3.76 MB / 0.6091 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007128/0.4359, allocations: 9.219 kB / 0.6091 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.4367, allocations: 269.3 kB / 0.6094 GB, free: 1.785 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009029/0.4377, allocations: 448.1 kB / 0.6098 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.4412, allocations: 1.47 MB / 0.6112 GB, free: 384 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.4424, allocations: 1.209 MB / 0.6124 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.4429, allocations: 370.7 kB / 0.6128 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006897/0.4436, allocations: 465.7 kB / 0.6132 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.4443, allocations: 407.9 kB / 0.6136 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.4444, allocations: 54.88 kB / 0.6137 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4472, allocations: 1.431 MB / 0.6151 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.4476, allocations: 324.5 kB / 0.6154 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.4481, allocations: 415.5 kB / 0.6158 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.4504, allocations: 1.608 MB / 0.6173 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4504, allocations: 0 / 0.6173 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4504, allocations: 0 / 0.6173 GB, free: 12.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.4505, allocations: 0 / 0.6173 GB, free: 12.81 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.001875/0.4523, allocations: 1.131 MB / 0.6184 GB, free: 11.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4524, allocations: 13.92 kB / 0.6185 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.4525, allocations: 101.9 kB / 0.6185 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007286/0.4533, allocations: 137.3 kB / 0.6187 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.454, allocations: 0.5081 MB / 0.6192 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.454, allocations: 43.88 kB / 0.6192 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.4541, allocations: 48.12 kB / 0.6193 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.455, allocations: 0.6104 MB / 0.6199 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.455, allocations: 2.656 kB / 0.6199 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.4551, allocations: 25.56 kB / 0.6199 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4551, allocations: 12.47 kB / 0.6199 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.4557, allocations: 473.8 kB / 0.6203 GB, free: 10.7 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.00421/0.46, allocations: 2.331 MB / 0.6226 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4602, allocations: 134.6 kB / 0.6228 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4603, allocations: 64.83 kB / 0.6228 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.4606, allocations: 113.1 kB / 0.6229 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4606, allocations: 42.55 kB / 0.623 GB, free: 8.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.4606, allocations: 0 / 0.623 GB, free: 8.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004733/0.4611, allocations: 236.7 kB / 0.6232 GB, free: 8.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4612, allocations: 55.41 kB / 0.6232 GB, free: 8.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4622, allocations: 0.9928 MB / 0.6242 GB, free: 7.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.4623, allocations: 33.7 kB / 0.6242 GB, free: 6.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.4626, allocations: 387.1 kB / 0.6246 GB, free: 6.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.4626, allocations: 55.25 kB / 0.6247 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4627, allocations: 82.03 kB / 0.6247 GB, free: 6.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4629, allocations: 325.9 kB / 0.6251 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.4631, allocations: 134 kB / 0.6252 GB, free: 5.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.4633, allocations: 254.3 kB / 0.6254 GB, free: 5.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.4638, allocations: 341.7 kB / 0.6258 GB, free: 5.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.4638, allocations: 4.688 kB / 0.6258 GB, free: 5.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007072/0.4645, allocations: 468.9 kB / 0.6262 GB, free: 4.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4645, allocations: 8 kB / 0.6262 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.4645, allocations: 7.938 kB / 0.6262 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.4646, allocations: 8 kB / 0.6262 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.465, allocations: 115.8 kB / 0.6263 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003266/0.4654, allocations: 0.6059 MB / 0.6269 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.4658, allocations: 77.05 kB / 0.627 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.4659, allocations: 20 kB / 0.627 GB, free: 3.961 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.0002844/0.4662, allocations: 245.6 kB / 0.6273 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4663, allocations: 71.16 kB / 0.6273 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.4667, allocations: 233.5 kB / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4667, allocations: 0 / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4667, allocations: 0 / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4667, allocations: 0 / 0.6275 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.4677, allocations: 0.8127 MB / 0.6283 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4677, allocations: 3.938 kB / 0.6283 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.4679, allocations: 48.06 kB / 0.6284 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4679, allocations: 4 kB / 0.6284 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.468, allocations: 4 kB / 0.6284 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005992/0.4686, allocations: 0.5976 MB / 0.629 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4686, allocations: 4.031 kB / 0.629 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.469, allocations: 383.2 kB / 0.6293 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.4692, allocations: 176.1 kB / 0.6295 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.4693, allocations: 4 kB / 0.6295 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.4697, allocations: 23.92 kB / 0.6295 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.4697, allocations: 7.984 kB / 0.6296 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.4698, allocations: 24.03 kB / 0.6296 GB, free: 1.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007462/0.4705, allocations: 0.702 MB / 0.6303 GB, free: 0.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4705, allocations: 0 / 0.6303 GB, free: 0.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006446/0.4712, allocations: 211.9 kB / 0.6305 GB, free: 300 kB / 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.001834/0.473, allocations: 1.361 MB / 0.6318 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.4735, allocations: 244.9 kB / 0.632 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4735, allocations: 8.062 kB / 0.632 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4737, allocations: 75.84 kB / 0.6321 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.4751, allocations: 315.3 kB / 0.6324 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/0.4824, allocations: 6.647 MB / 0.6389 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.4828, allocations: 0.9185 MB / 0.6398 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004327/0.4832, allocations: 133.7 kB / 0.6399 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.4835, allocations: 243.3 kB / 0.6402 GB, free: 6.078 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4835, allocations: 0 / 0.6402 GB, free: 6.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/0.5287, allocations: 21.5 MB / 0.6611 GB, free: 500 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.11, allocations: 3.984 kB / 0.6612 GB, free: 496 kB / 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)