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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001874/0.001874, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009973/0.0009973, allocations: 95.11 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5381/0.5381, allocations: 48.77 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 15.98 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.056/8.214, allocations: 2.881 GB / 3.368 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/8.214, allocations: 78.53 kB / 3.368 GB, free: 77.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.937/9.151, allocations: 211 MB / 3.574 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.547e-06/9.151, allocations: 0 / 3.574 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.357e-05/9.152, allocations: 11.59 kB / 3.574 GB, free: 78.36 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.006074/9.158, allocations: 1.045 MB / 3.575 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/9.158, allocations: 8.031 kB / 3.575 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/9.158, allocations: 62.53 kB / 3.575 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/9.158, allocations: 55.52 kB / 3.575 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/9.159, allocations: 319.7 kB / 3.575 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/9.159, allocations: 24.5 kB / 3.575 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/9.159, allocations: 32.67 kB / 3.575 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008345/9.16, allocations: 366.4 kB / 3.576 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/9.16, allocations: 0 / 3.576 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/9.16, allocations: 8 kB / 3.576 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/9.16, allocations: 11.98 kB / 3.576 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/9.161, allocations: 258 kB / 3.576 GB, free: 76.07 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.002195/9.163, allocations: 1.317 MB / 3.577 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/9.164, allocations: 243.8 kB / 3.578 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06118/9.225, allocations: 31.85 MB / 3.609 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/9.225, allocations: 30.56 kB / 3.609 GB, free: 38.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 4.248e-06/9.225, allocations: 4 kB / 3.609 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003442/9.228, allocations: 1.093 MB / 3.61 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/9.228, allocations: 59.86 kB / 3.61 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/9.229, allocations: 268.8 kB / 3.61 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/9.229, allocations: 33.7 kB / 3.61 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/9.229, allocations: 180.7 kB / 3.61 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/9.229, allocations: 94.59 kB / 3.61 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/9.229, allocations: 4 kB / 3.61 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001247/9.229, allocations: 358.8 kB / 3.611 GB, free: 36.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/9.229, allocations: 111.9 kB / 3.611 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/9.23, allocations: 141.6 kB / 3.611 GB, free: 36.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/9.23, allocations: 120 kB / 3.611 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/9.23, allocations: 4 kB / 3.611 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008642/9.231, allocations: 438.4 kB / 3.612 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/9.231, allocations: 178 kB / 3.612 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.231, allocations: 0 / 3.612 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/9.232, allocations: 271.5 kB / 3.612 GB, free: 35.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/9.232, allocations: 35.98 kB / 3.612 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/9.233, allocations: 0.8001 MB / 3.613 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/9.234, allocations: 32.03 kB / 3.613 GB, free: 34.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/9.234, allocations: 12 kB / 3.613 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/9.234, allocations: 4 kB / 3.613 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007029/9.235, allocations: 356.6 kB / 3.613 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/9.235, allocations: 0 / 3.613 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/9.236, allocations: 246.4 kB / 3.613 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/9.236, allocations: 43.94 kB / 3.613 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008467/9.237, allocations: 0.7829 MB / 3.614 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/9.237, allocations: 31.98 kB / 3.614 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/9.237, allocations: 15.94 kB / 3.614 GB, free: 32.87 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.0003269/9.238, allocations: 209.1 kB / 3.614 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/9.238, allocations: 43.42 kB / 3.614 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/9.239, allocations: 0.5799 MB / 3.615 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/9.239, allocations: 3.984 kB / 3.615 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/9.239, allocations: 4 kB / 3.615 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/9.239, allocations: 0 / 3.615 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/9.24, allocations: 1.067 MB / 3.616 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/9.241, allocations: 0 / 3.616 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/9.241, allocations: 71.95 kB / 3.616 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/9.241, allocations: 56.75 kB / 3.616 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/9.241, allocations: 7.984 kB / 3.616 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/9.242, allocations: 1.347 MB / 3.618 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/9.242, allocations: 0 / 3.618 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/9.244, allocations: 0.7327 MB / 3.618 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/9.244, allocations: 124.6 kB / 3.618 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/9.244, allocations: 7.953 kB / 3.618 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/9.244, allocations: 27.97 kB / 3.618 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/9.244, allocations: 27.97 kB / 3.618 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/9.244, allocations: 8 kB / 3.618 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002257/9.245, allocations: 215.2 kB / 3.619 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.033e-06/9.245, allocations: 0 / 3.619 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006579/9.251, allocations: 0.8977 MB / 3.62 GB, free: 27.21 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.01318/9.265, allocations: 2.348 MB / 3.622 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002425/9.267, allocations: 0.6217 MB / 3.622 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/9.267, allocations: 4 kB / 3.622 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/9.268, allocations: 326.5 kB / 3.623 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/9.269, allocations: 143.6 kB / 3.623 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/9.278, allocations: 3.037 MB / 3.626 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/9.278, allocations: 0.8161 MB / 3.627 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002824/9.279, allocations: 30.97 kB / 3.627 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/9.279, allocations: 131.4 kB / 3.627 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/9.279, allocations: 4 kB / 3.627 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/9.732, allocations: 32.66 MB / 3.659 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/9.732, allocations: 216.3 kB / 3.659 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.474/13.21, allocations: 3.969 kB / 3.659 GB, free: 75.05 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)