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.0009783/0.0009783, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001158/0.001158, 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.7928/0.7928, allocations: 158.6 MB / 186.4 MB, free: 2.926 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.1552/0.1552, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.172e-06/1.172e-06, allocations: 0 / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.604e-05, allocations: 5.828 kB / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01476/0.01478, allocations: 21.49 MB / 375.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.02111, allocations: 7.899 MB / 383.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.02127, allocations: 7.938 kB / 383.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.02165, allocations: 119 kB / 383.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.02195, allocations: 222.2 kB / 383.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006886/0.02883, allocations: 4.429 MB / 388 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.02927, allocations: 0.6065 MB / 388.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.02952, allocations: 215.6 kB / 388.8 MB, free: 312 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.02975, allocations: 303.3 kB / 389.1 MB, free: 8 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.02997, allocations: 187.4 kB / 389.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.03022, allocations: 28 kB / 389.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/0.03599, allocations: 5.763 MB / 395.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.03604, allocations: 67.69 kB / 395.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.94e-05/0.03614, allocations: 139.7 kB / 395.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.03983, allocations: 4.377 MB / 399.6 MB, free: 5.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.03983, allocations: 4 kB / 399.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.03983, allocations: 0 / 399.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.03984, allocations: 0 / 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.00139/0.04123, allocations: 1.089 MB / 400.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.04126, allocations: 8.031 kB / 400.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.04142, allocations: 80.64 kB / 400.8 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.04167, allocations: 256.4 kB / 401.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.04169, allocations: 24.81 kB / 401.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.04172, allocations: 28.38 kB / 401.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.04212, allocations: 281 kB / 401.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.04213, allocations: 192 / 401.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.04215, allocations: 19.92 kB / 401.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.04216, allocations: 4 kB / 401.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.04238, allocations: 130.8 kB / 401.5 MB, free: 3.441 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.0008793/0.04326, allocations: 1.05 MB / 402.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.04353, allocations: 174.7 kB / 402.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.04362, allocations: 59.66 kB / 402.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02794/0.07156, allocations: 16.81 MB / 419.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.07158, allocations: 41.39 kB / 419.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.634e-06/0.07158, allocations: 0 / 419.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001296/0.07288, allocations: 0.739 MB / 420.4 MB, free: 436 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.07291, allocations: 55.41 kB / 420.5 MB, free: 368 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.07308, allocations: 314.3 kB / 420.8 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.0731, allocations: 29.7 kB / 420.8 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.07321, allocations: 239.4 kB / 421 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.07327, allocations: 115 kB / 421.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.07333, allocations: 51.36 kB / 421.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.07344, allocations: 0.5117 MB / 421.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.07352, allocations: 59.66 kB / 421.8 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.07362, allocations: 75.33 kB / 421.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.0738, allocations: 147.8 kB / 422 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.0738, allocations: 4 kB / 422 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000594/0.0744, allocations: 360.7 kB / 422.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.07441, allocations: 4 kB / 422.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.07442, allocations: 0 / 422.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.07509, allocations: 223.5 kB / 422.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.07516, allocations: 27.98 kB / 422.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/0.07578, allocations: 0.9921 MB / 423.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.07587, allocations: 12 kB / 423.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.07588, allocations: 7.938 kB / 423.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001303/0.07601, allocations: 182.8 kB / 423.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.834e-05/0.0761, allocations: 83.56 kB / 423.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001614/0.07626, allocations: 135.4 kB / 424 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.07626, allocations: 0 / 424 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005395/0.0768, allocations: 365.1 kB / 424.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.07681, allocations: 7.984 kB / 424.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.07681, allocations: 0 / 424.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.07732, allocations: 211.4 kB / 424.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.07739, allocations: 27.98 kB / 424.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/0.07813, allocations: 0.9711 MB / 425.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.07821, allocations: 11.98 kB / 425.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.07822, allocations: 8 kB / 425.6 MB, free: 11.06 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 9.15e-05/0.07831, allocations: 284.1 kB / 425.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.07835, allocations: 51.7 kB / 425.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.07878, allocations: 370.3 kB / 426.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.07879, allocations: 11.92 kB / 426.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.07879, allocations: 0 / 426.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.0788, allocations: 3.938 kB / 426.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.0795, allocations: 0.757 MB / 427 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.0795, allocations: 8 kB / 427.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.07969, allocations: 63.89 kB / 427.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.07987, allocations: 59.56 kB / 427.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.07988, allocations: 4 kB / 427.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007285/0.08061, allocations: 1.759 MB / 428.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.08061, allocations: 0 / 428.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.08111, allocations: 0.5314 MB / 429.5 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.08117, allocations: 59.8 kB / 429.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.08119, allocations: 8 kB / 429.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.08129, allocations: 11.98 kB / 429.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.08135, allocations: 31.94 kB / 429.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.08136, allocations: 7.938 kB / 429.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.08146, allocations: 219 kB / 429.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08146, allocations: 0 / 429.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001275/0.08273, allocations: 0.8736 MB / 430.7 MB, free: 5.75 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.002078/0.08481, allocations: 1.052 MB / 431.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007155/0.08553, allocations: 434.9 kB / 432.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08553, allocations: 0 / 432.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.08578, allocations: 298.3 kB / 432.4 MB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.0864, allocations: 120.4 kB / 432.6 MB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.08758, allocations: 0.8595 MB / 433.4 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.08764, allocations: 105.1 kB / 433.5 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.08772, allocations: 30.27 kB / 433.6 MB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.08778, allocations: 28.5 kB / 433.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.08778, allocations: 0 / 433.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of Templates: time 0.1347/0.2225, allocations: 39.18 MB / 472.8 MB, free: 77.77 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: 5.0340687008574605]