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.001351/0.001351, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001666/0.001666, allocations: 213.1 kB / 23.75 MB, free: 4.668 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.466/1.466, allocations: 207.6 MB / 234.5 MB, free: 9.988 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.2966/0.2966, allocations: 49.56 MB / 336.3 MB, free: 4.102 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",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.003321/0.003321, allocations: 71.91 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1326, allocations: 62.43 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4187/0.5512, allocations: 171.3 MB / 0.6934 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00572/0.5569, allocations: 3.804 MB / 0.6972 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.5574, allocations: 15.88 kB / 0.6972 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.5584, allocations: 270.4 kB / 0.6974 GB, free: 6.652 MB / 0.5294 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.001207/0.5596, allocations: 457.6 kB / 0.6979 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.5635, allocations: 1.501 MB / 0.6993 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.5652, allocations: 1.231 MB / 0.7005 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.5659, allocations: 326.4 kB / 0.7009 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.5668, allocations: 474.4 kB / 0.7013 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007607/0.5675, allocations: 450.3 kB / 0.7017 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/0.5676, allocations: 56 kB / 0.7018 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.5706, allocations: 1.505 MB / 0.7033 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.5709, allocations: 323.1 kB / 0.7036 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.5715, allocations: 410.2 kB / 0.704 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.5738, allocations: 1.622 MB / 0.7055 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5738, allocations: 0 / 0.7055 GB, free: 14.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5738, allocations: 4 kB / 0.7055 GB, free: 14.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.5738, allocations: 0 / 0.7055 GB, free: 14.32 MB / 0.545 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.001849/0.5757, allocations: 1.076 MB / 0.7066 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5757, allocations: 16.03 kB / 0.7066 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.5758, allocations: 106.4 kB / 0.7067 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.5765, allocations: 131.4 kB / 0.7068 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.5773, allocations: 470.7 kB / 0.7073 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.5773, allocations: 37.31 kB / 0.7073 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.5774, allocations: 63.97 kB / 0.7074 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.5784, allocations: 0.6042 MB / 0.708 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5784, allocations: 7.891 kB / 0.708 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.5785, allocations: 31.94 kB / 0.708 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5785, allocations: 12 kB / 0.708 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.5792, allocations: 473 kB / 0.7085 GB, free: 11.23 MB / 0.545 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.003905/0.5831, allocations: 2.008 MB / 0.7104 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.5834, allocations: 118.6 kB / 0.7105 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.5835, allocations: 48.84 kB / 0.7106 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.5837, allocations: 55.94 kB / 0.7106 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5837, allocations: 39.44 kB / 0.7107 GB, free: 8.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.5837, allocations: 0 / 0.7107 GB, free: 8.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0004709/0.5842, allocations: 245.9 kB / 0.7109 GB, free: 8.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.5842, allocations: 51.41 kB / 0.711 GB, free: 8.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5854, allocations: 0.9889 MB / 0.7119 GB, free: 7.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.5854, allocations: 33.7 kB / 0.712 GB, free: 7.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.5857, allocations: 399.9 kB / 0.7123 GB, free: 7.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.5858, allocations: 55.59 kB / 0.7124 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.5859, allocations: 86.02 kB / 0.7125 GB, free: 6.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5861, allocations: 325.9 kB / 0.7128 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.5863, allocations: 126.7 kB / 0.7129 GB, free: 6.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.5866, allocations: 262.2 kB / 0.7132 GB, free: 6.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.587, allocations: 341.7 kB / 0.7135 GB, free: 5.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.587, allocations: 0 / 0.7135 GB, free: 5.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007122/0.5877, allocations: 473 kB / 0.7139 GB, free: 5.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5877, allocations: 8 kB / 0.7139 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5877, allocations: 7.938 kB / 0.714 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.5878, allocations: 9.812 kB / 0.714 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.5883, allocations: 107.8 kB / 0.7141 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003987/0.5887, allocations: 0.6016 MB / 0.7147 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.5891, allocations: 83.53 kB / 0.7147 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.5891, allocations: 28 kB / 0.7148 GB, free: 4.469 MB / 0.545 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.0003139/0.5894, allocations: 245.5 kB / 0.715 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5896, allocations: 79.53 kB / 0.7151 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.5899, allocations: 213.2 kB / 0.7153 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5899, allocations: 4 kB / 0.7153 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5899, allocations: 0 / 0.7153 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5899, allocations: 7.984 kB / 0.7153 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5911, allocations: 0.7729 MB / 0.716 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5911, allocations: 4 kB / 0.716 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.5913, allocations: 39.97 kB / 0.7161 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5913, allocations: 9.375 kB / 0.7161 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5913, allocations: 4 kB / 0.7161 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003452/0.5917, allocations: 0.6055 MB / 0.7167 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5917, allocations: 0 / 0.7167 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.5921, allocations: 385.6 kB / 0.7171 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.5923, allocations: 107.4 kB / 0.7172 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.5924, allocations: 0 / 0.7172 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.5928, allocations: 23.97 kB / 0.7172 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.5928, allocations: 11.98 kB / 0.7172 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.5928, allocations: 12.08 kB / 0.7172 GB, free: 1.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008184/0.5937, allocations: 0.702 MB / 0.7179 GB, free: 1.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5937, allocations: 0 / 0.7179 GB, free: 1.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006686/0.5943, allocations: 219.6 kB / 0.7181 GB, free: 0.9297 MB / 0.545 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.002395/0.5967, allocations: 1.378 MB / 0.7194 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.5972, allocations: 239.7 kB / 0.7197 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5972, allocations: 1.125 kB / 0.7197 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.5973, allocations: 68.03 kB / 0.7197 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.5987, allocations: 319.1 kB / 0.72 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.6066, allocations: 6.335 MB / 0.7262 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.6071, allocations: 0.9174 MB / 0.7271 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004377/0.6075, allocations: 137.7 kB / 0.7273 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.6078, allocations: 231.4 kB / 0.7275 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.6078, allocations: 0 / 0.7275 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.6643, allocations: 22.59 MB / 0.7495 GB, free: 304 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.08, allocations: 0 / 0.7495 GB, free: 304 kB / 0.5762 GB " [Timeout remaining time 646] (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 sys.exit(0), Time elapsed: 17.099809951148927] Failed to read output from testmodel.py, exit status != 0: 14.261307148030028 14.286981385 13.708127923 Calling exit ...