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.001435/0.001435, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001487/0.001487, allocations: 200 kB / 18.01 MB, free: 5.055 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.397/1.397, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2752/0.2752, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001412/0.001412, allocations: 67.91 kB / 450.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 59.16 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2592/0.3718, allocations: 32.45 MB / 0.5294 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009081/0.3809, allocations: 8.111 MB / 0.5374 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.3813, allocations: 6.094 kB / 0.5374 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.382, allocations: 138.3 kB / 0.5375 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.3825, allocations: 207.2 kB / 0.5377 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.3963, allocations: 4.415 MB / 0.542 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.3975, allocations: 0.5841 MB / 0.5426 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.398, allocations: 224 kB / 0.5428 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.3983, allocations: 221.5 kB / 0.543 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3987, allocations: 223.4 kB / 0.5432 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.3987, allocations: 30.94 kB / 0.5432 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.4122, allocations: 6.001 MB / 0.5491 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4123, allocations: 69.77 kB / 0.5492 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.4126, allocations: 190.8 kB / 0.5494 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008623/0.4213, allocations: 3.503 MB / 0.5528 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4213, allocations: 3.938 kB / 0.5528 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4213, allocations: 0 / 0.5528 GB, free: 5.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.4213, allocations: 1.125 kB / 0.5528 GB, free: 5.219 MB / 414.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.003352/0.4247, allocations: 1.048 MB / 0.5538 GB, free: 4.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4247, allocations: 12.39 kB / 0.5538 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.4249, allocations: 50.89 kB / 0.5539 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.4253, allocations: 313.9 kB / 0.5542 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4253, allocations: 19.28 kB / 0.5542 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.4254, allocations: 25.53 kB / 0.5542 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.4259, allocations: 317.9 kB / 0.5545 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.426, allocations: 3.938 kB / 0.5545 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.426, allocations: 13.47 kB / 0.5545 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.426, allocations: 9.062 kB / 0.5545 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.4265, allocations: 237.6 kB / 0.5548 GB, free: 3.762 MB / 414.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.001304/0.4278, allocations: 1.324 MB / 0.5561 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.4284, allocations: 224.8 kB / 0.5563 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.4286, allocations: 120.6 kB / 0.5564 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06391/0.4925, allocations: 32.11 MB / 0.5877 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.4926, allocations: 38.55 kB / 0.5878 GB, free: 7.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.4926, allocations: 0 / 0.5878 GB, free: 7.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002678/0.4953, allocations: 1.044 MB / 0.5888 GB, free: 6.113 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4953, allocations: 55.41 kB / 0.5889 GB, free: 6.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.4956, allocations: 313.7 kB / 0.5891 GB, free: 5.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.4957, allocations: 33.69 kB / 0.5892 GB, free: 5.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4958, allocations: 184.7 kB / 0.5894 GB, free: 5.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.4959, allocations: 98.23 kB / 0.5895 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.496, allocations: 49.7 kB / 0.5895 GB, free: 5.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4961, allocations: 346.8 kB / 0.5898 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.4964, allocations: 112.8 kB / 0.5899 GB, free: 4.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.4966, allocations: 133.6 kB / 0.5901 GB, free: 4.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.4971, allocations: 242.2 kB / 0.5903 GB, free: 4.527 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4971, allocations: 0 / 0.5903 GB, free: 4.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001266/0.4984, allocations: 489.5 kB / 0.5908 GB, free: 4.039 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4984, allocations: 11.89 kB / 0.5908 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.4984, allocations: 0 / 0.5908 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4997, allocations: 256.6 kB / 0.591 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4998, allocations: 31.97 kB / 0.591 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.5009, allocations: 0.8059 MB / 0.5918 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.5011, allocations: 16.05 kB / 0.5919 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.5011, allocations: 8 kB / 0.5919 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003132/0.5014, allocations: 220 kB / 0.5921 GB, free: 2.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002566/0.5017, allocations: 133.6 kB / 0.5922 GB, free: 2.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000461/0.5022, allocations: 234.4 kB / 0.5924 GB, free: 2.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.5022, allocations: 0 / 0.5924 GB, free: 2.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001189/0.5034, allocations: 473.6 kB / 0.5929 GB, free: 1.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5034, allocations: 8 kB / 0.5929 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.5034, allocations: 0.625 kB / 0.5929 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.5045, allocations: 244.6 kB / 0.5931 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.5047, allocations: 35.97 kB / 0.5931 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000863/0.5055, allocations: 0.7825 MB / 0.5939 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5058, allocations: 20.86 kB / 0.5939 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5058, allocations: 8 kB / 0.5939 GB, free: 0.7031 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.0001338/0.5059, allocations: 196.2 kB / 0.5941 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.506, allocations: 39.52 kB / 0.5942 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.5071, allocations: 0.5506 MB / 0.5947 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5071, allocations: 11.98 kB / 0.5947 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5071, allocations: 4 kB / 0.5947 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5071, allocations: 0 / 0.5947 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.5088, allocations: 1.044 MB / 0.5957 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5088, allocations: 4 kB / 0.5957 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.5091, allocations: 67.95 kB / 0.5958 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.5094, allocations: 48.81 kB / 0.5959 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.5095, allocations: 11.98 kB / 0.5959 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.5107, allocations: 1.44 MB / 0.5973 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5107, allocations: 0 / 0.5973 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.5118, allocations: 0.6866 MB / 0.5979 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.512, allocations: 136.5 kB / 0.5981 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.5121, allocations: 8 kB / 0.5981 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.5123, allocations: 15.98 kB / 0.5981 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.5124, allocations: 27.94 kB / 0.5981 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5124, allocations: 8 kB / 0.5981 GB, free: 12.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.5126, allocations: 219.2 kB / 0.5983 GB, free: 11.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5126, allocations: 0 / 0.5983 GB, free: 11.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003616/0.5163, allocations: 0.8707 MB / 0.5992 GB, free: 11.09 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.004183/0.5205, allocations: 0.9465 MB / 0.6001 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.5223, allocations: 0.5885 MB / 0.6007 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5223, allocations: 4 kB / 0.6007 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.5229, allocations: 318.6 kB / 0.601 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.5238, allocations: 152.1 kB / 0.6011 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.5255, allocations: 0.9846 MB / 0.6021 GB, free: 8.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.5259, allocations: 0.8002 MB / 0.6029 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.5261, allocations: 34.95 kB / 0.6029 GB, free: 7.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.5262, allocations: 31.44 kB / 0.6029 GB, free: 7.273 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5262, allocations: 0 / 0.6029 GB, free: 7.273 MB / 462.1 MB Notification: Performance of Templates: time 0.04654/0.5727, allocations: 34.34 MB / 0.6365 GB, free: 4.91 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile (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)