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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 171.9 kB / 24.91 MB, free: 8.707 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9088/0.9088, allocations: 158.6 MB / 186.8 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.207/0.207, allocations: 36.34 MB / 275.5 MB, free: 14.44 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 305.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.297e-05, allocations: 5.406 kB / 305.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01745/0.01748, allocations: 21.4 MB / 326.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.02432, allocations: 7.879 MB / 334.5 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.02447, allocations: 11.88 kB / 334.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.0248, allocations: 115 kB / 334.6 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.02508, allocations: 226.2 kB / 334.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006836/0.03192, allocations: 4.452 MB / 339.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.03235, allocations: 0.6103 MB / 339.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.03258, allocations: 204.5 kB / 340.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.03282, allocations: 303.2 kB / 340.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.03301, allocations: 183.4 kB / 340.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.03304, allocations: 24 kB / 340.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005976/0.03902, allocations: 5.766 MB / 346.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.03907, allocations: 63.69 kB / 346.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.03916, allocations: 135.7 kB / 346.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.04309, allocations: 4.377 MB / 350.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.04309, allocations: 4 kB / 350.9 MB, free: 2.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.04309, allocations: 4 kB / 350.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.0431, allocations: 0 / 350.9 MB, free: 2.754 MB / 330.7 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.001325/0.04442, allocations: 0.9724 MB / 351.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.04446, allocations: 12.03 kB / 351.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.04459, allocations: 64.89 kB / 352 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.0448, allocations: 225.7 kB / 352.2 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.04482, allocations: 20.88 kB / 352.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.04485, allocations: 28.33 kB / 352.3 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.04515, allocations: 257.6 kB / 352.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.04516, allocations: 4.188 kB / 352.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.04518, allocations: 11.94 kB / 352.5 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.04519, allocations: 12 kB / 352.5 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.04534, allocations: 95.36 kB / 352.6 MB, free: 0.9922 MB / 330.7 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.0007493/0.04609, allocations: 0.7189 MB / 353.3 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.04631, allocations: 142.3 kB / 353.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.04637, allocations: 48.84 kB / 353.5 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2458/0.2922, allocations: 58.24 MB / 411.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.2922, allocations: 37.94 kB / 411.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.2922, allocations: 0 / 411.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001356/0.2935, allocations: 0.627 MB / 412.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2936, allocations: 55.41 kB / 412.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2937, allocations: 253.8 kB / 412.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2938, allocations: 33.45 kB / 412.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.2938, allocations: 161.2 kB / 412.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.2939, allocations: 101.2 kB / 413 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.294, allocations: 50.56 kB / 413.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.294, allocations: 351.9 kB / 413.4 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.2941, allocations: 36.84 kB / 413.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.2942, allocations: 56.58 kB / 413.5 MB, free: 9.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2943, allocations: 117.2 kB / 413.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2943, allocations: 4 kB / 413.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004351/0.2947, allocations: 283.2 kB / 413.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2947, allocations: 4 kB / 413.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2947, allocations: 0 / 413.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.2953, allocations: 203.3 kB / 414.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.2953, allocations: 27.98 kB / 414.1 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004872/0.2958, allocations: 0.6814 MB / 414.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.2959, allocations: 18.73 kB / 414.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2959, allocations: 4 kB / 414.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.53e-05/0.296, allocations: 119.4 kB / 415 MB, free: 8.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.574e-05/0.2961, allocations: 64.73 kB / 415 MB, free: 8.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001038/0.2962, allocations: 106 kB / 415.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.2962, allocations: 0 / 415.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003949/0.2966, allocations: 276.8 kB / 415.4 MB, free: 7.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.2966, allocations: 8 kB / 415.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.2966, allocations: 0 / 415.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.297, allocations: 188.3 kB / 415.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.2971, allocations: 39.36 kB / 415.6 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.2975, allocations: 0.6566 MB / 416.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.2975, allocations: 7.75 kB / 416.3 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2975, allocations: 7.688 kB / 416.3 MB, free: 6.887 MB / 346.7 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 8.154e-05/0.2976, allocations: 202.5 kB / 416.5 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.2977, allocations: 31.72 kB / 416.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.298, allocations: 346.9 kB / 416.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.298, allocations: 7.984 kB / 416.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.298, allocations: 0 / 416.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.298, allocations: 3.234 kB / 416.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.2986, allocations: 0.5995 MB / 417.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2986, allocations: 5.312 kB / 417.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.2988, allocations: 63.52 kB / 417.5 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.2989, allocations: 52.3 kB / 417.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2989, allocations: 3.25 kB / 417.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005888/0.2995, allocations: 1.184 MB / 418.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2995, allocations: 0 / 418.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.3002, allocations: 443.5 kB / 419.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.3002, allocations: 43.34 kB / 419.3 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3002, allocations: 7.25 kB / 419.3 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.3003, allocations: 11.69 kB / 419.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3004, allocations: 26.56 kB / 419.3 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3004, allocations: 8.266 kB / 419.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.3005, allocations: 91.14 kB / 419.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-08/0.3005, allocations: 0 / 419.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001961/0.3024, allocations: 0.8777 MB / 420.3 MB, free: 3.02 MB / 346.7 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.00234/0.3048, allocations: 1.123 MB / 421.4 MB, free: 2.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.3054, allocations: 382.4 kB / 421.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.3054, allocations: 4 kB / 421.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3056, allocations: 211.6 kB / 422 MB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.306, allocations: 119.6 kB / 422.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3072, allocations: 0.8049 MB / 422.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.3072, allocations: 101.1 kB / 423 MB, free: 492 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.833e-05/0.3073, allocations: 32.47 kB / 423 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.3075, allocations: 132.5 kB / 423.2 MB, free: 336 kB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3075, allocations: 0 / 423.2 MB, free: 336 kB / 346.7 MB Notification: Performance of Templates: time 0.03819/0.3457, allocations: 37.64 MB / 460.8 MB, free: 10.92 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.553231604397297]