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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 123.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 185.3 kB / 20.73 MB, free: 2.355 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.464/1.464, allocations: 207.6 MB / 231.1 MB, free: 4.242 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4334/0.4334, allocations: 49.52 MB / 332.5 MB, free: 1.152 MB / 254.1 MB " [Timeout remaining time 179] 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.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.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.002153/0.002153, allocations: 74.83 kB / 470.8 MB, free: 41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1035, allocations: 62.33 MB / 0.5206 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4463/0.5498, allocations: 171.1 MB / 0.6877 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.5543, allocations: 3.815 MB / 0.6914 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.5547, allocations: 5.031 kB / 0.6914 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008224/0.5555, allocations: 280.9 kB / 0.6917 GB, free: 13.84 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.001029/0.5566, allocations: 0.4911 MB / 0.6922 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.56, allocations: 1.559 MB / 0.6937 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5614, allocations: 1.24 MB / 0.6949 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.5619, allocations: 334.5 kB / 0.6952 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.5626, allocations: 495.9 kB / 0.6957 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.5632, allocations: 487.6 kB / 0.6962 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.5633, allocations: 56.12 kB / 0.6962 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.5657, allocations: 1.495 MB / 0.6977 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.5661, allocations: 386.8 kB / 0.698 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.5666, allocations: 459.4 kB / 0.6985 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.569, allocations: 1.738 MB / 0.7002 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.569, allocations: 0 / 0.7002 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.569, allocations: 0 / 0.7002 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.105e-05/0.5691, allocations: 0 / 0.7002 GB, free: 12.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002381/0.5714, allocations: 1.313 MB / 0.7015 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5715, allocations: 17.69 kB / 0.7015 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.5716, allocations: 98.77 kB / 0.7016 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/0.5723, allocations: 163.4 kB / 0.7017 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5733, allocations: 0.6569 MB / 0.7024 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.5734, allocations: 38.34 kB / 0.7024 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.5734, allocations: 47.97 kB / 0.7024 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.5743, allocations: 0.606 MB / 0.703 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5743, allocations: 0 / 0.703 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.5744, allocations: 32.22 kB / 0.7031 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5744, allocations: 10.19 kB / 0.7031 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006043/0.575, allocations: 473.4 kB / 0.7035 GB, free: 10.9 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.003812/0.5788, allocations: 2.345 MB / 0.7058 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.579, allocations: 123.5 kB / 0.7059 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.5791, allocations: 55.12 kB / 0.706 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/0.5794, allocations: 122.2 kB / 0.7061 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5794, allocations: 45.09 kB / 0.7061 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.5794, allocations: 0 / 0.7061 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0004591/0.5799, allocations: 259.4 kB / 0.7064 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5799, allocations: 55.39 kB / 0.7064 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.5812, allocations: 1.336 MB / 0.7078 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5813, allocations: 35.12 kB / 0.7078 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.5816, allocations: 469.8 kB / 0.7082 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.5817, allocations: 54 kB / 0.7083 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.5818, allocations: 90.03 kB / 0.7084 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5819, allocations: 323.2 kB / 0.7087 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.5821, allocations: 136.6 kB / 0.7088 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.5824, allocations: 248.1 kB / 0.709 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.5828, allocations: 329.1 kB / 0.7094 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5828, allocations: 0 / 0.7094 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006496/0.5834, allocations: 484.7 kB / 0.7098 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5834, allocations: 8.062 kB / 0.7098 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5834, allocations: 2.469 kB / 0.7098 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5835, allocations: 7.844 kB / 0.7098 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.5839, allocations: 105.2 kB / 0.7099 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004342/0.5843, allocations: 0.618 MB / 0.7105 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.5847, allocations: 73.14 kB / 0.7106 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.5848, allocations: 22.97 kB / 0.7106 GB, free: 6.848 MB / 0.5137 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.0003305/0.5851, allocations: 293.5 kB / 0.7109 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.5852, allocations: 101.6 kB / 0.711 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.5856, allocations: 245.5 kB / 0.7112 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5856, allocations: 4 kB / 0.7113 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5856, allocations: 0 / 0.7113 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5856, allocations: 2.125 kB / 0.7113 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.5862, allocations: 0.5552 MB / 0.7118 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5862, allocations: 3.938 kB / 0.7118 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5865, allocations: 40.91 kB / 0.7118 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5865, allocations: 0 / 0.7118 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5865, allocations: 5.969 kB / 0.7118 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.5869, allocations: 0.6051 MB / 0.7124 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5869, allocations: 2.188 kB / 0.7124 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.5873, allocations: 379.7 kB / 0.7128 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.5876, allocations: 210.5 kB / 0.713 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.5877, allocations: 6.109 kB / 0.713 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.5881, allocations: 17.58 kB / 0.713 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.5881, allocations: 16.67 kB / 0.713 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.5882, allocations: 11.86 kB / 0.7131 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009573/0.5891, allocations: 0.9578 MB / 0.714 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5891, allocations: 0 / 0.714 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006435/0.5898, allocations: 222.7 kB / 0.7142 GB, free: 4.957 MB / 0.5137 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.002374/0.5921, allocations: 1.35 MB / 0.7155 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.5925, allocations: 221.8 kB / 0.7157 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5925, allocations: 6.938 kB / 0.7157 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.5927, allocations: 71.72 kB / 0.7158 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5941, allocations: 345.5 kB / 0.7161 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009693/0.6038, allocations: 8.006 MB / 0.724 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.6044, allocations: 0.9936 MB / 0.7249 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005172/0.6049, allocations: 174.7 kB / 0.7251 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.6053, allocations: 290.4 kB / 0.7254 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.6053, allocations: 0 / 0.7254 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06095/0.6663, allocations: 24.96 MB / 0.7497 GB, free: 6.238 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.61, allocations: 11.66 kB / 0.7497 GB, free: 6.23 MB / 0.545 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.73191830702126] Failed to read output from testmodel.py, exit status != 0: 14.769574688747525 14.795756434 14.222067586 Calling exit ...