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.0008559/0.0008559, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008913/0.0008913, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.375/1.375, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2867/0.2867, allocations: 48.79 MB / 320.8 MB, free: 11.1 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.0005296/0.0005296, allocations: 13.61 kB / 391.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 60.26 MB / 452.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03289/0.1442, allocations: 32.64 MB / 484.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.1549, allocations: 8.718 MB / 493.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.1555, allocations: 7.938 kB / 493.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.1561, allocations: 111.3 kB / 493.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.1567, allocations: 190.8 kB / 493.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01159/0.1683, allocations: 3.505 MB / 497.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1694, allocations: 0.7589 MB / 498 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.1697, allocations: 190.8 kB / 498.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.1699, allocations: 187.2 kB / 498.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1702, allocations: 210.9 kB / 498.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.1703, allocations: 16 kB / 498.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.1811, allocations: 5.939 MB / 0.4927 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1812, allocations: 55.7 kB / 0.4928 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.1815, allocations: 200.8 kB / 0.4929 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00768/0.1892, allocations: 3.481 MB / 0.4963 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1892, allocations: 0 / 0.4963 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1893, allocations: 4 kB / 0.4963 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1893, allocations: 0 / 0.4963 GB, free: 0.8125 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.003016/0.1923, allocations: 1.002 MB / 0.4973 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1924, allocations: 8.031 kB / 0.4973 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.1925, allocations: 52.45 kB / 0.4974 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1929, allocations: 303.3 kB / 0.4977 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.193, allocations: 20.94 kB / 0.4977 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.193, allocations: 24.38 kB / 0.4977 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.1937, allocations: 337.2 kB / 0.498 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1938, allocations: 0 / 0.498 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.1938, allocations: 15.94 kB / 0.4981 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1938, allocations: 8 kB / 0.4981 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.1944, allocations: 262 kB / 0.4983 GB, free: 14.7 MB / 398.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.001472/0.1959, allocations: 1.333 MB / 0.4996 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.1965, allocations: 242.1 kB / 0.4998 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.1967, allocations: 128.8 kB / 0.5 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2769/0.4736, allocations: 32.28 MB / 0.5315 GB, free: 81.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4737, allocations: 36.08 kB / 0.5315 GB, free: 81.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/0.4737, allocations: 4.969 kB / 0.5315 GB, free: 81.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002901/0.4766, allocations: 1.09 MB / 0.5326 GB, free: 81.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.4767, allocations: 54.12 kB / 0.5326 GB, free: 81.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.477, allocations: 313.2 kB / 0.5329 GB, free: 81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.477, allocations: 30.81 kB / 0.533 GB, free: 80.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.4771, allocations: 181.2 kB / 0.5331 GB, free: 80.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.4772, allocations: 93.94 kB / 0.5332 GB, free: 80.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.4773, allocations: 33.25 kB / 0.5333 GB, free: 80.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.4773, allocations: 345 kB / 0.5336 GB, free: 80.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.4776, allocations: 111 kB / 0.5337 GB, free: 80.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.4779, allocations: 148.2 kB / 0.5338 GB, free: 80.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.4785, allocations: 266.6 kB / 0.5341 GB, free: 80.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4785, allocations: 0 / 0.5341 GB, free: 80.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001375/0.4799, allocations: 0.5065 MB / 0.5346 GB, free: 80.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.4799, allocations: 106.3 kB / 0.5347 GB, free: 80.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4799, allocations: 1.219 kB / 0.5347 GB, free: 80.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.4812, allocations: 260 kB / 0.5349 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4814, allocations: 38.06 kB / 0.535 GB, free: 80.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.4824, allocations: 0.8117 MB / 0.5358 GB, free: 79.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.4827, allocations: 37.17 kB / 0.5358 GB, free: 79.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.4827, allocations: 9.688 kB / 0.5358 GB, free: 79.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.4827, allocations: 3.688 kB / 0.5358 GB, free: 79.68 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.484, allocations: 441.3 kB / 0.5362 GB, free: 79.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.484, allocations: 1.172 kB / 0.5362 GB, free: 79.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4851, allocations: 240.1 kB / 0.5365 GB, free: 79.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.4852, allocations: 41.67 kB / 0.5365 GB, free: 79.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00081/0.486, allocations: 0.7903 MB / 0.5373 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.4863, allocations: 29.06 kB / 0.5373 GB, free: 79.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4863, allocations: 6.75 kB / 0.5373 GB, free: 79.02 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.4865, allocations: 221.3 kB / 0.5375 GB, free: 78.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.4865, allocations: 38.09 kB / 0.5376 GB, free: 78.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4875, allocations: 0.5719 MB / 0.5381 GB, free: 78.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.4876, allocations: 11.67 kB / 0.5381 GB, free: 78.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4876, allocations: 2.688 kB / 0.5381 GB, free: 78.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4876, allocations: 2.016 kB / 0.5381 GB, free: 78.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.4892, allocations: 1.06 MB / 0.5392 GB, free: 77.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4892, allocations: 0.6562 kB / 0.5392 GB, free: 77.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.4896, allocations: 77.25 kB / 0.5393 GB, free: 77.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.4899, allocations: 49.19 kB / 0.5393 GB, free: 77.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.4899, allocations: 11.69 kB / 0.5393 GB, free: 77.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009325/0.4908, allocations: 1.34 MB / 0.5406 GB, free: 76.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4909, allocations: 3.172 kB / 0.5406 GB, free: 76.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4921, allocations: 0.7214 MB / 0.5413 GB, free: 76.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4923, allocations: 134.8 kB / 0.5415 GB, free: 76.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.4923, allocations: 6.516 kB / 0.5415 GB, free: 76.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.4926, allocations: 25.86 kB / 0.5415 GB, free: 76.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.4927, allocations: 23.88 kB / 0.5415 GB, free: 76.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.4927, allocations: 9.984 kB / 0.5415 GB, free: 76.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.4929, allocations: 222.4 kB / 0.5417 GB, free: 75.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4929, allocations: 0 / 0.5417 GB, free: 75.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002528/0.4955, allocations: 0.8764 MB / 0.5426 GB, free: 75.87 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003427/0.4989, allocations: 0.9393 MB / 0.5435 GB, free: 75.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.5008, allocations: 0.6256 MB / 0.5441 GB, free: 75.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5009, allocations: 0 / 0.5441 GB, free: 75.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.5014, allocations: 332 kB / 0.5444 GB, free: 75.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5025, allocations: 146.2 kB / 0.5446 GB, free: 75.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.5041, allocations: 1.22 MB / 0.5458 GB, free: 74.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5043, allocations: 0.8034 MB / 0.5465 GB, free: 73.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.5045, allocations: 39.2 kB / 0.5466 GB, free: 73.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.5046, allocations: 26.92 kB / 0.5466 GB, free: 73.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5046, allocations: 0 / 0.5466 GB, free: 73.82 MB / 414.1 MB Notification: Performance of Templates: time 0.03796/0.5426, allocations: 33.71 MB / 0.5795 GB, free: 46.68 MB / 414.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: