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.001557/0.001557, allocations: 112 kB / 17.06 MB, free: 6 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.001599/0.001599, allocations: 192 kB / 18 MB, free: 5.082 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.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.334/0.334, allocations: 48.83 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.002554/0.002554, allocations: 67.91 kB / 450.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1582, allocations: 59.16 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.3451/0.5034, allocations: 32.45 MB / 0.5294 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.514, allocations: 8.113 MB / 0.5374 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.5145, allocations: 7.312 kB / 0.5374 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.5151, allocations: 135.5 kB / 0.5375 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.5157, allocations: 209.9 kB / 0.5377 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.5337, allocations: 4.427 MB / 0.542 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.535, allocations: 0.5833 MB / 0.5426 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.5354, allocations: 217.2 kB / 0.5428 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.5357, allocations: 216.4 kB / 0.543 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.5361, allocations: 231.9 kB / 0.5432 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.5361, allocations: 26.75 kB / 0.5433 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/0.5529, allocations: 6 MB / 0.5491 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.5532, allocations: 77.31 kB / 0.5492 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.5536, allocations: 192.5 kB / 0.5494 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.5699, allocations: 3.502 MB / 0.5528 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.5699, allocations: 0 / 0.5528 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.57, allocations: 1.219 kB / 0.5528 GB, free: 5.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.57, 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.005433/0.5754, allocations: 1.045 MB / 0.5538 GB, free: 4.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5755, allocations: 13.55 kB / 0.5538 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.5758, allocations: 54.77 kB / 0.5539 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.5763, allocations: 309.7 kB / 0.5542 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.5763, allocations: 23.56 kB / 0.5542 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.5764, allocations: 27.56 kB / 0.5542 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.5771, allocations: 321.8 kB / 0.5545 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5771, allocations: 4 kB / 0.5545 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.5772, allocations: 9.062 kB / 0.5545 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.5772, allocations: 10.23 kB / 0.5545 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.5778, allocations: 240.6 kB / 0.5548 GB, free: 3.746 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.00168/0.5795, allocations: 1.317 MB / 0.5561 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.5801, allocations: 224.5 kB / 0.5563 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.5803, allocations: 122.8 kB / 0.5564 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0701/0.6504, allocations: 32.11 MB / 0.5878 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.6505, allocations: 38.56 kB / 0.5878 GB, free: 7.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 3.607e-06/0.6505, allocations: 0 / 0.5878 GB, free: 7.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003375/0.6539, allocations: 1.042 MB / 0.5888 GB, free: 6.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.654, allocations: 55.41 kB / 0.5889 GB, free: 6.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.6544, allocations: 309.7 kB / 0.5892 GB, free: 5.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.6544, allocations: 29.7 kB / 0.5892 GB, free: 5.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6546, allocations: 188.6 kB / 0.5894 GB, free: 5.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.6547, allocations: 101.2 kB / 0.5895 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.6548, allocations: 49.7 kB / 0.5895 GB, free: 5.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6549, allocations: 342.8 kB / 0.5898 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.6551, allocations: 112.8 kB / 0.5899 GB, free: 4.898 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.6554, allocations: 133.6 kB / 0.5901 GB, free: 4.762 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.6559, allocations: 250.1 kB / 0.5903 GB, free: 4.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6559, allocations: 0 / 0.5903 GB, free: 4.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001231/0.6571, allocations: 485.5 kB / 0.5908 GB, free: 4.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6571, allocations: 8 kB / 0.5908 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6572, allocations: 0 / 0.5908 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.6584, allocations: 257.9 kB / 0.591 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6585, allocations: 35.91 kB / 0.5911 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.6596, allocations: 0.8066 MB / 0.5919 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.6599, allocations: 16.05 kB / 0.5919 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6599, allocations: 12 kB / 0.5919 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003314/0.6603, allocations: 208.1 kB / 0.5921 GB, free: 2.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002441/0.6605, allocations: 129.6 kB / 0.5922 GB, free: 2.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004606/0.661, allocations: 242.4 kB / 0.5924 GB, free: 2.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.661, allocations: 0 / 0.5924 GB, free: 2.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001193/0.6622, allocations: 473.6 kB / 0.5929 GB, free: 1.816 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.6622, allocations: 4 kB / 0.5929 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6622, allocations: 4.875 kB / 0.5929 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.6634, allocations: 244.6 kB / 0.5931 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.6635, allocations: 39.91 kB / 0.5932 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008916/0.6644, allocations: 0.7795 MB / 0.5939 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.6647, allocations: 23.92 kB / 0.5939 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.6647, allocations: 12 kB / 0.594 GB, free: 0.6875 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.0001571/0.6649, allocations: 194.1 kB / 0.5941 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.6649, allocations: 35.53 kB / 0.5942 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.6661, allocations: 0.5553 MB / 0.5947 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.6661, allocations: 12 kB / 0.5947 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.6661, allocations: 0 / 0.5947 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.6661, allocations: 6.844 kB / 0.5947 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.6678, allocations: 1.041 MB / 0.5958 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6678, allocations: 4 kB / 0.5958 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.6681, allocations: 67.95 kB / 0.5958 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.6684, allocations: 52.8 kB / 0.5959 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.6684, allocations: 4 kB / 0.5959 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.6697, allocations: 1.44 MB / 0.5973 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6697, allocations: 0 / 0.5973 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.6709, allocations: 0.6866 MB / 0.598 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.6711, allocations: 140.5 kB / 0.5981 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.6711, allocations: 8 kB / 0.5981 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.6714, allocations: 11.98 kB / 0.5981 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.6715, allocations: 27.95 kB / 0.5981 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.6715, allocations: 11.98 kB / 0.5981 GB, free: 12.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.6717, allocations: 219.2 kB / 0.5984 GB, free: 11.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6717, allocations: 0 / 0.5984 GB, free: 11.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004116/0.6759, allocations: 0.8707 MB / 0.5992 GB, free: 11.08 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.006351/0.6822, allocations: 0.9446 MB / 0.6001 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.6841, allocations: 0.5897 MB / 0.6007 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6842, allocations: 4 kB / 0.6007 GB, free: 9.617 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.6848, allocations: 320.6 kB / 0.601 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.6858, allocations: 155.1 kB / 0.6012 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6876, allocations: 0.9846 MB / 0.6021 GB, free: 8.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.6881, allocations: 0.8002 MB / 0.6029 GB, free: 7.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.6882, allocations: 34.95 kB / 0.6029 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.6883, allocations: 27.44 kB / 0.603 GB, free: 7.262 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6883, allocations: 4 kB / 0.603 GB, free: 7.258 MB / 462.1 MB Notification: Performance of Templates: time 0.04802/0.7364, allocations: 34.32 MB / 0.6365 GB, free: 4.906 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)