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.001609/0.001609, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002224/0.002224, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.59/1.59, allocations: 207.6 MB / 235.3 MB, free: 9.984 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.3233/0.3233, allocations: 49.57 MB / 337.1 MB, free: 4.121 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.002506/0.002506, allocations: 75.89 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1218, allocations: 62.42 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2403/0.3622, allocations: 32.93 MB / 0.5595 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009117/0.3713, allocations: 8.171 MB / 0.5675 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.3716, allocations: 11.19 kB / 0.5675 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.3721, allocations: 142.8 kB / 0.5676 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.3726, allocations: 202.4 kB / 0.5678 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.3852, allocations: 4.44 MB / 0.5722 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009093/0.3861, allocations: 0.5853 MB / 0.5727 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.3864, allocations: 186.4 kB / 0.5729 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.3867, allocations: 218.9 kB / 0.5731 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.3871, allocations: 233.4 kB / 0.5733 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.3871, allocations: 26.91 kB / 0.5734 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.3995, allocations: 6.025 MB / 0.5793 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3996, allocations: 73.41 kB / 0.5793 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.3999, allocations: 191.4 kB / 0.5795 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.407, allocations: 3.51 MB / 0.5829 GB, free: 7.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.407, allocations: 0 / 0.5829 GB, free: 7.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.407, allocations: 3.938 kB / 0.5829 GB, free: 7.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.407, allocations: 0 / 0.5829 GB, free: 7.246 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.003014/0.41, allocations: 0.9996 MB / 0.5839 GB, free: 6.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.41, allocations: 8.594 kB / 0.5839 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.4102, allocations: 58.83 kB / 0.584 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.4107, allocations: 242.1 kB / 0.5842 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4107, allocations: 18.91 kB / 0.5842 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.4108, allocations: 29.89 kB / 0.5843 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.4114, allocations: 323.8 kB / 0.5846 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4114, allocations: 0 / 0.5846 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.4115, allocations: 14.69 kB / 0.5846 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.4115, allocations: 6.688 kB / 0.5846 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.4121, allocations: 238.3 kB / 0.5848 GB, free: 5.926 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.001678/0.4137, allocations: 1.298 MB / 0.5861 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.4143, allocations: 222.5 kB / 0.5863 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4145, allocations: 113.1 kB / 0.5864 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05462/0.4692, allocations: 16.74 MB / 0.6028 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.4692, allocations: 34.56 kB / 0.6028 GB, free: 8.305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.4692, allocations: 4 kB / 0.6028 GB, free: 8.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002993/0.4722, allocations: 0.9708 MB / 0.6037 GB, free: 7.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4722, allocations: 55.41 kB / 0.6038 GB, free: 7.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.4726, allocations: 313.7 kB / 0.6041 GB, free: 6.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.4727, allocations: 33.7 kB / 0.6041 GB, free: 6.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4728, allocations: 180.8 kB / 0.6043 GB, free: 6.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.4729, allocations: 103.1 kB / 0.6044 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.473, allocations: 49.7 kB / 0.6044 GB, free: 6.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4732, allocations: 346.8 kB / 0.6048 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.4735, allocations: 116.8 kB / 0.6049 GB, free: 6.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.4737, allocations: 133.6 kB / 0.605 GB, free: 5.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.4742, allocations: 241.6 kB / 0.6052 GB, free: 5.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4742, allocations: 0 / 0.6052 GB, free: 5.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001314/0.4756, allocations: 494.3 kB / 0.6057 GB, free: 5.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4756, allocations: 4 kB / 0.6057 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.4756, allocations: 0 / 0.6057 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.4768, allocations: 252.6 kB / 0.606 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.4769, allocations: 35.92 kB / 0.606 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.4781, allocations: 0.8097 MB / 0.6068 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4783, allocations: 16.05 kB / 0.6068 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4783, allocations: 8 kB / 0.6068 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003338/0.4787, allocations: 208.1 kB / 0.607 GB, free: 3.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002563/0.4789, allocations: 129.6 kB / 0.6071 GB, free: 3.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004797/0.4794, allocations: 242.4 kB / 0.6074 GB, free: 3.465 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.4794, allocations: 0 / 0.6074 GB, free: 3.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001219/0.4806, allocations: 473.7 kB / 0.6078 GB, free: 2.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4806, allocations: 8 kB / 0.6078 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4806, allocations: 4.688 kB / 0.6078 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4817, allocations: 245.5 kB / 0.6081 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4818, allocations: 39.22 kB / 0.6081 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009633/0.4828, allocations: 0.7801 MB / 0.6089 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.483, allocations: 19.98 kB / 0.6089 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.483, allocations: 8 kB / 0.6089 GB, free: 1.871 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.0001495/0.4832, allocations: 196.2 kB / 0.6091 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.4832, allocations: 35.77 kB / 0.6091 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.4843, allocations: 0.5605 MB / 0.6097 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.4843, allocations: 11.97 kB / 0.6097 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4843, allocations: 4 kB / 0.6097 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4843, allocations: 0 / 0.6097 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4861, allocations: 1.031 MB / 0.6107 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4861, allocations: 0 / 0.6107 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.4864, allocations: 71.89 kB / 0.6107 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.4867, allocations: 56.77 kB / 0.6108 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.4867, allocations: 11.98 kB / 0.6108 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.488, allocations: 1.33 MB / 0.6121 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.488, allocations: 0.875 kB / 0.6121 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4892, allocations: 0.7025 MB / 0.6128 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.4894, allocations: 59.67 kB / 0.6128 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.4894, allocations: 4 kB / 0.6129 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4896, allocations: 15.98 kB / 0.6129 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.4897, allocations: 23.95 kB / 0.6129 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4897, allocations: 8 kB / 0.6129 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.49, allocations: 223.2 kB / 0.6131 GB, free: 13.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.49, allocations: 0 / 0.6131 GB, free: 13.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003213/0.4932, allocations: 0.8813 MB / 0.614 GB, free: 12.46 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.003528/0.4967, allocations: 0.95 MB / 0.6149 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.4984, allocations: 0.5464 MB / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4984, allocations: 4.062 kB / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.499, allocations: 310.4 kB / 0.6157 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.4998, allocations: 149 kB / 0.6159 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.5015, allocations: 1.04 MB / 0.6169 GB, free: 9.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.502, allocations: 0.804 MB / 0.6177 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.5021, allocations: 31.31 kB / 0.6177 GB, free: 8.551 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5021, allocations: 0 / 0.6177 GB, free: 8.551 MB / 462.1 MB Notification: Performance of Templates: time 0.03041/0.5325, allocations: 19.74 MB / 0.637 GB, free: 4.77 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: 10.370925245108083] Failed to read output from testmodel.py, exit status != 0: 0.5417583289090544 0.555768143 0.14563320599999996 Calling exit ...