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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009578/0.0009579, allocations: 175.8 kB / 17.4 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008233, allocations: 85.48 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4739/0.4739, allocations: 48.77 MB / 368.9 MB, free: 47.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003592, allocations: 15.98 kB / 439.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 60.26 MB / 0.4884 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.289/7.425, allocations: 2.881 GB / 3.369 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/7.425, allocations: 83.14 kB / 3.369 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8624/8.288, allocations: 211 MB / 3.575 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.795e-06/8.288, allocations: 1.188 kB / 3.575 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.125e-05/8.288, allocations: 6.75 kB / 3.575 GB, free: 79.93 MB / 0.5105 GB 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.006046/8.294, allocations: 1.053 MB / 3.576 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/8.294, allocations: 9.594 kB / 3.576 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/8.294, allocations: 51.88 kB / 3.576 GB, free: 79.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/8.295, allocations: 326.9 kB / 3.577 GB, free: 79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/8.295, allocations: 19.28 kB / 3.577 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/8.295, allocations: 29.59 kB / 3.577 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/8.296, allocations: 365 kB / 3.577 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/8.296, allocations: 8.75 kB / 3.577 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/8.296, allocations: 15.06 kB / 3.577 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/8.296, allocations: 5.75 kB / 3.577 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/8.297, allocations: 264.7 kB / 3.577 GB, free: 78.7 MB / 0.5105 GB 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.001855/8.299, allocations: 1.307 MB / 3.579 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/8.299, allocations: 245 kB / 3.579 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/8.3, allocations: 131.2 kB / 3.579 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.054/8.354, allocations: 31.85 MB / 3.61 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/8.354, allocations: 38.12 kB / 3.61 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 2.415e-06/8.354, allocations: 4 kB / 3.61 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003081/8.357, allocations: 1.091 MB / 3.611 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/8.357, allocations: 59 kB / 3.611 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/8.357, allocations: 306.1 kB / 3.612 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/8.357, allocations: 29.7 kB / 3.612 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/8.357, allocations: 178.8 kB / 3.612 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/8.357, allocations: 104.7 kB / 3.612 GB, free: 56.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/8.358, allocations: 4 kB / 3.612 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/8.358, allocations: 345.3 kB / 3.612 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/8.358, allocations: 119.3 kB / 3.612 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/8.358, allocations: 141.6 kB / 3.613 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/8.359, allocations: 269 kB / 3.613 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/8.359, allocations: 0 / 3.613 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008044/8.359, allocations: 433.7 kB / 3.613 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/8.36, allocations: 100.7 kB / 3.613 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/8.36, allocations: 0 / 3.613 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/8.361, allocations: 269.1 kB / 3.614 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/8.361, allocations: 38.03 kB / 3.614 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/8.362, allocations: 0.8109 MB / 3.614 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/8.362, allocations: 36.06 kB / 3.614 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/8.362, allocations: 10.97 kB / 3.614 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/8.362, allocations: 6.625 kB / 3.614 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006668/8.363, allocations: 357.7 kB / 3.615 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/8.363, allocations: 0 / 3.615 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009323/8.364, allocations: 245.4 kB / 3.615 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/8.364, allocations: 40.64 kB / 3.615 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/8.365, allocations: 0.7827 MB / 3.616 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/8.365, allocations: 35.08 kB / 3.616 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/8.365, allocations: 11.97 kB / 3.616 GB, free: 53.91 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002101/8.365, allocations: 216.5 kB / 3.616 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/8.365, allocations: 31.38 kB / 3.616 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/8.366, allocations: 0.5741 MB / 3.617 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/8.366, allocations: 7.453 kB / 3.617 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/8.366, allocations: 7.812 kB / 3.617 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/8.366, allocations: 0 / 3.617 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/8.368, allocations: 1.055 MB / 3.618 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/8.368, allocations: 0 / 3.618 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/8.368, allocations: 78.67 kB / 3.618 GB, free: 52.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002463/8.369, allocations: 57.39 kB / 3.618 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/8.369, allocations: 7.781 kB / 3.618 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/8.37, allocations: 1.331 MB / 3.619 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/8.37, allocations: 3.938 kB / 3.619 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/8.371, allocations: 0.7249 MB / 3.62 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/8.371, allocations: 131.4 kB / 3.62 GB, free: 50.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/8.371, allocations: 15.55 kB / 3.62 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/8.371, allocations: 31 kB / 3.62 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/8.371, allocations: 26.88 kB / 3.62 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/8.371, allocations: 3.969 kB / 3.62 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002199/8.372, allocations: 222.3 kB / 3.62 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/8.372, allocations: 0 / 3.62 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005502/8.377, allocations: 0.8863 MB / 3.621 GB, free: 50.66 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007354/8.385, allocations: 1.184 MB / 3.622 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001709/8.386, allocations: 0.6191 MB / 3.623 GB, free: 50.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/8.386, allocations: 0 / 3.623 GB, free: 50.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/8.387, allocations: 324.4 kB / 3.623 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009697/8.388, allocations: 145.8 kB / 3.623 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/8.39, allocations: 1.208 MB / 3.624 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/8.39, allocations: 0.8002 MB / 3.625 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002722/8.391, allocations: 35.58 kB / 3.625 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/8.391, allocations: 26.62 kB / 3.625 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/8.391, allocations: 7.938 kB / 3.625 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.04175/8.432, allocations: 29.3 MB / 3.654 GB, free: 42.82 MB / 0.5105 GB 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)