Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.001971/0.001971, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002348/0.002348, allocations: 212.8 kB / 23.74 MB, free: 4.656 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.504/1.504, allocations: 207.6 MB / 234.5 MB, free: 10 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.3026/0.3026, allocations: 49.57 MB / 336.3 MB, free: 4.117 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.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",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.00259/0.00259, allocations: 70.72 kB / 476.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1264, allocations: 62.42 MB / 0.5261 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4329/0.5593, allocations: 171.3 MB / 0.6934 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006001/0.5653, allocations: 3.849 MB / 0.6971 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.5658, allocations: 11.94 kB / 0.6971 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.5669, allocations: 270.4 kB / 0.6974 GB, free: 6.75 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.001407/0.5683, allocations: 0.4898 MB / 0.6979 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.573, allocations: 1.58 MB / 0.6994 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5749, allocations: 1.267 MB / 0.7006 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.5756, allocations: 333.8 kB / 0.701 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.5765, allocations: 498.3 kB / 0.7014 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.5771, allocations: 490.2 kB / 0.7019 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.5772, allocations: 60 kB / 0.702 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.5804, allocations: 1.508 MB / 0.7034 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.5808, allocations: 379 kB / 0.7038 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.5813, allocations: 469.5 kB / 0.7042 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.5842, allocations: 1.739 MB / 0.7059 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5842, allocations: 0 / 0.7059 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5842, allocations: 0 / 0.7059 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.5842, allocations: 0 / 0.7059 GB, free: 13.96 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002138/0.5863, allocations: 1.243 MB / 0.7072 GB, free: 12.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5864, allocations: 8.031 kB / 0.7072 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.5865, allocations: 98.45 kB / 0.7073 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.5872, allocations: 167.3 kB / 0.7074 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5882, allocations: 0.5949 MB / 0.708 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.5883, allocations: 37 kB / 0.708 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.5883, allocations: 48 kB / 0.7081 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009717/0.5893, allocations: 0.6044 MB / 0.7087 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5893, allocations: 0 / 0.7087 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.5894, allocations: 31.94 kB / 0.7087 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5894, allocations: 12 kB / 0.7087 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.5901, allocations: 467.7 kB / 0.7092 GB, free: 10.59 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.003893/0.594, allocations: 2.049 MB / 0.7112 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.5943, allocations: 138.4 kB / 0.7113 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.5944, allocations: 48.97 kB / 0.7113 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.5946, allocations: 47.91 kB / 0.7114 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.5947, allocations: 42.55 kB / 0.7114 GB, free: 8.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.5947, allocations: 0 / 0.7114 GB, free: 8.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005424/0.5952, allocations: 261.3 kB / 0.7117 GB, free: 7.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5953, allocations: 51.41 kB / 0.7117 GB, free: 7.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.5969, allocations: 1.34 MB / 0.713 GB, free: 6.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.5969, allocations: 33.7 kB / 0.7131 GB, free: 6.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.5973, allocations: 475.8 kB / 0.7135 GB, free: 5.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.5974, allocations: 55.59 kB / 0.7136 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.5975, allocations: 81.97 kB / 0.7137 GB, free: 5.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5976, allocations: 329.9 kB / 0.714 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.5979, allocations: 126.6 kB / 0.7141 GB, free: 5.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.5982, allocations: 254 kB / 0.7143 GB, free: 5.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.5986, allocations: 332.9 kB / 0.7146 GB, free: 4.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5986, allocations: 0 / 0.7146 GB, free: 4.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000735/0.5994, allocations: 476.6 kB / 0.7151 GB, free: 4.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5994, allocations: 11.98 kB / 0.7151 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5994, allocations: 4 kB / 0.7151 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.5994, allocations: 11.98 kB / 0.7151 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.5999, allocations: 102.2 kB / 0.7152 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004178/0.6003, allocations: 0.6171 MB / 0.7158 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.6007, allocations: 75.39 kB / 0.7159 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.6008, allocations: 24 kB / 0.7159 GB, free: 3.328 MB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0004198/0.6012, allocations: 293.6 kB / 0.7162 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6013, allocations: 99.47 kB / 0.7163 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.6018, allocations: 251.1 kB / 0.7165 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6018, allocations: 0 / 0.7165 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6018, allocations: 0 / 0.7165 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6018, allocations: 4 kB / 0.7165 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.6025, allocations: 0.5208 MB / 0.7171 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.6025, allocations: 9.422 kB / 0.7171 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.6027, allocations: 47.97 kB / 0.7171 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6027, allocations: 0 / 0.7171 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6027, allocations: 0 / 0.7171 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000363/0.6031, allocations: 0.6016 MB / 0.7177 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6031, allocations: 0 / 0.7177 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.6036, allocations: 387.1 kB / 0.7181 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.6039, allocations: 127.4 kB / 0.7182 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.56e-05/0.6039, allocations: 0 / 0.7182 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.6043, allocations: 28.12 kB / 0.7182 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.6044, allocations: 7.984 kB / 0.7182 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.6044, allocations: 19.55 kB / 0.7182 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001199/0.6056, allocations: 0.9463 MB / 0.7192 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6056, allocations: 4 kB / 0.7192 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007313/0.6063, allocations: 227.5 kB / 0.7194 GB, free: 15.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.002547/0.6089, allocations: 1.357 MB / 0.7207 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.6095, allocations: 236.3 kB / 0.7209 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.6095, allocations: 0 / 0.7209 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.6096, allocations: 67.91 kB / 0.721 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.6112, allocations: 343.3 kB / 0.7213 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6222, allocations: 8.007 MB / 0.7291 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.6228, allocations: 0.9842 MB / 0.7301 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005511/0.6234, allocations: 174.6 kB / 0.7303 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.6237, allocations: 291.3 kB / 0.7305 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.6237, allocations: 4 kB / 0.7306 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06694/0.6907, allocations: 25.24 MB / 0.7552 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.55, allocations: 0 / 0.7552 GB, free: 10.54 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.844658241141587] Failed to read output from testmodel.py, exit status != 0: 14.733321876032278 14.954513117 14.367092315 Calling exit ...