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.0008835/0.0008835, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0008752/0.0008752, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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.8966/0.8966, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1795/0.1795, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.724e-06/1.724e-06, allocations: 0 / 354.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.785e-05, allocations: 3.438 kB / 354.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02509/0.02512, allocations: 21.21 MB / 375.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008776/0.03389, allocations: 7.759 MB / 383.2 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.03421, allocations: 7.938 kB / 383.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.03468, allocations: 127 kB / 383.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.03511, allocations: 218.3 kB / 383.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009914/0.04503, allocations: 4.429 MB / 388 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007781/0.0458, allocations: 0.6142 MB / 388.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.04613, allocations: 203.6 kB / 388.8 MB, free: 464 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.04648, allocations: 303.3 kB / 389.1 MB, free: 160 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.04672, allocations: 183.5 kB / 389.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.04676, allocations: 28 kB / 389.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008527/0.05528, allocations: 5.77 MB / 395.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.05538, allocations: 71.69 kB / 395.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.05556, allocations: 139.7 kB / 395.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007822/0.06338, allocations: 4.377 MB / 399.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.06339, allocations: 0 / 399.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06339, allocations: 0 / 399.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.0634, allocations: 0 / 399.7 MB, free: 5.578 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.002782/0.06618, allocations: 1.089 MB / 400.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.06623, allocations: 8.031 kB / 400.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.06642, allocations: 84.64 kB / 400.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.06672, allocations: 252.4 kB / 401.1 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.06675, allocations: 24.81 kB / 401.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.06679, allocations: 24.38 kB / 401.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.06723, allocations: 273 kB / 401.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.06724, allocations: 192 / 401.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.06726, allocations: 15.94 kB / 401.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.06727, allocations: 4 kB / 401.4 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.06747, allocations: 111.3 kB / 401.6 MB, free: 3.621 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.001139/0.0686, allocations: 1.007 MB / 402.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.0689, allocations: 158.8 kB / 402.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.06897, allocations: 55.66 kB / 402.8 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02524/0.09421, allocations: 14.69 MB / 417.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.09424, allocations: 37.39 kB / 417.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.074e-06/0.09424, allocations: 0 / 417.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001289/0.09553, allocations: 0.6573 MB / 418.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.09556, allocations: 51.41 kB / 418.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.09573, allocations: 314.1 kB / 418.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.09575, allocations: 29.7 kB / 418.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.09585, allocations: 235.4 kB / 418.8 MB, free: 2.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.09591, allocations: 103.1 kB / 418.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.09598, allocations: 63.28 kB / 418.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.0961, allocations: 0.5195 MB / 419.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.09616, allocations: 43.66 kB / 419.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.09623, allocations: 71.33 kB / 419.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.09636, allocations: 119.8 kB / 419.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.09636, allocations: 0 / 419.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005375/0.0969, allocations: 340.7 kB / 420 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.09691, allocations: 8 kB / 420 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.09692, allocations: 7.984 kB / 420 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.09746, allocations: 215.4 kB / 420.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.09753, allocations: 27.98 kB / 420.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005964/0.09812, allocations: 0.9766 MB / 421.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.09821, allocations: 8 kB / 421.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.09823, allocations: 7.984 kB / 421.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001158/0.09834, allocations: 170.8 kB / 421.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.214e-05/0.09841, allocations: 71.56 kB / 421.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001131/0.09852, allocations: 123.3 kB / 421.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.09852, allocations: 0 / 421.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0007413/0.09926, allocations: 337.1 kB / 421.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.09927, allocations: 4 kB / 422 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.09927, allocations: 0 / 422 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.09973, allocations: 207.5 kB / 422.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.09979, allocations: 31.92 kB / 422.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/0.1003, allocations: 0.9482 MB / 423.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.1003, allocations: 15.98 kB / 423.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1004, allocations: 12 kB / 423.2 MB, free: 13.68 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.0001098/0.1005, allocations: 280 kB / 423.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.1005, allocations: 43.75 kB / 423.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.1009, allocations: 342.2 kB / 423.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1009, allocations: 4 kB / 423.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1009, allocations: 0 / 423.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1009, allocations: 3.984 kB / 423.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.1016, allocations: 0.6911 MB / 424.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1016, allocations: 0 / 424.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1017, allocations: 63.91 kB / 424.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.1019, allocations: 63.61 kB / 424.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1019, allocations: 7.984 kB / 424.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007405/0.1027, allocations: 1.733 MB / 426.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1027, allocations: 0 / 426.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1031, allocations: 0.4925 MB / 426.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1032, allocations: 55.67 kB / 426.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1032, allocations: 8 kB / 426.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.1033, allocations: 7.984 kB / 426.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1033, allocations: 31.94 kB / 427 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1033, allocations: 8 kB / 427 MB, free: 9.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.353e-05/0.1034, allocations: 206.9 kB / 427.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1034, allocations: 0 / 427.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001957/0.1054, allocations: 0.8774 MB / 428.1 MB, free: 8.578 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.0027/0.1081, allocations: 1.083 MB / 429.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.1088, allocations: 382.9 kB / 429.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1088, allocations: 0 / 429.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.109, allocations: 290.3 kB / 429.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.1094, allocations: 128.4 kB / 429.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1106, allocations: 0.8552 MB / 430.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.1107, allocations: 101.1 kB / 430.9 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1108, allocations: 30.3 kB / 430.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.111, allocations: 154.1 kB / 431.1 MB, free: 5.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.111, allocations: 0 / 431.1 MB, free: 5.488 MB / 362.7 MB Notification: Performance of Templates: time 0.1679/0.2788, allocations: 38.5 MB / 469.6 MB, free: 79.81 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.466671171598136]