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.0008656/0.0008656, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003564/0.003564, allocations: 163 kB / 24.7 MB, free: 9.426 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.9181/0.9181, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.175/0.175, allocations: 36.35 MB / 275.1 MB, free: 10.78 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.372e-06/1.372e-06, allocations: 0 / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.566e-05, allocations: 2.281 kB / 415.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.1901/0.1901, allocations: 29.59 MB / 445.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.1968, allocations: 7.163 MB / 452.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.1971, allocations: 12 kB / 452.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.1976, allocations: 133.9 kB / 452.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.198, allocations: 220.4 kB / 452.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.2084, allocations: 4.417 MB / 457.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007646/0.2092, allocations: 0.6103 MB / 457.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.2095, allocations: 184.7 kB / 457.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.2098, allocations: 313.5 kB / 458.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.21, allocations: 185.8 kB / 458.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.21, allocations: 26.94 kB / 458.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008979/0.219, allocations: 5.766 MB / 464.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2191, allocations: 70.45 kB / 464.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.2194, allocations: 130.6 kB / 464.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.2276, allocations: 4.457 MB / 468.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2276, allocations: 0 / 468.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2276, allocations: 0 / 468.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2276, allocations: 1.094 kB / 468.9 MB, free: 5.406 MB / 362.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.002449/0.2301, allocations: 1.002 MB / 469.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2301, allocations: 8.812 kB / 469.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.2303, allocations: 47.73 kB / 469.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.2306, allocations: 252.7 kB / 470.2 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2306, allocations: 19.16 kB / 470.2 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.2307, allocations: 25.06 kB / 470.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.2311, allocations: 319.5 kB / 470.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2311, allocations: 384 / 470.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2311, allocations: 14.75 kB / 470.5 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2311, allocations: 8.5 kB / 470.5 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.2314, allocations: 239.4 kB / 470.8 MB, free: 4.074 MB / 362.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.0008316/0.2323, allocations: 0.9067 MB / 471.7 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.2326, allocations: 214.4 kB / 471.9 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2327, allocations: 117.3 kB / 472 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.027/0.2597, allocations: 16.8 MB / 488.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2598, allocations: 42.56 kB / 488.8 MB, free: 3.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/0.2598, allocations: 0 / 488.8 MB, free: 3.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.002124/0.2619, allocations: 0.9675 MB / 489.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.262, allocations: 59.39 kB / 489.9 MB, free: 2.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.2622, allocations: 260.5 kB / 490.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.2622, allocations: 33.7 kB / 490.1 MB, free: 2.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2623, allocations: 196.6 kB / 490.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/0.2624, allocations: 99.17 kB / 490.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.2625, allocations: 49.7 kB / 490.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2626, allocations: 334.8 kB / 490.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2627, allocations: 112.8 kB / 490.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2629, allocations: 137.6 kB / 491.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.2632, allocations: 245.6 kB / 491.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2632, allocations: 0 / 491.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007738/0.264, allocations: 486.2 kB / 491.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.264, allocations: 8 kB / 491.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.264, allocations: 0 / 491.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007333/0.2648, allocations: 252.6 kB / 492 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2649, allocations: 39.84 kB / 492.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/0.2657, allocations: 0.8021 MB / 492.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2658, allocations: 16.05 kB / 492.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2658, allocations: 8 kB / 492.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002498/0.2661, allocations: 212 kB / 493.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001613/0.2662, allocations: 133.6 kB / 493.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000294/0.2665, allocations: 242.3 kB / 493.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.2665, allocations: 4 kB / 493.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0006899/0.2672, allocations: 461.9 kB / 493.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2672, allocations: 8.031 kB / 493.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.2672, allocations: 3.938 kB / 493.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.2678, allocations: 248.5 kB / 494.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.2679, allocations: 39.91 kB / 494.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/0.2685, allocations: 0.7826 MB / 495 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2686, allocations: 17.88 kB / 495 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2686, allocations: 8 kB / 495 MB, free: 13.5 MB / 394.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.0001361/0.2688, allocations: 196.1 kB / 495.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.2688, allocations: 31.81 kB / 495.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/0.2695, allocations: 0.5579 MB / 495.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.2695, allocations: 4 kB / 495.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.2695, allocations: 0.875 kB / 495.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2695, allocations: 3.984 kB / 495.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2706, allocations: 0.9345 MB / 496.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2706, allocations: 0 / 496.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.2708, allocations: 67.89 kB / 496.8 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.271, allocations: 52.81 kB / 496.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.271, allocations: 12.8 kB / 496.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008789/0.2719, allocations: 1.314 MB / 498.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2719, allocations: 0 / 498.2 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.2727, allocations: 0.6991 MB / 498.9 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.2728, allocations: 51.78 kB / 498.9 MB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.2728, allocations: 4 kB / 498.9 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2729, allocations: 15.98 kB / 499 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.273, allocations: 23.95 kB / 499 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.273, allocations: 8.672 kB / 499 MB, free: 9.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.2731, allocations: 191 kB / 499.2 MB, free: 9.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2731, allocations: 0 / 499.2 MB, free: 9.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002918/0.276, allocations: 0.8852 MB / 0.4883 GB, free: 8.285 MB / 394.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.004488/0.2805, allocations: 1.063 MB / 0.4894 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.2818, allocations: 0.5511 MB / 0.4899 GB, free: 6.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2818, allocations: 4.062 kB / 0.4899 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.2823, allocations: 303.4 kB / 0.4902 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.2829, allocations: 112.8 kB / 0.4903 GB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2843, allocations: 0.9119 MB / 0.4912 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2844, allocations: 195.6 kB / 0.4914 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.2845, allocations: 32.44 kB / 0.4914 GB, free: 5.051 MB / 394.7 MB Notification: Performance of SimCode: time 1.884e-06/0.2845, allocations: 0 / 0.4914 GB, free: 5.051 MB / 394.7 MB Notification: Performance of Templates: time 0.02228/0.3068, allocations: 19.66 MB / 0.5106 GB, free: 1.355 MB / 410.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.228145739994943] Failed to read output from testmodel.py, exit status != 0: 0.31323484145104885 0.321010971 0.091632086 Calling exit ...