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.001532/0.001532, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001664/0.001664, allocations: 160.6 kB / 24.99 MB, free: 9.32 MB / 18.57 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 0.9408/0.9408, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.08808/0.08808, allocations: 19.74 MB / 281.5 MB, free: 9.328 MB / 266.7 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.092e-06/1.092e-06, allocations: 0 / 358 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.884e-05, allocations: 6.25 kB / 358 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02368/0.02369, allocations: 33.24 MB / 391.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006787/0.03048, allocations: 7.899 MB / 399.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.0307, allocations: 7.938 kB / 399.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.03112, allocations: 131 kB / 399.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.03144, allocations: 214.3 kB / 399.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008706/0.04014, allocations: 4.448 MB / 403.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000539/0.04068, allocations: 0.6064 MB / 404.5 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.04095, allocations: 198.9 kB / 404.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.04121, allocations: 315.2 kB / 405 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.04141, allocations: 183.4 kB / 405.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.04144, allocations: 28 kB / 405.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00643/0.04787, allocations: 5.771 MB / 411 MB, free: 1.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.04793, allocations: 71.69 kB / 411 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.04803, allocations: 135.7 kB / 411.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1297/0.1778, allocations: 4.378 MB / 415.6 MB, free: 24.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1778, allocations: 5.609 kB / 415.6 MB, free: 24.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1778, allocations: 1.906 kB / 415.6 MB, free: 24.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1778, allocations: 0 / 415.6 MB, free: 24.23 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.003503/0.1813, allocations: 1.089 MB / 416.7 MB, free: 23.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1813, allocations: 8.25 kB / 416.7 MB, free: 23.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1815, allocations: 81.12 kB / 416.7 MB, free: 23.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1818, allocations: 246.5 kB / 417 MB, free: 23.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1818, allocations: 24.28 kB / 417 MB, free: 23.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.1818, allocations: 28.64 kB / 417 MB, free: 23.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.1822, allocations: 289.2 kB / 417.3 MB, free: 23.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1822, allocations: 384 / 417.3 MB, free: 23.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1822, allocations: 12.38 kB / 417.3 MB, free: 23.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1823, allocations: 10.75 kB / 417.3 MB, free: 23.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.1825, allocations: 131.1 kB / 417.5 MB, free: 23.25 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.000893/0.1834, allocations: 1.057 MB / 418.5 MB, free: 22.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1837, allocations: 169.8 kB / 418.7 MB, free: 22.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.1838, allocations: 57.89 kB / 418.7 MB, free: 22.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02922/0.213, allocations: 17.53 MB / 436.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.213, allocations: 49.33 kB / 436.3 MB, free: 21.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.213, allocations: 0 / 436.3 MB, free: 21.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001264/0.2143, allocations: 0.7451 MB / 437.1 MB, free: 20.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.2143, allocations: 55.06 kB / 437.1 MB, free: 20.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2145, allocations: 309.7 kB / 437.4 MB, free: 20.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2145, allocations: 29.45 kB / 437.5 MB, free: 20.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.743e-05/0.2145, allocations: 243 kB / 437.7 MB, free: 20.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.2146, allocations: 99.03 kB / 437.8 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.2147, allocations: 60.34 kB / 437.8 MB, free: 20.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.2147, allocations: 0.5104 MB / 438.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.2148, allocations: 57.88 kB / 438.4 MB, free: 19.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.2149, allocations: 85.81 kB / 438.5 MB, free: 19.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2151, allocations: 143.7 kB / 438.6 MB, free: 19.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2151, allocations: 0 / 438.6 MB, free: 19.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005656/0.2156, allocations: 370.2 kB / 439 MB, free: 19.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2156, allocations: 4 kB / 439 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2156, allocations: 0 / 439 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/0.2162, allocations: 219.1 kB / 439.2 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.2163, allocations: 27.08 kB / 439.2 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000484/0.2168, allocations: 0.9815 MB / 440.2 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.2169, allocations: 17.48 kB / 440.2 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2169, allocations: 7.625 kB / 440.2 MB, free: 18.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001107/0.217, allocations: 189.9 kB / 440.4 MB, free: 18.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.612e-05/0.2171, allocations: 81.52 kB / 440.5 MB, free: 17.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001466/0.2172, allocations: 140.7 kB / 440.7 MB, free: 17.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.2172, allocations: 0 / 440.7 MB, free: 17.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004925/0.2177, allocations: 347 kB / 441 MB, free: 17.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.2177, allocations: 8.031 kB / 441 MB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.2177, allocations: 3.984 kB / 441 MB, free: 17.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.2182, allocations: 217.1 kB / 441.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.2183, allocations: 35.08 kB / 441.2 MB, free: 17.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003852/0.2187, allocations: 0.9576 MB / 442.2 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.2187, allocations: 13.81 kB / 442.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2188, allocations: 11.5 kB / 442.2 MB, free: 16.38 MB / 330.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 6.402e-05/0.2188, allocations: 284.8 kB / 442.5 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.2189, allocations: 42.22 kB / 442.5 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.2192, allocations: 382.8 kB / 442.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2192, allocations: 7.984 kB / 442.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2192, allocations: 0 / 442.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2192, allocations: 4 kB / 442.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/0.2199, allocations: 0.7715 MB / 443.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2199, allocations: 0 / 443.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2201, allocations: 65.91 kB / 443.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.2202, allocations: 63.98 kB / 443.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2202, allocations: 7.625 kB / 443.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004956/0.2207, allocations: 1.749 MB / 445.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2207, allocations: 0 / 445.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.2211, allocations: 0.5288 MB / 446.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.2212, allocations: 50.73 kB / 446.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2212, allocations: 7.312 kB / 446.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.2213, allocations: 11.8 kB / 446.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.2214, allocations: 27.77 kB / 446.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2214, allocations: 4 kB / 446.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.2215, allocations: 217 kB / 446.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2215, allocations: 4.062 kB / 446.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003007/0.2245, allocations: 0.8885 MB / 447.3 MB, free: 11.48 MB / 330.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.002327/0.2268, allocations: 1.066 MB / 448.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006868/0.2275, allocations: 442.9 kB / 448.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2275, allocations: 4 kB / 448.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2277, allocations: 302.2 kB / 449.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2281, allocations: 117.6 kB / 449.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2292, allocations: 0.8593 MB / 450.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.2292, allocations: 105.1 kB / 450.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.2293, allocations: 22.3 kB / 450.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.2294, allocations: 39.02 kB / 450.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2294, allocations: 0 / 450.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of Templates: time 0.02927/0.2586, allocations: 34.38 MB / 484.6 MB, free: 6.598 MB / 362.7 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1934036100283265]