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.001434/0.001434, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001468/0.001468, allocations: 161 kB / 24.56 MB, free: 16 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 0.8523/0.8523, allocations: 158.6 MB / 186.4 MB, free: 2.891 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.1855/0.1855, allocations: 36.34 MB / 275.1 MB, free: 10.64 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.423e-06/1.423e-06, allocations: 0 / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.841e-05, allocations: 5.688 kB / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01691/0.01693, allocations: 21.49 MB / 375.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.02376, allocations: 7.899 MB / 383.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.02398, allocations: 7.938 kB / 383.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.02439, allocations: 123 kB / 383.3 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.02473, allocations: 222.3 kB / 383.5 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007708/0.03244, allocations: 4.421 MB / 388 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.0329, allocations: 0.6026 MB / 388.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.03315, allocations: 207.6 kB / 388.8 MB, free: 320 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.03338, allocations: 303.3 kB / 389.1 MB, free: 16 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.03359, allocations: 187.4 kB / 389.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.03363, allocations: 32 kB / 389.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006624/0.04025, allocations: 5.759 MB / 395 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.04031, allocations: 71.69 kB / 395.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.04043, allocations: 139.7 kB / 395.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.04485, allocations: 4.377 MB / 399.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.04485, allocations: 0 / 399.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.04485, allocations: 0 / 399.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.04486, allocations: 7.984 kB / 399.6 MB, free: 5.434 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.002081/0.04694, allocations: 1.086 MB / 400.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.04699, allocations: 12.03 kB / 400.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.04717, allocations: 84.64 kB / 400.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.04744, allocations: 260.4 kB / 401.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.04746, allocations: 24.81 kB / 401.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.04751, allocations: 24.38 kB / 401.1 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.04791, allocations: 285 kB / 401.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.04792, allocations: 192 / 401.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.04794, allocations: 15.94 kB / 401.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.04795, allocations: 4 kB / 401.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.04817, allocations: 134.8 kB / 401.5 MB, free: 3.434 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.0009255/0.04909, allocations: 1.05 MB / 402.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.0494, allocations: 174.7 kB / 402.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/0.04948, allocations: 59.66 kB / 402.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/0.07759, allocations: 16.8 MB / 419.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.07762, allocations: 37.39 kB / 419.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.747e-06/0.07763, allocations: 3.984 kB / 419.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001465/0.07909, allocations: 0.739 MB / 420.4 MB, free: 432 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.07912, allocations: 59.41 kB / 420.5 MB, free: 360 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.07931, allocations: 310.3 kB / 420.8 MB, free: 32 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.07934, allocations: 29.78 kB / 420.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.07945, allocations: 235.4 kB / 421 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.07951, allocations: 111 kB / 421.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.07957, allocations: 59.3 kB / 421.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.0797, allocations: 0.5117 MB / 421.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.07979, allocations: 55.66 kB / 421.8 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.55e-05/0.07989, allocations: 83.34 kB / 421.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.08006, allocations: 147.9 kB / 422 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.08006, allocations: 0 / 422 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005856/0.08065, allocations: 364.7 kB / 422.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.08066, allocations: 8 kB / 422.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.08067, allocations: 0 / 422.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.08128, allocations: 215.5 kB / 422.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.08136, allocations: 27.98 kB / 422.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006403/0.082, allocations: 0.9921 MB / 423.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.08208, allocations: 12 kB / 423.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.0821, allocations: 11.94 kB / 423.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001351/0.08223, allocations: 182.8 kB / 423.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.824e-05/0.08232, allocations: 83.56 kB / 423.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001598/0.08248, allocations: 131.4 kB / 424 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.08248, allocations: 4 kB / 424 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005277/0.08301, allocations: 361.1 kB / 424.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.08302, allocations: 11.98 kB / 424.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.08302, allocations: 0 / 424.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.08351, allocations: 211.4 kB / 424.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.08357, allocations: 27.98 kB / 424.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005238/0.08409, allocations: 0.9674 MB / 425.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.08417, allocations: 11.98 kB / 425.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.08418, allocations: 8 kB / 425.6 MB, free: 11.05 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.000105/0.08428, allocations: 280 kB / 425.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.08433, allocations: 43.89 kB / 425.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.08477, allocations: 378.2 kB / 426.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.08478, allocations: 19.92 kB / 426.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.08479, allocations: 0 / 426.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.08479, allocations: 3.938 kB / 426.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.08557, allocations: 0.7609 MB / 427.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.08558, allocations: 0 / 427.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.08576, allocations: 67.89 kB / 427.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.08594, allocations: 63.56 kB / 427.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.08596, allocations: 4 kB / 427.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008184/0.08677, allocations: 1.756 MB / 428.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.08677, allocations: 0 / 428.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.08727, allocations: 0.5353 MB / 429.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.08733, allocations: 51.67 kB / 429.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.08736, allocations: 8 kB / 429.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.08745, allocations: 11.98 kB / 429.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.08752, allocations: 31.94 kB / 429.6 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.08753, allocations: 12 kB / 429.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.08764, allocations: 215 kB / 429.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08764, allocations: 0 / 429.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001737/0.08938, allocations: 0.8775 MB / 430.7 MB, free: 5.742 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.00226/0.09164, allocations: 1.052 MB / 431.7 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.09243, allocations: 426.8 kB / 432.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.09243, allocations: 0 / 432.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.09277, allocations: 306.4 kB / 432.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.09334, allocations: 116.4 kB / 432.6 MB, free: 3.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.09492, allocations: 0.8595 MB / 433.4 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.09499, allocations: 105.1 kB / 433.5 MB, free: 2.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.0951, allocations: 30.27 kB / 433.5 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.09517, allocations: 28.5 kB / 433.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.09517, allocations: 0 / 433.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of Templates: time 0.1692/0.2644, allocations: 34.28 MB / 467.9 MB, free: 80.73 MB / 378.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.385258131660521]