Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001831/0.001831, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002278/0.002278, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1419/0.1419, allocations: 19.74 MB / 280.4 MB, free: 12.93 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 417 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.276e-05, allocations: 2.281 kB / 417 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03615/0.03617, allocations: 29.72 MB / 446.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1785/0.2146, allocations: 7.142 MB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.2149, allocations: 6.688 kB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.2154, allocations: 135.4 kB / 454 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.2158, allocations: 221.8 kB / 454.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01201/0.2278, allocations: 4.441 MB / 458.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008843/0.2287, allocations: 0.6091 MB / 459.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.229, allocations: 190.8 kB / 459.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.2294, allocations: 309.4 kB / 459.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.2297, allocations: 188 kB / 460 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.2297, allocations: 27 kB / 460 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.2415, allocations: 5.778 MB / 465.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2416, allocations: 75.67 kB / 465.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.2418, allocations: 130.8 kB / 466 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00803/0.2498, allocations: 4.473 MB / 470.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2499, allocations: 0 / 470.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2499, allocations: 0 / 470.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.2499, allocations: 0 / 470.5 MB, free: 12.89 MB / 366.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.002647/0.2525, allocations: 0.9977 MB / 471.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2525, allocations: 9.25 kB / 471.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2527, allocations: 51.75 kB / 471.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.253, allocations: 251.9 kB / 471.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.253, allocations: 23.09 kB / 471.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2531, allocations: 25.97 kB / 471.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.2537, allocations: 324.5 kB / 472.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2537, allocations: 0.9688 kB / 472.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2537, allocations: 15.78 kB / 472.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2537, allocations: 8.188 kB / 472.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.2543, allocations: 234.2 kB / 472.4 MB, free: 11.6 MB / 366.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.001095/0.2554, allocations: 0.8905 MB / 473.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.2559, allocations: 220.7 kB / 473.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.2561, allocations: 119 kB / 473.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05627/0.3124, allocations: 17.53 MB / 491.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/0.3124, allocations: 40.44 kB / 491.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.3124, allocations: 0 / 491.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.002997/0.3154, allocations: 0.9606 MB / 492.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3155, allocations: 55.41 kB / 492.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3158, allocations: 264.5 kB / 492.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3158, allocations: 29.69 kB / 492.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.316, allocations: 202.6 kB / 492.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.316, allocations: 94.3 kB / 492.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3162, allocations: 53.7 kB / 492.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3163, allocations: 342.8 kB / 493.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.3166, allocations: 108.8 kB / 493.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.3169, allocations: 126.2 kB / 493.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.3175, allocations: 252.1 kB / 493.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3175, allocations: 0 / 493.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001398/0.3189, allocations: 487.3 kB / 494.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3189, allocations: 6.812 kB / 494.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3189, allocations: 0 / 494.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3202, allocations: 253.5 kB / 494.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.3203, allocations: 34.97 kB / 494.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3215, allocations: 0.8089 MB / 495.2 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.3217, allocations: 19.98 kB / 495.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3218, allocations: 12 kB / 495.2 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003707/0.3221, allocations: 212 kB / 495.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002816/0.3224, allocations: 125.9 kB / 495.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005419/0.323, allocations: 244.5 kB / 495.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.323, allocations: 7.281 kB / 495.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001329/0.3243, allocations: 457.2 kB / 496.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3243, allocations: 12.03 kB / 496.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.3243, allocations: 0 / 496.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3255, allocations: 245.3 kB / 496.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3256, allocations: 38.31 kB / 496.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.3267, allocations: 0.7825 MB / 497.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.3269, allocations: 20.05 kB / 497.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3269, allocations: 4 kB / 497.4 MB, free: 7.816 MB / 382.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.0001478/0.327, allocations: 193.5 kB / 497.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.3271, allocations: 31.81 kB / 497.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.3282, allocations: 0.5623 MB / 498.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3283, allocations: 4 kB / 498.1 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3283, allocations: 0 / 498.1 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3283, allocations: 7.922 kB / 498.2 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.33, allocations: 0.9434 MB / 499.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.33, allocations: 3.188 kB / 499.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.3303, allocations: 63.95 kB / 499.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.3306, allocations: 48.81 kB / 499.2 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.3307, allocations: 19.8 kB / 499.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.332, allocations: 1.302 MB / 0.4888 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.332, allocations: 0 / 0.4888 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3333, allocations: 0.6994 MB / 0.4895 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3334, allocations: 51.78 kB / 0.4895 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.3334, allocations: 8 kB / 0.4895 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3337, allocations: 11.98 kB / 0.4895 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.3337, allocations: 23.95 kB / 0.4896 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3337, allocations: 8 kB / 0.4896 GB, free: 3.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3339, allocations: 195 kB / 0.4898 GB, free: 3.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3339, allocations: 0 / 0.4898 GB, free: 3.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002757/0.3367, allocations: 0.8891 MB / 0.4906 GB, free: 2.625 MB / 382.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.003682/0.3404, allocations: 1.058 MB / 0.4917 GB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.3423, allocations: 0.5597 MB / 0.4922 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3423, allocations: 8 kB / 0.4922 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.3429, allocations: 312.2 kB / 0.4925 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.3436, allocations: 120 kB / 0.4926 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3452, allocations: 0.8784 MB / 0.4935 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3454, allocations: 199.6 kB / 0.4937 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.3456, allocations: 22.3 kB / 0.4937 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.3457, allocations: 28.48 kB / 0.4937 GB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3457, allocations: 0 / 0.4937 GB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.0509/0.3966, allocations: 33.54 MB / 0.5265 GB, free: 14.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.956811368465424] Failed to read output from testmodel.py, exit status != 0: 0.40556471794843674 0.43346868199999994 0.17817330899999995 Calling exit ...