Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 91.97 kB / 16.31 MB, free: 6.02 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.00102/0.00102, allocations: 178.7 kB / 17.21 MB, free: 5.914 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.529/1.529, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4875/0.4875, allocations: 48.77 MB / 320.4 MB, free: 3.828 MB / 254.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.0005527/0.0005528, allocations: 16 kB / 391.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1476, allocations: 60.26 MB / 451.4 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2854/0.4331, allocations: 30.23 MB / 481.7 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009257/0.4424, allocations: 7.602 MB / 489.3 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.4431, allocations: 3.406 kB / 489.3 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.4437, allocations: 111.9 kB / 489.4 MB, free: 25.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006507/0.4444, allocations: 212.5 kB / 489.6 MB, free: 25.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01766/0.4621, allocations: 3.355 MB / 492.9 MB, free: 24.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.4637, allocations: 0.6628 MB / 493.6 MB, free: 24.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.4641, allocations: 170.1 kB / 493.8 MB, free: 24.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.4645, allocations: 190.9 kB / 494 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.4649, allocations: 204.2 kB / 494.1 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.4649, allocations: 13.88 kB / 494.2 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01746/0.4824, allocations: 5.735 MB / 499.9 MB, free: 21.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4826, allocations: 53.7 kB / 500 MB, free: 21.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.483, allocations: 89.95 kB / 0.4883 GB, free: 21.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006644/0.4896, allocations: 2.331 MB / 0.4906 GB, free: 20.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4897, allocations: 0 / 0.4906 GB, free: 20.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4897, allocations: 1.094 kB / 0.4906 GB, free: 20.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4897, allocations: 0 / 0.4906 GB, free: 20.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003254/0.4929, allocations: 1.002 MB / 0.4916 GB, free: 19.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.493, allocations: 8.719 kB / 0.4916 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.4932, allocations: 62.28 kB / 0.4916 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.4935, allocations: 285 kB / 0.4919 GB, free: 19.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.4935, allocations: 22.44 kB / 0.4919 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.4936, allocations: 25.66 kB / 0.492 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.4942, allocations: 328.1 kB / 0.4923 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4942, allocations: 0 / 0.4923 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.4943, allocations: 10.44 kB / 0.4923 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4943, allocations: 10.83 kB / 0.4923 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.4948, allocations: 261.2 kB / 0.4925 GB, free: 19.1 MB / 382.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.001238/0.4961, allocations: 1.339 MB / 0.4938 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.4966, allocations: 231.5 kB / 0.4941 GB, free: 17.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.4968, allocations: 127.5 kB / 0.4942 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05551/0.5523, allocations: 32.29 MB / 0.5257 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/0.5525, allocations: 38.56 kB / 0.5258 GB, free: 2.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.086e-06/0.5525, allocations: 0 / 0.5258 GB, free: 2.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.003337/0.5558, allocations: 1.087 MB / 0.5268 GB, free: 1.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.5559, allocations: 63.34 kB / 0.5269 GB, free: 1.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.5563, allocations: 301.7 kB / 0.5272 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5563, allocations: 33.7 kB / 0.5272 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5565, allocations: 184.8 kB / 0.5274 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5566, allocations: 102.5 kB / 0.5275 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.5566, allocations: 4 kB / 0.5275 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5568, allocations: 346.8 kB / 0.5278 GB, free: 220 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.5571, allocations: 111.9 kB / 0.5279 GB, free: 108 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5574, allocations: 137.7 kB / 0.5281 GB, free: 15.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.5576, allocations: 128 kB / 0.5282 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5577, allocations: 0 / 0.5282 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008411/0.5585, allocations: 438.3 kB / 0.5286 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5586, allocations: 101.8 kB / 0.5287 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5586, allocations: 4.031 kB / 0.5287 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.5598, allocations: 256.5 kB / 0.5289 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.56, allocations: 39.91 kB / 0.529 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.5611, allocations: 0.8041 MB / 0.5298 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.5614, allocations: 31.95 kB / 0.5298 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.5615, allocations: 12 kB / 0.5298 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5615, allocations: 4 kB / 0.5298 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007351/0.5622, allocations: 359.3 kB / 0.5301 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5623, allocations: 0 / 0.5301 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/0.5632, allocations: 244.7 kB / 0.5304 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.5634, allocations: 43.91 kB / 0.5304 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.5643, allocations: 0.7876 MB / 0.5312 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.5646, allocations: 28.03 kB / 0.5312 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.5646, allocations: 8 kB / 0.5312 GB, free: 12.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.5648, allocations: 221.1 kB / 0.5314 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.5649, allocations: 35.53 kB / 0.5315 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.566, allocations: 0.577 MB / 0.532 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.566, allocations: 0 / 0.532 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5661, allocations: 7.938 kB / 0.532 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5661, allocations: 3.984 kB / 0.532 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5677, allocations: 1.064 MB / 0.5331 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.5678, allocations: 0 / 0.5331 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.5681, allocations: 75.89 kB / 0.5332 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.5684, allocations: 61.55 kB / 0.5332 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.5684, allocations: 4 kB / 0.5332 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.5697, allocations: 1.332 MB / 0.5345 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5697, allocations: 0 / 0.5345 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5708, allocations: 0.7209 MB / 0.5352 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.571, allocations: 136.6 kB / 0.5354 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.5711, allocations: 0 / 0.5354 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5713, allocations: 31.97 kB / 0.5354 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.5714, allocations: 35.91 kB / 0.5354 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.5714, allocations: 4 kB / 0.5354 GB, free: 8.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.5716, allocations: 219.2 kB / 0.5356 GB, free: 7.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5717, allocations: 0 / 0.5356 GB, free: 7.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004295/0.576, allocations: 0.8668 MB / 0.5365 GB, free: 7.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004896/0.5809, allocations: 0.9438 MB / 0.5374 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.5826, allocations: 0.614 MB / 0.538 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5826, allocations: 0 / 0.538 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.5832, allocations: 330.4 kB / 0.5383 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.5842, allocations: 154.8 kB / 0.5385 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.5859, allocations: 1.204 MB / 0.5396 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.5863, allocations: 0.8078 MB / 0.5404 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.5864, allocations: 30.97 kB / 0.5405 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.5865, allocations: 27.44 kB / 0.5405 GB, free: 2.863 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5865, allocations: 4 kB / 0.5405 GB, free: 2.859 MB / 414.1 MB Notification: Performance of Templates: time 0.04619/0.6327, allocations: 34.1 MB / 0.5738 GB, free: 0.7539 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) Environment - environmentSimulation: