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.001527/0.001526, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001641/0.00164, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.528/1.528, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3012/0.3012, 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.001514/0.001514, allocations: 72.64 kB / 391.5 MB, free: 48.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, 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.4231/0.528, allocations: 170.6 MB / 0.6068 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005416/0.5334, allocations: 3.759 MB / 0.6104 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005541/0.534, allocations: 11.47 kB / 0.6104 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.5349, allocations: 265.1 kB / 0.6107 GB, free: 1.461 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.001056/0.5361, allocations: 447.8 kB / 0.6111 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.5402, allocations: 1.47 MB / 0.6125 GB, free: 52 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5418, allocations: 1.21 MB / 0.6137 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.5423, allocations: 367.3 kB / 0.6141 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.5429, allocations: 462.7 kB / 0.6145 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.5433, allocations: 411.9 kB / 0.6149 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.5434, allocations: 55 kB / 0.615 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.5464, allocations: 1.423 MB / 0.6164 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.5467, allocations: 320.4 kB / 0.6167 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.5471, allocations: 411.9 kB / 0.6171 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.5493, allocations: 1.612 MB / 0.6186 GB, free: 12.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5493, allocations: 0 / 0.6186 GB, free: 12.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5493, allocations: 0 / 0.6186 GB, free: 12.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.5494, allocations: 0 / 0.6186 GB, free: 12.46 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.001744/0.5511, allocations: 1.128 MB / 0.6197 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5512, allocations: 13.98 kB / 0.6197 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/0.5518, allocations: 141.1 kB / 0.6199 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.5527, allocations: 0.5163 MB / 0.6204 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.5527, allocations: 37.09 kB / 0.6204 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.5528, allocations: 53.44 kB / 0.6205 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.5537, allocations: 0.6026 MB / 0.6211 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5538, allocations: 2.938 kB / 0.6211 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.5538, allocations: 28.34 kB / 0.6211 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.5538, allocations: 13 kB / 0.6211 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.5545, allocations: 476.3 kB / 0.6216 GB, free: 10.45 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.003975/0.5585, allocations: 2.301 MB / 0.6238 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.5587, allocations: 134.7 kB / 0.6239 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.5588, allocations: 64.66 kB / 0.624 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.5591, allocations: 117.1 kB / 0.6241 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.5592, allocations: 38.56 kB / 0.6241 GB, free: 8.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.5592, allocations: 0 / 0.6241 GB, free: 8.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004925/0.5597, allocations: 240.7 kB / 0.6244 GB, free: 8.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5597, allocations: 55.41 kB / 0.6244 GB, free: 7.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.5608, allocations: 0.9887 MB / 0.6254 GB, free: 6.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.5609, allocations: 25.7 kB / 0.6254 GB, free: 6.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.5612, allocations: 383.3 kB / 0.6258 GB, free: 6.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.5612, allocations: 59.19 kB / 0.6258 GB, free: 6.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.5614, allocations: 82.03 kB / 0.6259 GB, free: 6.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5615, allocations: 325.9 kB / 0.6262 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.5617, allocations: 134.6 kB / 0.6264 GB, free: 5.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.562, allocations: 250.3 kB / 0.6266 GB, free: 5.613 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.5624, allocations: 337.7 kB / 0.6269 GB, free: 5.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5625, allocations: 0 / 0.6269 GB, free: 5.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007303/0.5632, allocations: 472.8 kB / 0.6274 GB, free: 4.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5632, allocations: 8 kB / 0.6274 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5632, allocations: 4 kB / 0.6274 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5633, allocations: 12.88 kB / 0.6274 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.5638, allocations: 111.8 kB / 0.6275 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003784/0.5642, allocations: 0.6137 MB / 0.6281 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.5647, allocations: 67.2 kB / 0.6282 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.5647, allocations: 27.98 kB / 0.6282 GB, free: 3.887 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.0003148/0.565, allocations: 257.5 kB / 0.6284 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.5652, allocations: 75.06 kB / 0.6285 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.5656, allocations: 216.9 kB / 0.6287 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.5656, allocations: 7.625 kB / 0.6287 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5656, allocations: 0 / 0.6287 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5656, allocations: 0 / 0.6287 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5668, allocations: 0.7972 MB / 0.6295 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5668, allocations: 0 / 0.6295 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.567, allocations: 47.91 kB / 0.6295 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.567, allocations: 4.094 kB / 0.6295 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.567, allocations: 7.984 kB / 0.6296 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002899/0.5673, allocations: 0.6015 MB / 0.6301 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5673, allocations: 0 / 0.6301 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.5678, allocations: 381.9 kB / 0.6305 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.568, allocations: 172.1 kB / 0.6307 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.5681, allocations: 4 kB / 0.6307 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.5685, allocations: 23.97 kB / 0.6307 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.5686, allocations: 7.984 kB / 0.6307 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.5686, allocations: 19.98 kB / 0.6307 GB, free: 1.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008362/0.5694, allocations: 0.6943 MB / 0.6314 GB, free: 464 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5695, allocations: 0 / 0.6314 GB, free: 464 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.000795/0.5703, allocations: 215.8 kB / 0.6316 GB, free: 248 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.001331/0.5716, allocations: 0.5368 MB / 0.6321 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.5721, allocations: 251.7 kB / 0.6324 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5721, allocations: 0 / 0.6324 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5723, allocations: 71.91 kB / 0.6324 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.5737, allocations: 316.3 kB / 0.6327 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.5754, allocations: 1.178 MB / 0.6339 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.5759, allocations: 0.9224 MB / 0.6348 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.5763, allocations: 137.8 kB / 0.6349 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.5764, allocations: 51.42 kB / 0.635 GB, free: 12.73 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5764, allocations: 4 kB / 0.635 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Templates: time 0.02421/0.6006, allocations: 14.79 MB / 0.6494 GB, free: 13.91 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)