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.001319/0.001319, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001451/0.001451, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.336/1.336, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.2906/0.2906, allocations: 49.6 MB / 337.2 MB, free: 3.895 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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [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.002404/0.002404, allocations: 75.91 kB / 477.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1177, allocations: 62.42 MB / 0.5274 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4087/0.5263, allocations: 147.4 MB / 0.6713 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005858/0.5322, allocations: 3.518 MB / 0.6748 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.5328, allocations: 7.938 kB / 0.6748 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.5337, allocations: 250.4 kB / 0.675 GB, free: 13.72 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.001356/0.5351, allocations: 0.4898 MB / 0.6755 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.5392, allocations: 1.581 MB / 0.677 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.541, allocations: 1.251 MB / 0.6783 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.5415, allocations: 337.8 kB / 0.6786 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006924/0.5422, allocations: 494.4 kB / 0.679 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.5429, allocations: 466.3 kB / 0.6795 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.543, allocations: 56 kB / 0.6795 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.5455, allocations: 1.235 MB / 0.6808 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.5459, allocations: 383 kB / 0.6811 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.5463, allocations: 374.2 kB / 0.6815 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.5486, allocations: 1.709 MB / 0.6831 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5486, allocations: 0 / 0.6831 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5486, allocations: 0 / 0.6831 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.5486, allocations: 0 / 0.6831 GB, free: 5.375 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.00198/0.5506, allocations: 1.223 MB / 0.6843 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5507, allocations: 12.03 kB / 0.6843 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006899/0.5514, allocations: 159.2 kB / 0.6845 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5524, allocations: 0.5838 MB / 0.6851 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.5524, allocations: 37 kB / 0.6851 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.5525, allocations: 48 kB / 0.6851 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5537, allocations: 1.034 MB / 0.6862 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.5538, allocations: 4 kB / 0.6862 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.5538, allocations: 23.94 kB / 0.6862 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.5538, allocations: 19.92 kB / 0.6862 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.5546, allocations: 466.9 kB / 0.6867 GB, free: 1.605 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.003676/0.5583, allocations: 1.608 MB / 0.6882 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.5586, allocations: 134.6 kB / 0.6883 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.5587, allocations: 49.09 kB / 0.6884 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.5589, allocations: 51.95 kB / 0.6884 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.5589, allocations: 38.56 kB / 0.6885 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.5589, allocations: 0 / 0.6885 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005023/0.5594, allocations: 237.1 kB / 0.6887 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.5595, allocations: 55.41 kB / 0.6888 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.5608, allocations: 1.102 MB / 0.6898 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.5608, allocations: 33.7 kB / 0.6899 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.5613, allocations: 471.5 kB / 0.6903 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.5613, allocations: 63.52 kB / 0.6904 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5614, allocations: 85.97 kB / 0.6905 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5616, allocations: 325.9 kB / 0.6908 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.5619, allocations: 126.6 kB / 0.6909 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.5622, allocations: 253.4 kB / 0.6911 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.5626, allocations: 332.9 kB / 0.6915 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5626, allocations: 0 / 0.6915 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008172/0.5634, allocations: 460.7 kB / 0.6919 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5635, allocations: 8 kB / 0.6919 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5635, allocations: 4.531 kB / 0.6919 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5635, allocations: 11.98 kB / 0.6919 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.5639, allocations: 107.8 kB / 0.692 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004278/0.5643, allocations: 0.6016 MB / 0.6926 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.5647, allocations: 63.59 kB / 0.6927 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.5647, allocations: 16 kB / 0.6927 GB, free: 11.16 MB / 0.5294 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.0004145/0.5651, allocations: 293.6 kB / 0.693 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5653, allocations: 79.47 kB / 0.693 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.5657, allocations: 229.3 kB / 0.6933 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5657, allocations: 3.938 kB / 0.6933 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5657, allocations: 0 / 0.6933 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.5657, allocations: 4 kB / 0.6933 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.5662, allocations: 416.9 kB / 0.6937 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5662, allocations: 0 / 0.6937 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.5665, allocations: 54.97 kB / 0.6937 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5665, allocations: 0 / 0.6937 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.5665, allocations: 3.938 kB / 0.6937 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003892/0.5669, allocations: 0.6016 MB / 0.6943 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5669, allocations: 0 / 0.6943 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.5673, allocations: 367 kB / 0.6947 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.5675, allocations: 91.48 kB / 0.6947 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.5676, allocations: 4 kB / 0.6947 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.568, allocations: 19.97 kB / 0.6948 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.568, allocations: 7.984 kB / 0.6948 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.568, allocations: 15.98 kB / 0.6948 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009532/0.569, allocations: 0.7762 MB / 0.6955 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.569, allocations: 4 kB / 0.6955 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007493/0.5697, allocations: 243.5 kB / 0.6958 GB, free: 7.902 MB / 0.5294 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.001922/0.5716, allocations: 0.5619 MB / 0.6963 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.5721, allocations: 228.4 kB / 0.6965 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5721, allocations: 0 / 0.6965 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.5723, allocations: 67.91 kB / 0.6966 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.5731, allocations: 159.7 kB / 0.6968 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.5754, allocations: 1.559 MB / 0.6983 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.5759, allocations: 387.2 kB / 0.6987 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.576, allocations: 55.42 kB / 0.6987 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.576, allocations: 4 kB / 0.6987 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of Templates: time 0.02106/0.5971, allocations: 15.01 MB / 0.7134 GB, free: 5.793 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.081521656829864] Failed to read output from testmodel.py, exit status != 0: 0.606012892909348 0.620042357 0.06832552700000001 Calling exit ...