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.00131/0.00131, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.001213/0.001213, allocations: 191.9 kB / 18 MB, free: 5.098 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.419/1.419, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2895/0.2895, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.003117/0.003117, allocations: 68.27 kB / 450 MB, free: 9.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1473, allocations: 59.16 MB / 0.4972 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4039/0.5513, allocations: 170.6 MB / 0.6639 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005385/0.5567, allocations: 3.769 MB / 0.6676 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.557, allocations: 8 kB / 0.6676 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007953/0.5579, allocations: 274.3 kB / 0.6678 GB, free: 11.88 MB / 0.5137 GB [/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.0008528/0.5588, allocations: 441.7 kB / 0.6682 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.5622, allocations: 1.481 MB / 0.6697 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.5635, allocations: 1.21 MB / 0.6709 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004847/0.564, allocations: 350.3 kB / 0.6712 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.5647, allocations: 466.5 kB / 0.6717 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.5652, allocations: 414.5 kB / 0.672 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.5653, allocations: 56 kB / 0.6721 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.568, allocations: 1.427 MB / 0.6735 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.5683, allocations: 319.2 kB / 0.6738 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.5688, allocations: 418 kB / 0.6742 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.5711, allocations: 1.617 MB / 0.6758 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5711, allocations: 7.875 kB / 0.6758 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5711, allocations: 0 / 0.6758 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.5712, allocations: 0 / 0.6758 GB, free: 3.711 MB / 0.5137 GB 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.001965/0.5731, allocations: 1.159 MB / 0.6769 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5732, allocations: 15.89 kB / 0.6769 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.5733, allocations: 98.45 kB / 0.677 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/0.574, allocations: 135.4 kB / 0.6772 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007963/0.5749, allocations: 0.5279 MB / 0.6777 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.5749, allocations: 41.31 kB / 0.6777 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.575, allocations: 48 kB / 0.6778 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.5761, allocations: 0.6119 MB / 0.6784 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5761, allocations: 3.953 kB / 0.6784 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.5762, allocations: 27.94 kB / 0.6784 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.5762, allocations: 12 kB / 0.6784 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.5769, allocations: 472.9 kB / 0.6788 GB, free: 468 kB / 0.5137 GB 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.004265/0.5812, allocations: 2.311 MB / 0.6811 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.5815, allocations: 130.6 kB / 0.6812 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.5816, allocations: 60.84 kB / 0.6813 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.5819, allocations: 121.1 kB / 0.6814 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.582, allocations: 39.56 kB / 0.6814 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.582, allocations: 0 / 0.6814 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005277/0.5825, allocations: 241.1 kB / 0.6817 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.5826, allocations: 55.41 kB / 0.6817 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5838, allocations: 0.9928 MB / 0.6827 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5839, allocations: 33.64 kB / 0.6827 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.5842, allocations: 395.9 kB / 0.6831 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.5843, allocations: 59.52 kB / 0.6832 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5844, allocations: 82.08 kB / 0.6832 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5846, allocations: 321.9 kB / 0.6835 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.5848, allocations: 130.7 kB / 0.6837 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.5851, allocations: 250.3 kB / 0.6839 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.5856, allocations: 345.7 kB / 0.6842 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5857, allocations: 0 / 0.6842 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007831/0.5864, allocations: 472.7 kB / 0.6847 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5865, allocations: 8 kB / 0.6847 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5865, allocations: 7.938 kB / 0.6847 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5865, allocations: 11.94 kB / 0.6847 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.587, allocations: 116.7 kB / 0.6848 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000421/0.5875, allocations: 0.6059 MB / 0.6854 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.5879, allocations: 79.39 kB / 0.6855 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.588, allocations: 23.94 kB / 0.6855 GB, free: 9.211 MB / 0.5294 GB 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.0003484/0.5883, allocations: 245.6 kB / 0.6857 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5885, allocations: 75.53 kB / 0.6858 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.5889, allocations: 228.5 kB / 0.686 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5889, allocations: 0 / 0.686 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.589, allocations: 7.172 kB / 0.686 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.589, allocations: 0 / 0.686 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.5902, allocations: 0.809 MB / 0.6868 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5902, allocations: 3.938 kB / 0.6868 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.5905, allocations: 43.97 kB / 0.6869 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5905, allocations: 4.188 kB / 0.6869 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.5905, allocations: 11.98 kB / 0.6869 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003852/0.5909, allocations: 0.6015 MB / 0.6875 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5909, allocations: 4.031 kB / 0.6875 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.5914, allocations: 377.6 kB / 0.6878 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5917, allocations: 184.5 kB / 0.688 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.5917, allocations: 0 / 0.688 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.5922, allocations: 19.98 kB / 0.688 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.5922, allocations: 15.92 kB / 0.6881 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.5923, allocations: 15.98 kB / 0.6881 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009086/0.5932, allocations: 0.706 MB / 0.6888 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5932, allocations: 0 / 0.6888 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007443/0.5939, allocations: 215.6 kB / 0.689 GB, free: 5.527 MB / 0.5294 GB 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.002606/0.5965, allocations: 1.359 MB / 0.6903 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000583/0.5971, allocations: 244.8 kB / 0.6905 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5972, allocations: 4.125 kB / 0.6905 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5973, allocations: 71.91 kB / 0.6906 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5988, allocations: 307.9 kB / 0.6909 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/0.607, allocations: 6.349 MB / 0.6971 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.6077, allocations: 0.9174 MB / 0.698 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004725/0.6081, allocations: 133.9 kB / 0.6981 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.6085, allocations: 239.4 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6085, allocations: 0 / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.6618, allocations: 22.2 MB / 0.72 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.68, allocations: 4.062 kB / 0.72 GB, free: 5.34 MB / 0.5606 GB (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)