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.001343/0.001343, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001621/0.001621, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.805/1.805, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6/0.6, allocations: 48.78 MB / 320.4 MB, free: 3.844 MB / 254.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.0008711/0.0008714, allocations: 16 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1905, allocations: 60.24 MB / 451.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.6323/0.8229, allocations: 136.8 MB / 0.5745 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.8322, allocations: 4.159 MB / 0.5786 GB, free: 200 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.8332, allocations: 11.94 kB / 0.5786 GB, free: 188 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.8345, allocations: 199.1 kB / 0.5788 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.8363, allocations: 362.8 kB / 0.5791 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.8424, allocations: 1.076 MB / 0.5802 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.8446, allocations: 0.6909 MB / 0.5808 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009181/0.8456, allocations: 302.5 kB / 0.5811 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.847, allocations: 402.8 kB / 0.5815 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008699/0.8479, allocations: 286.9 kB / 0.5818 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.8481, allocations: 28 kB / 0.5818 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00419/0.8523, allocations: 1.026 MB / 0.5828 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005678/0.8529, allocations: 283.2 kB / 0.5831 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.8534, allocations: 169.3 kB / 0.5832 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.8563, allocations: 1.131 MB / 0.5843 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8564, allocations: 0 / 0.5843 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.959e-06/0.8564, allocations: 0 / 0.5843 GB, free: 10.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.8565, allocations: 3.938 kB / 0.5843 GB, free: 10.29 MB / 462.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.003158/0.8596, allocations: 0.9701 MB / 0.5853 GB, free: 9.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.166e-05/0.8597, allocations: 8.031 kB / 0.5853 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003255/0.8601, allocations: 98.45 kB / 0.5854 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.8615, allocations: 139 kB / 0.5855 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.863, allocations: 0.4928 MB / 0.586 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/0.8631, allocations: 39.2 kB / 0.586 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.8633, allocations: 55.84 kB / 0.5861 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.8652, allocations: 0.6042 MB / 0.5867 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.8652, allocations: 3.984 kB / 0.5867 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.8654, allocations: 23.94 kB / 0.5867 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.8654, allocations: 12 kB / 0.5867 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.8667, allocations: 469 kB / 0.5872 GB, free: 7.281 MB / 462.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.007446/0.8742, allocations: 2.318 MB / 0.5894 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.8746, allocations: 130.6 kB / 0.5896 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/0.875, allocations: 125.1 kB / 0.5897 GB, free: 4.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.8751, allocations: 35.5 kB / 0.5897 GB, free: 4.477 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 4.027e-06/0.8751, allocations: 0 / 0.5897 GB, free: 4.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008887/0.876, allocations: 237 kB / 0.5899 GB, free: 4.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.8761, allocations: 59.36 kB / 0.59 GB, free: 4.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.878, allocations: 0.981 MB / 0.591 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/0.8781, allocations: 37.7 kB / 0.591 GB, free: 3.133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.8786, allocations: 383.2 kB / 0.5914 GB, free: 2.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.8787, allocations: 59.19 kB / 0.5914 GB, free: 2.691 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.8787, allocations: 12 kB / 0.5914 GB, free: 2.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8789, allocations: 318 kB / 0.5917 GB, free: 2.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.8792, allocations: 133.6 kB / 0.5919 GB, free: 2.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.8797, allocations: 250.3 kB / 0.5921 GB, free: 1.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.8801, allocations: 147.9 kB / 0.5922 GB, free: 1.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.8801, allocations: 0 / 0.5922 GB, free: 1.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00145/0.8816, allocations: 464.6 kB / 0.5927 GB, free: 1.316 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.8816, allocations: 8 kB / 0.5927 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.8817, allocations: 4 kB / 0.5927 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.8817, allocations: 8 kB / 0.5927 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.8825, allocations: 107.8 kB / 0.5928 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005477/0.8831, allocations: 0.6094 MB / 0.5934 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/0.884, allocations: 87.25 kB / 0.5935 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.8841, allocations: 25.7 kB / 0.5935 GB, free: 460 kB / 462.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000624/0.8847, allocations: 245.6 kB / 0.5937 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.885, allocations: 75.25 kB / 0.5938 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.8857, allocations: 221.8 kB / 0.594 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.8857, allocations: 8 kB / 0.594 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.8858, allocations: 0 / 0.594 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.8858, allocations: 3.938 kB / 0.594 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.8878, allocations: 0.815 MB / 0.5948 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.8879, allocations: 4 kB / 0.5948 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.8882, allocations: 39.97 kB / 0.5949 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.8882, allocations: 8.094 kB / 0.5949 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.8883, allocations: 4 kB / 0.5949 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.8887, allocations: 0.5986 MB / 0.5955 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8888, allocations: 0 / 0.5955 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.8895, allocations: 419.9 kB / 0.5959 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.89, allocations: 184.1 kB / 0.596 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.8902, allocations: 3.953 kB / 0.596 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.8909, allocations: 24.05 kB / 0.5961 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.8909, allocations: 15.98 kB / 0.5961 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.891, allocations: 15.97 kB / 0.5961 GB, free: 13.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.8924, allocations: 0.6903 MB / 0.5968 GB, free: 12.94 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8924, allocations: 0 / 0.5968 GB, free: 12.94 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001364/0.8938, allocations: 215.8 kB / 0.597 GB, free: 12.73 MB / 478.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003686/0.8975, allocations: 1.564 MB / 0.5985 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.8984, allocations: 236.6 kB / 0.5987 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8984, allocations: 0 / 0.5987 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.8986, allocations: 72.03 kB / 0.5988 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.901, allocations: 304.3 kB / 0.5991 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/0.9075, allocations: 5.114 MB / 0.6041 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/0.9085, allocations: 0.9332 MB / 0.605 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009535/0.9094, allocations: 144.2 kB / 0.6051 GB, free: 4.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000493/0.91, allocations: 235.4 kB / 0.6054 GB, free: 3.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.463e-06/0.91, allocations: 0 / 0.6054 GB, free: 3.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3952/1.305, allocations: 20.24 MB / 0.6251 GB, free: 153.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/1.306, allocations: 246.3 kB / 0.6254 GB, free: 153.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/4.426, allocations: 0 / 0.6254 GB, free: 153.3 MB / 494.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/linux/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) Environment - environmentSimulation: