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.001132/0.001132, allocations: 106.6 kB / 17.06 MB, free: 5.969 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.001145/0.001145, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2874/0.2874, allocations: 48.84 MB / 320.1 MB, free: 11 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.001369/0.001369, allocations: 63.91 kB / 450.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1238, allocations: 59.17 MB / 0.4978 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.3651/0.4889, allocations: 32.44 MB / 0.5294 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.5, allocations: 8.113 MB / 0.5374 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.5005, allocations: 11.41 kB / 0.5374 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.5013, allocations: 137.4 kB / 0.5375 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.502, allocations: 206 kB / 0.5377 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01553/0.5175, allocations: 4.412 MB / 0.542 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.5186, allocations: 0.5861 MB / 0.5426 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.519, allocations: 223.8 kB / 0.5428 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.5193, allocations: 216.2 kB / 0.543 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.5196, allocations: 224.9 kB / 0.5432 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.5197, allocations: 31.34 kB / 0.5432 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.5338, allocations: 6.001 MB / 0.5491 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5339, allocations: 73.7 kB / 0.5492 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.5343, allocations: 190.5 kB / 0.5494 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.5461, allocations: 3.507 MB / 0.5528 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5461, allocations: 0 / 0.5528 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5461, allocations: 0 / 0.5528 GB, free: 5.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.5462, allocations: 0 / 0.5528 GB, free: 5.211 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.004244/0.5504, allocations: 1.076 MB / 0.5538 GB, free: 4.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.5505, allocations: 16.09 kB / 0.5538 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.5507, allocations: 54.97 kB / 0.5539 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.5511, allocations: 312.3 kB / 0.5542 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.5512, allocations: 20.41 kB / 0.5542 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.5512, allocations: 25.72 kB / 0.5542 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.5519, allocations: 329.5 kB / 0.5546 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5519, allocations: 0 / 0.5546 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.5519, allocations: 11.38 kB / 0.5546 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.5519, allocations: 6.031 kB / 0.5546 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.5525, allocations: 246.6 kB / 0.5548 GB, free: 3.711 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.001248/0.5537, allocations: 1.317 MB / 0.5561 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.5543, allocations: 228.9 kB / 0.5563 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.5545, allocations: 119.2 kB / 0.5564 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06525/0.6198, allocations: 32.11 MB / 0.5878 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.6199, allocations: 38.56 kB / 0.5878 GB, free: 7.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 4.228e-06/0.6199, allocations: 0 / 0.5878 GB, free: 7.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.00341/0.6233, allocations: 1.059 MB / 0.5888 GB, free: 6.062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6234, allocations: 55.41 kB / 0.5889 GB, free: 5.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.6237, allocations: 313.7 kB / 0.5892 GB, free: 5.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.6238, allocations: 29.7 kB / 0.5892 GB, free: 5.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.6239, allocations: 188.8 kB / 0.5894 GB, free: 5.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.624, allocations: 97.89 kB / 0.5895 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.6241, allocations: 57.66 kB / 0.5896 GB, free: 5.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6242, allocations: 342.8 kB / 0.5899 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6245, allocations: 112.8 kB / 0.59 GB, free: 4.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.6248, allocations: 129.6 kB / 0.5901 GB, free: 4.719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.6253, allocations: 251 kB / 0.5904 GB, free: 4.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6253, allocations: 0 / 0.5904 GB, free: 4.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001227/0.6265, allocations: 489.7 kB / 0.5908 GB, free: 3.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6265, allocations: 4 kB / 0.5908 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.6265, allocations: 0 / 0.5908 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.6277, allocations: 256.5 kB / 0.5911 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6279, allocations: 35.91 kB / 0.5911 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.629, allocations: 0.8132 MB / 0.5919 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.6292, allocations: 16.05 kB / 0.5919 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.6292, allocations: 4 kB / 0.5919 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003313/0.6296, allocations: 212.1 kB / 0.5921 GB, free: 2.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002805/0.6299, allocations: 133.6 kB / 0.5922 GB, free: 2.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004936/0.6304, allocations: 242.4 kB / 0.5925 GB, free: 2.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.6304, allocations: 0 / 0.5925 GB, free: 2.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001193/0.6316, allocations: 473.8 kB / 0.5929 GB, free: 1.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.6316, allocations: 8 kB / 0.5929 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.6316, allocations: 0 / 0.5929 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.6326, allocations: 244.6 kB / 0.5932 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.6328, allocations: 35.91 kB / 0.5932 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008994/0.6337, allocations: 0.7826 MB / 0.594 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.6339, allocations: 19.98 kB / 0.594 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.6339, allocations: 12 kB / 0.594 GB, free: 0.6445 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.0001466/0.6341, allocations: 197.7 kB / 0.5942 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.6341, allocations: 35.77 kB / 0.5942 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.6352, allocations: 0.5603 MB / 0.5948 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6352, allocations: 4 kB / 0.5948 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.6352, allocations: 7.984 kB / 0.5948 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.6352, allocations: 0 / 0.5948 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.6368, allocations: 1.04 MB / 0.5958 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6368, allocations: 4 kB / 0.5958 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.6372, allocations: 67.95 kB / 0.5959 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.6374, allocations: 52.8 kB / 0.5959 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.6375, allocations: 8 kB / 0.5959 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.6387, allocations: 1.437 MB / 0.5973 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6387, allocations: 0 / 0.5973 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.64, allocations: 0.6908 MB / 0.598 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.6401, allocations: 136.7 kB / 0.5981 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.6402, allocations: 8 kB / 0.5981 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.6404, allocations: 15.98 kB / 0.5982 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.6405, allocations: 25.55 kB / 0.5982 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.6405, allocations: 12.86 kB / 0.5982 GB, free: 12.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.6407, allocations: 219.2 kB / 0.5984 GB, free: 11.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6407, allocations: 0 / 0.5984 GB, free: 11.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004067/0.6448, allocations: 0.8813 MB / 0.5993 GB, free: 11.02 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.004271/0.6491, allocations: 0.9527 MB / 0.6002 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.6511, allocations: 0.5938 MB / 0.6008 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6511, allocations: 64 / 0.6008 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.6517, allocations: 318.5 kB / 0.6011 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.6528, allocations: 148 kB / 0.6012 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.6545, allocations: 1.007 MB / 0.6022 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.6549, allocations: 0.8002 MB / 0.603 GB, free: 7.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.6551, allocations: 34.97 kB / 0.603 GB, free: 7.199 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.6551, allocations: 31.44 kB / 0.603 GB, free: 7.168 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6552, allocations: 0 / 0.603 GB, free: 7.168 MB / 462.1 MB Notification: Performance of Templates: time 0.04562/0.7008, allocations: 34.33 MB / 0.6366 GB, free: 4.809 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)