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.001102/0.001102, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001126/0.001126, allocations: 195 kB / 18 MB, free: 5.105 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.402/1.402, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2884/0.2884, 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.001439/0.00144, allocations: 71.91 kB / 450 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 59.16 MB / 0.4972 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4965/0.6208, allocations: 170.6 MB / 0.6639 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0057/0.6265, allocations: 3.755 MB / 0.6675 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.6271, allocations: 11.94 kB / 0.6676 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009666/0.6281, allocations: 274.4 kB / 0.6678 GB, free: 11.93 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.001252/0.6294, allocations: 441.6 kB / 0.6682 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.6335, allocations: 1.473 MB / 0.6697 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.6353, allocations: 1.209 MB / 0.6709 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007514/0.6361, allocations: 366.2 kB / 0.6712 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.6371, allocations: 466.4 kB / 0.6717 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.638, allocations: 418.5 kB / 0.6721 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.6382, allocations: 56 kB / 0.6721 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.6415, allocations: 1.427 MB / 0.6735 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.6419, allocations: 319.2 kB / 0.6738 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.6427, allocations: 410.1 kB / 0.6742 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.6459, allocations: 1.621 MB / 0.6758 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6459, allocations: 0 / 0.6758 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.646, allocations: 3.938 kB / 0.6758 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.646, allocations: 0 / 0.6758 GB, free: 3.75 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.002986/0.649, allocations: 1.126 MB / 0.6769 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.6491, allocations: 19.83 kB / 0.6769 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.6493, allocations: 94.45 kB / 0.677 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.6502, allocations: 135 kB / 0.6771 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.6512, allocations: 0.5236 MB / 0.6776 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.6513, allocations: 37.31 kB / 0.6777 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.6514, allocations: 52 kB / 0.6777 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6525, allocations: 0.6118 MB / 0.6783 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6525, allocations: 7.938 kB / 0.6783 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.6526, allocations: 23.94 kB / 0.6783 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6526, allocations: 16 kB / 0.6784 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.6535, allocations: 473 kB / 0.6788 GB, free: 0.5312 MB / 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.004926/0.6584, allocations: 2.294 MB / 0.681 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.6587, allocations: 134.6 kB / 0.6812 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.6588, allocations: 52.84 kB / 0.6812 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.6591, allocations: 129.1 kB / 0.6814 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.6592, allocations: 39.25 kB / 0.6814 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/0.6592, allocations: 0 / 0.6814 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006117/0.6598, allocations: 240.7 kB / 0.6816 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6599, allocations: 55.41 kB / 0.6817 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.6613, allocations: 0.985 MB / 0.6826 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.6613, allocations: 33.7 kB / 0.6827 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.6617, allocations: 391 kB / 0.683 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.6617, allocations: 59.19 kB / 0.6831 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.6619, allocations: 86.02 kB / 0.6832 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.662, allocations: 321.9 kB / 0.6835 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.6623, allocations: 130.7 kB / 0.6836 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.6626, allocations: 262.3 kB / 0.6839 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.663, allocations: 337.7 kB / 0.6842 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6631, allocations: 0 / 0.6842 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008301/0.6639, allocations: 465.4 kB / 0.6846 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6639, allocations: 8 kB / 0.6846 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6639, allocations: 7.938 kB / 0.6846 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.664, allocations: 8 kB / 0.6846 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.6645, allocations: 116.3 kB / 0.6848 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000443/0.665, allocations: 0.6055 MB / 0.6853 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.6655, allocations: 79.11 kB / 0.6854 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.6656, allocations: 25.64 kB / 0.6854 GB, free: 9.312 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.0003619/0.666, allocations: 245.6 kB / 0.6857 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.6661, allocations: 71.16 kB / 0.6858 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.6666, allocations: 216.7 kB / 0.686 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6666, allocations: 4.094 kB / 0.686 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6666, allocations: 4.672 kB / 0.686 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.6666, allocations: 3.984 kB / 0.686 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.6679, allocations: 0.8088 MB / 0.6868 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.6679, allocations: 8.078 kB / 0.6868 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.6682, allocations: 44.84 kB / 0.6868 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.6682, allocations: 7.938 kB / 0.6868 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6682, allocations: 4 kB / 0.6868 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003449/0.6686, allocations: 0.5977 MB / 0.6874 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6686, allocations: 0 / 0.6874 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.6692, allocations: 381.2 kB / 0.6878 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.6694, allocations: 176.1 kB / 0.6879 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6695, allocations: 4.688 kB / 0.6879 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.67, allocations: 19.98 kB / 0.688 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.67, allocations: 12.05 kB / 0.688 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.6701, allocations: 15.98 kB / 0.688 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009172/0.671, allocations: 0.702 MB / 0.6887 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.671, allocations: 0 / 0.6887 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007845/0.6718, allocations: 211.9 kB / 0.6889 GB, free: 5.652 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.002179/0.674, allocations: 1.366 MB / 0.6902 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005972/0.6746, allocations: 252.3 kB / 0.6904 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6746, allocations: 0 / 0.6904 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6748, allocations: 71.84 kB / 0.6905 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6763, allocations: 316.5 kB / 0.6908 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008623/0.6849, allocations: 6.314 MB / 0.697 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.6856, allocations: 0.9174 MB / 0.6979 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004871/0.6861, allocations: 137.9 kB / 0.698 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.6864, allocations: 231.4 kB / 0.6982 GB, free: 11.78 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.6864, allocations: 4 kB / 0.6982 GB, free: 11.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/0.7391, allocations: 22.48 MB / 0.7202 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.38, allocations: 4 kB / 0.7202 GB, free: 5.211 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)