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.001508/0.001508, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.537/1.537, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008515/0.0008513, allocations: 74.67 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2695/0.2695, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.565e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.029/9.169, allocations: 2.881 GB / 3.362 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/9.169, allocations: 73.84 kB / 3.362 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9052/10.07, allocations: 210.2 MB / 3.567 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/10.07, allocations: 0 / 3.567 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.91e-05/10.07, allocations: 8 kB / 3.567 GB, free: 61.78 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.006238/10.08, allocations: 0.9933 MB / 3.568 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/10.08, allocations: 16.03 kB / 3.568 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/10.08, allocations: 55.44 kB / 3.568 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/10.08, allocations: 310.7 kB / 3.568 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/10.08, allocations: 20.56 kB / 3.568 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/10.08, allocations: 28.59 kB / 3.568 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/10.08, allocations: 338.5 kB / 3.569 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/10.08, allocations: 3.953 kB / 3.569 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/10.08, allocations: 12 kB / 3.569 GB, free: 59.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/10.08, allocations: 4 kB / 3.569 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/10.08, allocations: 206.1 kB / 3.569 GB, free: 59.7 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.001861/10.08, allocations: 1.31 MB / 3.57 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/10.09, allocations: 206.5 kB / 3.57 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/10.09, allocations: 96.72 kB / 3.571 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07924/10.16, allocations: 31.98 MB / 3.602 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/10.17, allocations: 42.5 kB / 3.602 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 5.861e-06/10.17, allocations: 0 / 3.602 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003695/10.17, allocations: 0.8423 MB / 3.603 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/10.17, allocations: 59.88 kB / 3.603 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/10.17, allocations: 259.7 kB / 3.603 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/10.17, allocations: 29.7 kB / 3.603 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/10.17, allocations: 184.5 kB / 3.603 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/10.17, allocations: 90.56 kB / 3.603 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/10.17, allocations: 8 kB / 3.603 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001419/10.17, allocations: 350.8 kB / 3.604 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/10.17, allocations: 80 kB / 3.604 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/10.17, allocations: 109.6 kB / 3.604 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/10.17, allocations: 92.48 kB / 3.604 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/10.17, allocations: 3.938 kB / 3.604 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001465/10.17, allocations: 457.7 kB / 3.604 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/10.17, allocations: 185.9 kB / 3.604 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/10.17, allocations: 0 / 3.604 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/10.17, allocations: 259.8 kB / 3.605 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/10.17, allocations: 35.98 kB / 3.605 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/10.18, allocations: 0.7981 MB / 3.606 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/10.18, allocations: 35.94 kB / 3.606 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/10.18, allocations: 15.94 kB / 3.606 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/10.18, allocations: 4 kB / 3.606 GB, free: 18.1 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/10.18, allocations: 376.4 kB / 3.606 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/10.18, allocations: 0 / 3.606 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/10.18, allocations: 248.6 kB / 3.606 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/10.18, allocations: 39.91 kB / 3.606 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/10.18, allocations: 0.7752 MB / 3.607 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/10.18, allocations: 27.95 kB / 3.607 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/10.18, allocations: 8 kB / 3.607 GB, free: 16.61 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 () * 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.0001991/10.18, allocations: 125.4 kB / 3.607 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/10.18, allocations: 35.61 kB / 3.607 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/10.18, allocations: 0.5174 MB / 3.608 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/10.18, allocations: 11.98 kB / 3.608 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/10.18, allocations: 4 kB / 3.608 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/10.18, allocations: 0 / 3.608 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/10.18, allocations: 0.9965 MB / 3.609 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/10.18, allocations: 3.938 kB / 3.609 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/10.19, allocations: 75.95 kB / 3.609 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/10.19, allocations: 52.8 kB / 3.609 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/10.19, allocations: 11.95 kB / 3.609 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/10.19, allocations: 1.327 MB / 3.61 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/10.19, allocations: 3.984 kB / 3.61 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/10.19, allocations: 0.6196 MB / 3.611 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/10.19, allocations: 136.5 kB / 3.611 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/10.19, allocations: 11.98 kB / 3.611 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/10.19, allocations: 27.98 kB / 3.611 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/10.19, allocations: 19.97 kB / 3.611 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/10.19, allocations: 11.98 kB / 3.611 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003318/10.19, allocations: 210.2 kB / 3.611 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/10.19, allocations: 0 / 3.611 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00746/10.2, allocations: 0.8938 MB / 3.612 GB, free: 11.27 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.rhog,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete 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.01183/10.21, allocations: 1.185 MB / 3.613 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002347/10.21, allocations: 0.5183 MB / 3.614 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/10.21, allocations: 0 / 3.614 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006949/10.21, allocations: 286.6 kB / 3.614 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/10.21, allocations: 151.6 kB / 3.614 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/10.22, allocations: 0.7365 MB / 3.615 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/10.22, allocations: 0.8083 MB / 3.616 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000448/10.22, allocations: 50.94 kB / 3.616 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/10.22, allocations: 23.44 kB / 3.616 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of SimCode: time 2.926e-06/10.22, allocations: 0 / 3.616 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of Templates: time 0.6037/10.82, allocations: 29.87 MB / 3.645 GB, free: 94.63 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)