Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001303/0.001303, allocations: 112.5 kB / 21.19 MB, free: 0.7773 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.001448/0.001448, allocations: 206.5 kB / 24.49 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1501/0.1501, allocations: 26.82 MB / 341.5 MB, free: 8.289 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002098/0.002098, allocations: 67.88 kB / 478.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2895, allocations: 60.48 MB / 0.5259 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.0374/0.3269, allocations: 33.08 MB / 0.5583 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3389, allocations: 8.176 MB / 0.5662 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.3393, allocations: 7.375 kB / 0.5662 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.3399, allocations: 138 kB / 0.5664 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006132/0.3406, allocations: 206.2 kB / 0.5666 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01381/0.3544, allocations: 4.441 MB / 0.5709 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3554, allocations: 0.5833 MB / 0.5715 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.3559, allocations: 191.8 kB / 0.5717 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.3563, allocations: 223.1 kB / 0.5719 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.3567, allocations: 235 kB / 0.5721 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.3568, allocations: 24 kB / 0.5721 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/0.3697, allocations: 6.033 MB / 0.578 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3699, allocations: 75.69 kB / 0.5781 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.3701, allocations: 191 kB / 0.5783 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009082/0.3792, allocations: 3.519 MB / 0.5817 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3792, allocations: 0 / 0.5817 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3792, allocations: 4 kB / 0.5817 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.3793, allocations: 0 / 0.5817 GB, free: 11.96 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.003064/0.3823, allocations: 1.004 MB / 0.5827 GB, free: 10.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3824, allocations: 12.03 kB / 0.5827 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.3826, allocations: 48.7 kB / 0.5827 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.3831, allocations: 254.3 kB / 0.583 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.3831, allocations: 16.88 kB / 0.583 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.3832, allocations: 28.38 kB / 0.583 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.3838, allocations: 324.3 kB / 0.5833 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3839, allocations: 4 kB / 0.5833 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3839, allocations: 8 kB / 0.5834 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3839, allocations: 8 kB / 0.5834 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.3845, allocations: 237.8 kB / 0.5836 GB, free: 9.961 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.001856/0.3864, allocations: 1.294 MB / 0.5849 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.387, allocations: 218.4 kB / 0.5851 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3872, allocations: 112.8 kB / 0.5852 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06252/0.4497, allocations: 17.48 MB / 0.6022 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.4498, allocations: 34.5 kB / 0.6023 GB, free: 6.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.4498, allocations: 4 kB / 0.6023 GB, free: 6.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002873/0.4527, allocations: 0.9733 MB / 0.6032 GB, free: 5.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4527, allocations: 51.41 kB / 0.6033 GB, free: 5.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.4531, allocations: 317.6 kB / 0.6036 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.4531, allocations: 33.7 kB / 0.6036 GB, free: 5.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4533, allocations: 184.8 kB / 0.6038 GB, free: 5.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.4534, allocations: 99.17 kB / 0.6039 GB, free: 4.949 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.4535, allocations: 49.7 kB / 0.6039 GB, free: 4.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4537, allocations: 346.8 kB / 0.6043 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.4539, allocations: 108.8 kB / 0.6044 GB, free: 4.438 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.4542, allocations: 142.2 kB / 0.6045 GB, free: 4.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.4547, allocations: 229.7 kB / 0.6047 GB, free: 4.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4547, allocations: 0 / 0.6047 GB, free: 4.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001349/0.4561, allocations: 490.2 kB / 0.6052 GB, free: 3.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4561, allocations: 8.031 kB / 0.6052 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4561, allocations: 4 kB / 0.6052 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4573, allocations: 255.6 kB / 0.6054 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4575, allocations: 27.98 kB / 0.6055 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.4587, allocations: 0.8059 MB / 0.6063 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4589, allocations: 16.05 kB / 0.6063 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.4589, allocations: 12 kB / 0.6063 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003617/0.4593, allocations: 212.1 kB / 0.6065 GB, free: 2.215 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002518/0.4595, allocations: 125.6 kB / 0.6066 GB, free: 2.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004924/0.46, allocations: 242.4 kB / 0.6068 GB, free: 1.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.46, allocations: 4 kB / 0.6068 GB, free: 1.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.00126/0.4613, allocations: 485.7 kB / 0.6073 GB, free: 1.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4613, allocations: 4 kB / 0.6073 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.4613, allocations: 0 / 0.6073 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.4624, allocations: 244.6 kB / 0.6075 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4625, allocations: 31.98 kB / 0.6076 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.4635, allocations: 0.7894 MB / 0.6083 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4638, allocations: 20.23 kB / 0.6084 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4638, allocations: 4 kB / 0.6084 GB, free: 248 kB / 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.0001591/0.4639, allocations: 192.3 kB / 0.6085 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.464, allocations: 43.77 kB / 0.6086 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.4651, allocations: 0.5683 MB / 0.6091 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4651, allocations: 4 kB / 0.6091 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4651, allocations: 0 / 0.6091 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4651, allocations: 0 / 0.6091 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.4669, allocations: 1.031 MB / 0.6101 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4669, allocations: 0 / 0.6101 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.4673, allocations: 67.89 kB / 0.6102 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.4676, allocations: 56.8 kB / 0.6103 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4676, allocations: 8 kB / 0.6103 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.4689, allocations: 1.334 MB / 0.6116 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4689, allocations: 0 / 0.6116 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4702, allocations: 0.6948 MB / 0.6123 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4704, allocations: 55.72 kB / 0.6123 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.4704, allocations: 12 kB / 0.6123 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.4707, allocations: 15.98 kB / 0.6123 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.4708, allocations: 27.89 kB / 0.6124 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.4708, allocations: 11.98 kB / 0.6124 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.471, allocations: 223.1 kB / 0.6126 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.471, allocations: 0 / 0.6126 GB, free: 11.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002385/0.4734, allocations: 0.8852 MB / 0.6135 GB, free: 10.81 MB / 462.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.003993/0.4774, allocations: 0.9504 MB / 0.6144 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.4793, allocations: 0.5659 MB / 0.6149 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4793, allocations: 0 / 0.6149 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.4799, allocations: 306.6 kB / 0.6152 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.4809, allocations: 157 kB / 0.6154 GB, free: 8.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.4827, allocations: 1.02 MB / 0.6164 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.4832, allocations: 0.8118 MB / 0.6172 GB, free: 6.934 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4833, allocations: 27.44 kB / 0.6172 GB, free: 6.906 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4833, allocations: 0 / 0.6172 GB, free: 6.906 MB / 462.1 MB Notification: Performance of Templates: time 0.03184/0.5151, allocations: 19.88 MB / 0.6366 GB, free: 3.023 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.60940675996244] Failed to read output from testmodel.py, exit status != 0: 0.5248934719711542 0.5404994350000001 0.15768116000000001 Calling exit ...