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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 212.5 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 207.7 MB / 235.4 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3107/0.3107, allocations: 49.6 MB / 337.2 MB, free: 3.879 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 71.91 kB / 477.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 62.42 MB / 0.5269 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4142/0.5365, allocations: 147.4 MB / 0.6708 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005645/0.5421, allocations: 3.468 MB / 0.6742 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.5426, allocations: 11.88 kB / 0.6742 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.5436, allocations: 254.4 kB / 0.6745 GB, free: 14.1 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.00127/0.5449, allocations: 465.6 kB / 0.6749 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.5491, allocations: 1.48 MB / 0.6764 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.5508, allocations: 1.239 MB / 0.6776 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.5514, allocations: 322.4 kB / 0.6779 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008987/0.5523, allocations: 482 kB / 0.6783 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008265/0.5531, allocations: 446.3 kB / 0.6788 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.5533, allocations: 56 kB / 0.6788 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.5562, allocations: 1.263 MB / 0.6801 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.5566, allocations: 319.2 kB / 0.6804 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.5572, allocations: 346.5 kB / 0.6807 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.5601, allocations: 1.604 MB / 0.6823 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5601, allocations: 3.938 kB / 0.6823 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5601, allocations: 0 / 0.6823 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.5601, allocations: 0 / 0.6823 GB, free: 6.105 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.002392/0.5625, allocations: 1.08 MB / 0.6833 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5626, allocations: 12.03 kB / 0.6833 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.042e-05/0.5626, allocations: 17.25 kB / 0.6833 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.5627, allocations: 94.52 kB / 0.6834 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.5635, allocations: 140.3 kB / 0.6836 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/0.5644, allocations: 474.7 kB / 0.684 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.5645, allocations: 37.31 kB / 0.6841 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.5646, allocations: 48 kB / 0.6841 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.5659, allocations: 1.05 MB / 0.6851 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.5659, allocations: 7.891 kB / 0.6851 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.566, allocations: 24 kB / 0.6852 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.566, allocations: 12 kB / 0.6852 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.5668, allocations: 469 kB / 0.6856 GB, free: 2.477 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.004247/0.5711, allocations: 1.725 MB / 0.6873 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.5713, allocations: 122.6 kB / 0.6874 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.5714, allocations: 53.39 kB / 0.6875 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.5717, allocations: 47.95 kB / 0.6875 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.5717, allocations: 42.5 kB / 0.6876 GB, free: 420 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.5717, allocations: 4 kB / 0.6876 GB, free: 416 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0005915/0.5723, allocations: 238.1 kB / 0.6878 GB, free: 172 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5724, allocations: 59.41 kB / 0.6878 GB, free: 100 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.5737, allocations: 0.9927 MB / 0.6888 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.5738, allocations: 25.7 kB / 0.6888 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.5741, allocations: 399.9 kB / 0.6892 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.5742, allocations: 51.59 kB / 0.6893 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.5743, allocations: 90.08 kB / 0.6893 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5745, allocations: 318 kB / 0.6897 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.5747, allocations: 131.8 kB / 0.6898 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.575, allocations: 258.2 kB / 0.69 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.5755, allocations: 349.7 kB / 0.6904 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5755, allocations: 0 / 0.6904 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008352/0.5764, allocations: 468.5 kB / 0.6908 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.5764, allocations: 11.94 kB / 0.6908 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5764, allocations: 4 kB / 0.6908 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.5764, allocations: 8 kB / 0.6908 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.577, allocations: 111.9 kB / 0.6909 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004615/0.5775, allocations: 0.6061 MB / 0.6915 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.578, allocations: 79.39 kB / 0.6916 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.578, allocations: 22.11 kB / 0.6916 GB, free: 12.04 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.0004034/0.5784, allocations: 255 kB / 0.6919 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5786, allocations: 79.53 kB / 0.6919 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.5791, allocations: 218.6 kB / 0.6921 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.5791, allocations: 4 kB / 0.6922 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5791, allocations: 0 / 0.6922 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5791, allocations: 8.031 kB / 0.6922 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5803, allocations: 0.699 MB / 0.6928 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5803, allocations: 4 kB / 0.6928 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.5806, allocations: 43.91 kB / 0.6929 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.5806, allocations: 4 kB / 0.6929 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.5806, allocations: 4 kB / 0.6929 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003816/0.581, allocations: 0.6015 MB / 0.6935 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.581, allocations: 4.219 kB / 0.6935 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.5815, allocations: 390.1 kB / 0.6939 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.5818, allocations: 107.5 kB / 0.694 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.5819, allocations: 10.94 kB / 0.694 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.5823, allocations: 15.97 kB / 0.694 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.5824, allocations: 15.98 kB / 0.694 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.5824, allocations: 15.98 kB / 0.694 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009205/0.5833, allocations: 0.702 MB / 0.6947 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5833, allocations: 0 / 0.6947 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007789/0.5841, allocations: 211.6 kB / 0.6949 GB, free: 8.555 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.002879/0.587, allocations: 1.392 MB / 0.6963 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.5876, allocations: 244.8 kB / 0.6965 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5876, allocations: 0 / 0.6965 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.5878, allocations: 63.91 kB / 0.6966 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.5893, allocations: 323.3 kB / 0.6969 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008967/0.5983, allocations: 6.323 MB / 0.703 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.5987, allocations: 325.8 kB / 0.7034 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000535/0.5992, allocations: 133.6 kB / 0.7035 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.5996, allocations: 235.4 kB / 0.7037 GB, free: 15.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.5996, allocations: 0 / 0.7037 GB, free: 15.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06229/0.6619, allocations: 23.81 MB / 0.727 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.34, allocations: 8 kB / 0.727 GB, free: 7.246 MB / 0.5606 GB " [Timeout remaining time 644] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.382241733954288] Failed to read output from testmodel.py, exit status != 0: 15.586531001958065 15.615779528 15.051331977 Calling exit ...