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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2696/0.2696, allocations: 48.84 MB / 320.7 MB, free: 11.04 MB / 270.1 MB 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.001447/0.001447, allocations: 71.47 kB / 391.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09635, allocations: 59.16 MB / 450.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4055/0.5019, allocations: 170.6 MB / 0.6067 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.5079, allocations: 3.764 MB / 0.6104 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.5085, allocations: 9.625 kB / 0.6104 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5095, allocations: 265 kB / 0.6107 GB, free: 1.32 MB / 430.1 MB [/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.001138/0.5107, allocations: 446.5 kB / 0.6111 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004065/0.5148, allocations: 1.473 MB / 0.6125 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.5164, allocations: 1.214 MB / 0.6137 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.517, allocations: 360.9 kB / 0.6141 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.5176, allocations: 460.4 kB / 0.6145 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.5181, allocations: 411.7 kB / 0.6149 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/0.5182, allocations: 57.47 kB / 0.615 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.521, allocations: 1.427 MB / 0.6164 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.5213, allocations: 317.9 kB / 0.6167 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.5218, allocations: 417.9 kB / 0.6171 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.5242, allocations: 1.604 MB / 0.6186 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5242, allocations: 0 / 0.6186 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5242, allocations: 0 / 0.6186 GB, free: 12.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5243, allocations: 4 kB / 0.6186 GB, free: 12.32 MB / 446.1 MB 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.001909/0.5262, allocations: 1.116 MB / 0.6197 GB, free: 11.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5262, allocations: 14.08 kB / 0.6197 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000717/0.5269, allocations: 145.2 kB / 0.6199 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.5278, allocations: 0.5162 MB / 0.6204 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.5279, allocations: 37.59 kB / 0.6204 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.528, allocations: 56.31 kB / 0.6205 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/0.5289, allocations: 0.6105 MB / 0.6211 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.529, allocations: 2.656 kB / 0.6211 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.529, allocations: 33.06 kB / 0.6211 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.5291, allocations: 14.16 kB / 0.6211 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007073/0.5298, allocations: 472.3 kB / 0.6216 GB, free: 10.3 MB / 446.1 MB 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.00426/0.5341, allocations: 2.293 MB / 0.6238 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.5343, allocations: 131.7 kB / 0.6239 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.5344, allocations: 60.78 kB / 0.624 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.5347, allocations: 125 kB / 0.6241 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.5348, allocations: 42.56 kB / 0.6241 GB, free: 8.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.5348, allocations: 0 / 0.6241 GB, free: 8.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004957/0.5353, allocations: 236.7 kB / 0.6244 GB, free: 7.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.5353, allocations: 51.41 kB / 0.6244 GB, free: 7.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.5364, allocations: 0.9848 MB / 0.6254 GB, free: 6.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5365, allocations: 29.7 kB / 0.6254 GB, free: 6.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.5367, allocations: 383.3 kB / 0.6258 GB, free: 6.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.5368, allocations: 59.19 kB / 0.6258 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.5369, allocations: 86.03 kB / 0.6259 GB, free: 6.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5371, allocations: 325.9 kB / 0.6262 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.5373, allocations: 130.6 kB / 0.6263 GB, free: 5.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.5376, allocations: 250.3 kB / 0.6266 GB, free: 5.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.538, allocations: 337.7 kB / 0.6269 GB, free: 5.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.538, allocations: 8 kB / 0.6269 GB, free: 5.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007237/0.5387, allocations: 468.7 kB / 0.6274 GB, free: 4.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5388, allocations: 8.562 kB / 0.6274 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5388, allocations: 8 kB / 0.6274 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.5388, allocations: 9.188 kB / 0.6274 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.5393, allocations: 115.8 kB / 0.6275 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003493/0.5397, allocations: 0.6016 MB / 0.6281 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.5402, allocations: 71.2 kB / 0.6282 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.5403, allocations: 23.98 kB / 0.6282 GB, free: 3.734 MB / 446.1 MB 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.0003467/0.5407, allocations: 253.5 kB / 0.6284 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5408, allocations: 83.05 kB / 0.6285 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.5412, allocations: 218.5 kB / 0.6287 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5412, allocations: 0 / 0.6287 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5412, allocations: 7.938 kB / 0.6287 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5412, allocations: 0 / 0.6287 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5425, allocations: 0.8031 MB / 0.6295 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5425, allocations: 0 / 0.6295 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.5427, allocations: 47.91 kB / 0.6295 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.5428, allocations: 0 / 0.6295 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.5428, allocations: 7.984 kB / 0.6296 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003982/0.5432, allocations: 0.5939 MB / 0.6301 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.5432, allocations: 7.969 kB / 0.6301 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.5437, allocations: 377.9 kB / 0.6305 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.544, allocations: 172.1 kB / 0.6307 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.544, allocations: 4 kB / 0.6307 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.5445, allocations: 24.14 kB / 0.6307 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.5445, allocations: 11.98 kB / 0.6307 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.5445, allocations: 19.97 kB / 0.6307 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008032/0.5453, allocations: 0.6942 MB / 0.6314 GB, free: 300 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5454, allocations: 3.938 kB / 0.6314 GB, free: 296 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007633/0.5461, allocations: 215.8 kB / 0.6316 GB, free: 80 kB / 446.1 MB 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.001312/0.5474, allocations: 0.5368 MB / 0.6321 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.548, allocations: 248.6 kB / 0.6324 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.548, allocations: 0 / 0.6324 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.5481, allocations: 76.16 kB / 0.6324 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.5495, allocations: 315.3 kB / 0.6327 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.5514, allocations: 1.178 MB / 0.6339 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.552, allocations: 0.9185 MB / 0.6348 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.5524, allocations: 137.6 kB / 0.6349 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.5525, allocations: 55.42 kB / 0.635 GB, free: 12.57 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5525, allocations: 0 / 0.635 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Templates: time 0.02575/0.5783, allocations: 14.8 MB / 0.6494 GB, free: 13.74 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)