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.002267/0.002267, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002483/0.002483, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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 1.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.1537/0.1537, allocations: 19.73 MB / 280.8 MB, free: 9.32 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 2.004e-06/2.004e-06, allocations: 0 / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.499e-05, allocations: 2.312 kB / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.04881/0.04884, allocations: 33.14 MB / 390.4 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.06154, allocations: 7.892 MB / 398.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.06182, allocations: 11.88 kB / 398.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.06234, allocations: 131 kB / 398.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.06306, allocations: 214.3 kB / 398.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.07515, allocations: 4.451 MB / 403 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.07613, allocations: 0.6065 MB / 403.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.07651, allocations: 199.8 kB / 403.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.07697, allocations: 307.2 kB / 404.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.0773, allocations: 187.4 kB / 404.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.07735, allocations: 28 kB / 404.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.08933, allocations: 5.775 MB / 410.1 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.08947, allocations: 75.67 kB / 410.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.08975, allocations: 131.7 kB / 410.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1569/0.2467, allocations: 4.46 MB / 414.8 MB, free: 24.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2467, allocations: 4.125 kB / 414.8 MB, free: 24.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2467, allocations: 0 / 414.8 MB, free: 24.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2467, allocations: 0 / 414.8 MB, free: 24.53 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.005255/0.252, allocations: 1.107 MB / 415.9 MB, free: 23.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.252, allocations: 9.625 kB / 415.9 MB, free: 23.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.2523, allocations: 84.81 kB / 416 MB, free: 23.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.2528, allocations: 252.5 kB / 416.2 MB, free: 23.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.2528, allocations: 21.44 kB / 416.3 MB, free: 23.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.2529, allocations: 31.33 kB / 416.3 MB, free: 23.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.2537, allocations: 323.2 kB / 416.6 MB, free: 23.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2537, allocations: 3.656 kB / 416.6 MB, free: 23.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.2538, allocations: 14.53 kB / 416.6 MB, free: 23.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2538, allocations: 5.625 kB / 416.6 MB, free: 23.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.2546, allocations: 220.4 kB / 416.9 MB, free: 23.57 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.001757/0.2563, allocations: 1.14 MB / 418 MB, free: 22.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.257, allocations: 207.2 kB / 418.2 MB, free: 22.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.2573, allocations: 97.05 kB / 418.3 MB, free: 22.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07089/0.3282, allocations: 17.54 MB / 435.8 MB, free: 21.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3282, allocations: 40.19 kB / 435.9 MB, free: 21.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.3282, allocations: 0 / 435.9 MB, free: 21.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.002405/0.3306, allocations: 0.9444 MB / 436.8 MB, free: 21.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.3306, allocations: 54.53 kB / 436.9 MB, free: 20.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3309, allocations: 357.6 kB / 437.2 MB, free: 20.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3309, allocations: 36.86 kB / 437.3 MB, free: 20.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.331, allocations: 247.3 kB / 437.5 MB, free: 20.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.331, allocations: 103.9 kB / 437.6 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.3311, allocations: 65.34 kB / 437.7 MB, free: 20.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.3312, allocations: 0.5235 MB / 438.2 MB, free: 19.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.3314, allocations: 99.33 kB / 438.3 MB, free: 19.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3316, allocations: 138.6 kB / 438.4 MB, free: 19.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.332, allocations: 240.6 kB / 438.7 MB, free: 19.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.332, allocations: 0 / 438.7 MB, free: 19.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001108/0.3331, allocations: 474.8 kB / 439.1 MB, free: 19.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3331, allocations: 8.031 kB / 439.1 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3331, allocations: 1.031 kB / 439.1 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3343, allocations: 262.3 kB / 439.4 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3344, allocations: 31.23 kB / 439.4 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/0.3353, allocations: 1.081 MB / 440.5 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3354, allocations: 11.67 kB / 440.5 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3355, allocations: 8 kB / 440.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002446/0.3357, allocations: 248.9 kB / 440.8 MB, free: 17.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001821/0.3359, allocations: 129.2 kB / 440.9 MB, free: 17.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003609/0.3363, allocations: 240.9 kB / 441.1 MB, free: 17.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.263e-06/0.3363, allocations: 0 / 441.1 MB, free: 17.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001024/0.3373, allocations: 457.6 kB / 441.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.3373, allocations: 8 kB / 441.6 MB, free: 17.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3373, allocations: 0 / 441.6 MB, free: 17.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009959/0.3383, allocations: 252.2 kB / 441.8 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3384, allocations: 33.95 kB / 441.9 MB, free: 16.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/0.3392, allocations: 1.053 MB / 442.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3393, allocations: 14.48 kB / 442.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3394, allocations: 8 kB / 442.9 MB, free: 15.78 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 8.577e-05/0.3394, allocations: 289.2 kB / 443.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.3395, allocations: 39.44 kB / 443.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/0.3403, allocations: 459 kB / 443.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3403, allocations: 7.984 kB / 443.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3403, allocations: 0.875 kB / 443.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3403, allocations: 3 kB / 443.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3415, allocations: 0.8996 MB / 444.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3415, allocations: 0 / 444.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.3418, allocations: 63.97 kB / 444.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/0.3421, allocations: 70.17 kB / 444.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3421, allocations: 15.25 kB / 444.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008473/0.343, allocations: 1.826 MB / 446.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.343, allocations: 0 / 446.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.3439, allocations: 0.6723 MB / 447.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.344, allocations: 51.3 kB / 447.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.344, allocations: 7.812 kB / 447.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3442, allocations: 7.812 kB / 447.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.3443, allocations: 32.69 kB / 447.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3443, allocations: 4 kB / 447.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.3444, allocations: 248.2 kB / 447.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3444, allocations: 1.75 kB / 447.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00393/0.3484, allocations: 0.8774 MB / 448.5 MB, free: 10.65 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.006423/0.3548, allocations: 1.079 MB / 449.6 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.3564, allocations: 0.5627 MB / 450.1 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3564, allocations: 0 / 450.1 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.3568, allocations: 344.8 kB / 450.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.3576, allocations: 123.2 kB / 450.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3589, allocations: 0.8678 MB / 451.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.359, allocations: 203.6 kB / 451.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.3591, allocations: 22.3 kB / 451.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.3592, allocations: 32.12 kB / 451.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3592, allocations: 4 kB / 451.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of Templates: time 0.05233/0.4115, allocations: 34.37 MB / 486.1 MB, free: 5.559 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: 6.9419557470828295]