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.001973/0.001973, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.00202/0.00202, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 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 1.311/1.311, allocations: 158.6 MB / 186.1 MB, free: 2.906 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.2906/0.2906, allocations: 36.34 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 179] 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.854e-06/1.854e-06, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.083e-05, allocations: 10.25 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.04429/0.04432, allocations: 33.01 MB / 386.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.05726, allocations: 7.884 MB / 394 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003789/0.05764, allocations: 7.938 kB / 394 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.05829, allocations: 138.9 kB / 394.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005561/0.05884, allocations: 214.3 kB / 394.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.07237, allocations: 4.432 MB / 398.8 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.07343, allocations: 0.622 MB / 399.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.07383, allocations: 187.9 kB / 399.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000499/0.07433, allocations: 311.1 kB / 399.9 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.07469, allocations: 179.5 kB / 400 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.07475, allocations: 27.98 kB / 400.1 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.08724, allocations: 5.766 MB / 405.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.08739, allocations: 71.67 kB / 405.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.08766, allocations: 127.7 kB / 406 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.09854, allocations: 4.471 MB / 410.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.09855, allocations: 3.938 kB / 410.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09855, allocations: 0 / 410.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.09856, allocations: 0 / 410.5 MB, free: 10.14 MB / 346.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.00323/0.1018, allocations: 1.093 MB / 411.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1018, allocations: 12.03 kB / 411.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.1021, allocations: 76.69 kB / 411.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.1028, allocations: 264.3 kB / 411.9 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1029, allocations: 24.88 kB / 412 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.1029, allocations: 24.38 kB / 412 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.1036, allocations: 336.2 kB / 412.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1036, allocations: 192 / 412.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.1037, allocations: 15.94 kB / 412.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1037, allocations: 4 kB / 412.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.1043, allocations: 217.8 kB / 412.5 MB, free: 8.004 MB / 346.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.001915/0.1062, allocations: 1.132 MB / 413.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.1068, allocations: 207 kB / 413.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.1071, allocations: 99.64 kB / 414 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06575/0.1728, allocations: 16.82 MB / 430.8 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.1729, allocations: 37.39 kB / 430.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.194e-06/0.1729, allocations: 4 kB / 430.8 MB, free: 5.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.002934/0.1758, allocations: 0.953 MB / 431.8 MB, free: 4.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.1759, allocations: 55.41 kB / 431.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.1763, allocations: 350.3 kB / 432.2 MB, free: 4.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1763, allocations: 33.7 kB / 432.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.1765, allocations: 247.4 kB / 432.5 MB, free: 3.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.1766, allocations: 107.1 kB / 432.6 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1768, allocations: 67.36 kB / 432.6 MB, free: 3.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003281/0.1771, allocations: 0.5235 MB / 433.2 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1774, allocations: 99.64 kB / 433.3 MB, free: 3.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.1776, allocations: 127.3 kB / 433.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.1784, allocations: 247.8 kB / 433.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1784, allocations: 0 / 433.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001397/0.1798, allocations: 472.7 kB / 434.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1798, allocations: 4 kB / 434.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1798, allocations: 0 / 434.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.1812, allocations: 270 kB / 434.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1813, allocations: 27.92 kB / 434.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1827, allocations: 1.089 MB / 435.5 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.1829, allocations: 8 kB / 435.5 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1829, allocations: 11.94 kB / 435.5 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003736/0.1833, allocations: 238.8 kB / 435.7 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002684/0.1836, allocations: 139.5 kB / 435.9 MB, free: 420 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004924/0.184, allocations: 235.3 kB / 436.1 MB, free: 176 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.184, allocations: 4 kB / 436.1 MB, free: 172 kB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.1473/0.3314, allocations: 451.3 kB / 436.5 MB, free: 91.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3314, allocations: 4.25 kB / 436.5 MB, free: 91.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3314, allocations: 2.219 kB / 436.5 MB, free: 91.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3325, allocations: 254.7 kB / 436.8 MB, free: 91.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3326, allocations: 29.94 kB / 436.8 MB, free: 91.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009033/0.3336, allocations: 1.063 MB / 437.9 MB, free: 91.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3338, allocations: 10.5 kB / 437.9 MB, free: 91.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.3338, allocations: 8.812 kB / 437.9 MB, free: 91.17 MB / 362.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 0.000124/0.3339, allocations: 284.8 kB / 438.2 MB, free: 90.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.334, allocations: 38.94 kB / 438.2 MB, free: 90.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000956/0.3349, allocations: 454.8 kB / 438.7 MB, free: 90.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3349, allocations: 4.516 kB / 438.7 MB, free: 90.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.3349, allocations: 1.5 kB / 438.7 MB, free: 90.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3349, allocations: 1.031 kB / 438.7 MB, free: 90.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3364, allocations: 0.8914 MB / 439.6 MB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3364, allocations: 0 / 439.6 MB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.3367, allocations: 64.05 kB / 439.6 MB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.3371, allocations: 70.69 kB / 439.7 MB, free: 90.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3371, allocations: 15.47 kB / 439.7 MB, free: 90.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.3381, allocations: 1.827 MB / 441.5 MB, free: 88.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3381, allocations: 3.828 kB / 441.5 MB, free: 88.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3392, allocations: 0.6744 MB / 442.2 MB, free: 88.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3393, allocations: 52.78 kB / 442.3 MB, free: 88.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.3393, allocations: 5.797 kB / 442.3 MB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3395, allocations: 11.77 kB / 442.3 MB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.3396, allocations: 32.47 kB / 442.3 MB, free: 88.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3396, allocations: 6.188 kB / 442.3 MB, free: 88.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3398, allocations: 239.2 kB / 442.5 MB, free: 88.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3398, allocations: 0 / 442.5 MB, free: 88.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002758/0.3426, allocations: 0.8823 MB / 443.4 MB, free: 88.09 MB / 362.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.003624/0.3462, allocations: 1.061 MB / 444.5 MB, free: 87.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.3479, allocations: 0.561 MB / 445 MB, free: 87.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3479, allocations: 3.969 kB / 445.1 MB, free: 87.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.3483, allocations: 339.9 kB / 445.4 MB, free: 87.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.3491, allocations: 115.8 kB / 445.5 MB, free: 87.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3504, allocations: 0.8886 MB / 446.4 MB, free: 87.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.3505, allocations: 196.4 kB / 446.6 MB, free: 87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.3506, allocations: 32.09 kB / 446.6 MB, free: 86.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.3507, allocations: 34.92 kB / 446.6 MB, free: 86.98 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3507, allocations: 0 / 446.6 MB, free: 86.98 MB / 362.7 MB Notification: Performance of Templates: time 0.03589/0.3866, allocations: 34.29 MB / 480.9 MB, free: 53.83 MB / 362.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: 7.179028196027502]