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.001541/0.001542, allocations: 107.3 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.001724/0.001724, allocations: 192 kB / 18 MB, free: 5.102 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.382/1.382, 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.2693/0.2693, 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.001765/0.001765, allocations: 71.89 kB / 450 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1222, allocations: 59.15 MB / 0.4972 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4594/0.5816, allocations: 170.6 MB / 0.6639 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005519/0.5872, allocations: 3.763 MB / 0.6676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.5877, allocations: 11.94 kB / 0.6676 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009277/0.5887, allocations: 278.3 kB / 0.6678 GB, free: 11.89 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.00116/0.5899, allocations: 445.7 kB / 0.6683 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003711/0.5936, allocations: 1.484 MB / 0.6697 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.5951, allocations: 1.213 MB / 0.6709 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.5957, allocations: 366.2 kB / 0.6712 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008278/0.5965, allocations: 462.5 kB / 0.6717 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.5972, allocations: 414.5 kB / 0.6721 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.5973, allocations: 52 kB / 0.6721 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.6001, allocations: 1.427 MB / 0.6735 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.6005, allocations: 327.2 kB / 0.6738 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.6012, allocations: 418 kB / 0.6742 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.6042, allocations: 1.617 MB / 0.6758 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6042, allocations: 7.938 kB / 0.6758 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6042, allocations: 0 / 0.6758 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.825e-05/0.6043, allocations: 0 / 0.6758 GB, free: 3.695 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.002227/0.6065, allocations: 1.151 MB / 0.6769 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6066, allocations: 11.89 kB / 0.677 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.6068, allocations: 98.45 kB / 0.677 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.6076, allocations: 143.4 kB / 0.6772 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6086, allocations: 0.524 MB / 0.6777 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.6087, allocations: 37.31 kB / 0.6777 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.6088, allocations: 51.94 kB / 0.6778 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.6099, allocations: 0.6119 MB / 0.6784 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.6099, allocations: 7.891 kB / 0.6784 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.61, allocations: 31.94 kB / 0.6784 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.61, allocations: 12 kB / 0.6784 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.6107, allocations: 473 kB / 0.6789 GB, free: 452 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.004156/0.6149, allocations: 2.303 MB / 0.6811 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.6152, allocations: 134.6 kB / 0.6813 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.6153, allocations: 60.77 kB / 0.6813 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.6155, allocations: 121.1 kB / 0.6814 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6156, allocations: 38.56 kB / 0.6815 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.6156, allocations: 4 kB / 0.6815 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005151/0.6161, allocations: 241.1 kB / 0.6817 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.6162, allocations: 51.41 kB / 0.6817 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.6174, allocations: 0.9928 MB / 0.6827 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.6174, allocations: 33.7 kB / 0.6828 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.6177, allocations: 391.9 kB / 0.6831 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.6178, allocations: 59.52 kB / 0.6832 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6179, allocations: 82.08 kB / 0.6833 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6181, allocations: 329.9 kB / 0.6836 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.6183, allocations: 130.6 kB / 0.6837 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.6186, allocations: 250.3 kB / 0.6839 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.619, allocations: 337.7 kB / 0.6843 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.619, allocations: 4 kB / 0.6843 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007773/0.6198, allocations: 478.8 kB / 0.6847 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6198, allocations: 4 kB / 0.6847 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6199, allocations: 11.94 kB / 0.6847 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6199, allocations: 8.5 kB / 0.6847 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.6204, allocations: 115.8 kB / 0.6849 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003575/0.6208, allocations: 0.5978 MB / 0.6854 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.6213, allocations: 79.39 kB / 0.6855 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.6213, allocations: 20 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.0003233/0.6217, allocations: 263.3 kB / 0.6858 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.6218, allocations: 79.53 kB / 0.6859 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.6222, allocations: 217.4 kB / 0.6861 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6222, allocations: 7.938 kB / 0.6861 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6222, allocations: 0 / 0.6861 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6222, allocations: 0 / 0.6861 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.6234, allocations: 0.8091 MB / 0.6869 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6234, allocations: 0 / 0.6869 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.6237, allocations: 47.91 kB / 0.6869 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6237, allocations: 0 / 0.6869 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.6237, allocations: 8 kB / 0.6869 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003178/0.624, allocations: 0.6025 MB / 0.6875 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.624, allocations: 3.938 kB / 0.6875 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.6245, allocations: 381.8 kB / 0.6879 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.6247, allocations: 180.5 kB / 0.688 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.6248, allocations: 4 kB / 0.6881 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.6253, allocations: 15.98 kB / 0.6881 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.6253, allocations: 20.05 kB / 0.6881 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.6254, allocations: 16.84 kB / 0.6881 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000849/0.6262, allocations: 0.6981 MB / 0.6888 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.6262, allocations: 3.938 kB / 0.6888 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007221/0.627, allocations: 215.6 kB / 0.689 GB, free: 5.52 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.002013/0.629, allocations: 1.365 MB / 0.6903 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.6295, allocations: 243.9 kB / 0.6906 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6295, allocations: 4 kB / 0.6906 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.6297, allocations: 67.91 kB / 0.6906 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6312, allocations: 316.9 kB / 0.6909 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008293/0.6395, allocations: 6.337 MB / 0.6971 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.6401, allocations: 0.9174 MB / 0.698 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004757/0.6406, allocations: 137.6 kB / 0.6981 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6409, allocations: 239.3 kB / 0.6984 GB, free: 11.62 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.6409, allocations: 3.938 kB / 0.6984 GB, free: 11.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.6928, allocations: 22.2 MB / 0.7201 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.81, allocations: 7.938 kB / 0.7201 GB, free: 5.324 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 & 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)