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.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.001541/0.001541, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001717/0.001717, allocations: 210 kB / 24.48 MB, free: 3.938 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.461/1.461, allocations: 207.7 MB / 235.3 MB, free: 9.77 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.2988/0.2988, allocations: 49.6 MB / 337.2 MB, free: 3.863 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.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") [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.002221/0.002221, allocations: 80.25 kB / 477.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1201, allocations: 62.43 MB / 0.5274 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2432/0.3633, allocations: 29.76 MB / 0.5564 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.3715, allocations: 7.151 MB / 0.5634 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.3719, allocations: 7.625 kB / 0.5634 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.3723, allocations: 139.7 kB / 0.5636 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.3728, allocations: 203.4 kB / 0.5638 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.3842, allocations: 4.388 MB / 0.568 GB, free: 428 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.385, allocations: 0.5859 MB / 0.5686 GB, free: 136 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.3853, allocations: 183.1 kB / 0.5688 GB, free: 48 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.3856, allocations: 228.1 kB / 0.569 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.3859, allocations: 216.6 kB / 0.5692 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.3859, allocations: 26.09 kB / 0.5692 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.3976, allocations: 5.756 MB / 0.5749 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3978, allocations: 74.31 kB / 0.5749 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.3981, allocations: 158 kB / 0.5751 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007355/0.4054, allocations: 3.508 MB / 0.5785 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4054, allocations: 4 kB / 0.5785 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4054, allocations: 0 / 0.5785 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.4054, allocations: 0 / 0.5785 GB, free: 10.82 MB / 430.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.002873/0.4083, allocations: 0.9878 MB / 0.5795 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4083, allocations: 13.44 kB / 0.5795 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.4085, allocations: 57.66 kB / 0.5795 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.409, allocations: 250.5 kB / 0.5798 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.409, allocations: 18.94 kB / 0.5798 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.409, allocations: 34.3 kB / 0.5798 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.4097, allocations: 321.3 kB / 0.5801 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4097, allocations: 4 kB / 0.5801 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.4097, allocations: 10.78 kB / 0.5802 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4097, allocations: 6.188 kB / 0.5802 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.4103, allocations: 238.3 kB / 0.5804 GB, free: 9.5 MB / 430.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.001387/0.4117, allocations: 0.9021 MB / 0.5813 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.4122, allocations: 214.7 kB / 0.5815 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.4125, allocations: 120 kB / 0.5816 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05977/0.4723, allocations: 16.8 MB / 0.598 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.4723, allocations: 38.56 kB / 0.598 GB, free: 12.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.024e-06/0.4723, allocations: 0 / 0.598 GB, free: 12.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002839/0.4751, allocations: 0.9702 MB / 0.599 GB, free: 11.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4752, allocations: 55.41 kB / 0.599 GB, free: 11.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.4755, allocations: 268.6 kB / 0.5993 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.4755, allocations: 25.7 kB / 0.5993 GB, free: 11.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4756, allocations: 196.6 kB / 0.5995 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.386e-05/0.4757, allocations: 99.11 kB / 0.5996 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.4758, allocations: 57.69 kB / 0.5996 GB, free: 10.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.476, allocations: 338.8 kB / 0.6 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.4763, allocations: 116.8 kB / 0.6001 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.4766, allocations: 129.6 kB / 0.6002 GB, free: 10.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.4771, allocations: 241.6 kB / 0.6004 GB, free: 9.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4771, allocations: 0 / 0.6004 GB, free: 9.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001316/0.4784, allocations: 482.3 kB / 0.6009 GB, free: 9.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4784, allocations: 4 kB / 0.6009 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4784, allocations: 4 kB / 0.6009 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4796, allocations: 248.6 kB / 0.6011 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.4798, allocations: 47.86 kB / 0.6012 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.4809, allocations: 0.7981 MB / 0.602 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.4811, allocations: 20.05 kB / 0.602 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.4811, allocations: 12 kB / 0.602 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003516/0.4815, allocations: 208.1 kB / 0.6022 GB, free: 8.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002573/0.4818, allocations: 125.6 kB / 0.6023 GB, free: 7.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005046/0.4823, allocations: 242.4 kB / 0.6025 GB, free: 7.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.99e-06/0.4823, allocations: 3.984 kB / 0.6026 GB, free: 7.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.00125/0.4835, allocations: 469.8 kB / 0.603 GB, free: 7.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4835, allocations: 7.938 kB / 0.603 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-06/0.4835, allocations: 0 / 0.603 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4846, allocations: 245.7 kB / 0.6032 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.4848, allocations: 35.3 kB / 0.6033 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.4858, allocations: 0.7796 MB / 0.604 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.486, allocations: 16.05 kB / 0.6041 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.486, allocations: 15.92 kB / 0.6041 GB, free: 6.086 MB / 446.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.0001669/0.4862, allocations: 196.1 kB / 0.6043 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.4862, allocations: 35.77 kB / 0.6043 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4874, allocations: 0.5556 MB / 0.6048 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.4874, allocations: 11.92 kB / 0.6048 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4874, allocations: 3.938 kB / 0.6048 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4874, allocations: 0 / 0.6048 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.4891, allocations: 0.9445 MB / 0.6058 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4891, allocations: 0 / 0.6058 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.4895, allocations: 71.89 kB / 0.6058 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.4897, allocations: 56.8 kB / 0.6059 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4898, allocations: 4 kB / 0.6059 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.491, allocations: 1.299 MB / 0.6072 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.491, allocations: 0 / 0.6072 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4923, allocations: 0.6986 MB / 0.6078 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.4924, allocations: 56.59 kB / 0.6079 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.4925, allocations: 11.98 kB / 0.6079 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.4927, allocations: 19.92 kB / 0.6079 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.4928, allocations: 23.95 kB / 0.608 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.4928, allocations: 8 kB / 0.608 GB, free: 1.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.493, allocations: 187.1 kB / 0.6081 GB, free: 1.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.493, allocations: 0 / 0.6081 GB, free: 1.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003149/0.4962, allocations: 0.8774 MB / 0.609 GB, free: 0.8555 MB / 446.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.004859/0.501, allocations: 0.9643 MB / 0.6099 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.5029, allocations: 0.5464 MB / 0.6105 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5029, allocations: 0 / 0.6105 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.5035, allocations: 306.5 kB / 0.6108 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.5042, allocations: 118.6 kB / 0.6109 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.5062, allocations: 1.024 MB / 0.6119 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.5064, allocations: 199.6 kB / 0.6121 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.5065, allocations: 27.44 kB / 0.6121 GB, free: 13.61 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5065, allocations: 0 / 0.6121 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Templates: time 0.03192/0.5384, allocations: 19.53 MB / 0.6312 GB, free: 10.04 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.475730744190514] Failed to read output from testmodel.py, exit status != 0: 0.5477285552769899 0.563835697 0.155191341 Calling exit ...