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.001448/0.001448, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001562/0.001562, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.375/1.375, allocations: 158.6 MB / 185.7 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2812/0.2812, allocations: 36.35 MB / 274.3 MB, free: 0.6133 MB / 254.1 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.212e-06/1.212e-06, allocations: 0 / 414.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.605e-05, allocations: 6.219 kB / 414.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03835/0.03838, allocations: 29.6 MB / 444.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.04952, allocations: 7.155 MB / 451.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.04986, allocations: 11.88 kB / 451.6 MB, free: 6.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.05041, allocations: 134.9 kB / 451.7 MB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.05099, allocations: 218.3 kB / 452 MB, free: 6.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.06257, allocations: 4.425 MB / 456.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.06347, allocations: 0.6064 MB / 457 MB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.06387, allocations: 195.7 kB / 457.2 MB, free: 1.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.06438, allocations: 307.2 kB / 457.5 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.06472, allocations: 183.4 kB / 457.7 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.06478, allocations: 24 kB / 457.7 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.0761, allocations: 5.762 MB / 463.5 MB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.07621, allocations: 75.69 kB / 463.5 MB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.07647, allocations: 127.7 kB / 463.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008784/0.08525, allocations: 4.459 MB / 468.1 MB, free: 6.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.08526, allocations: 0 / 468.1 MB, free: 6.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08526, allocations: 0 / 468.1 MB, free: 6.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.08527, allocations: 0 / 468.1 MB, free: 6.156 MB / 398.1 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.002993/0.08827, allocations: 1.001 MB / 469.1 MB, free: 5.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.0883, allocations: 12.03 kB / 469.1 MB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.0885, allocations: 52.64 kB / 469.2 MB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.08897, allocations: 249.6 kB / 469.4 MB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.089, allocations: 20.88 kB / 469.4 MB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.08906, allocations: 24.38 kB / 469.5 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.08979, allocations: 321 kB / 469.8 MB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.0898, allocations: 192 / 469.8 MB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.08983, allocations: 15.94 kB / 469.8 MB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.08985, allocations: 11.94 kB / 469.8 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006504/0.0905, allocations: 233.8 kB / 470 MB, free: 4.152 MB / 398.1 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.001528/0.09203, allocations: 0.8942 MB / 470.9 MB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.09264, allocations: 214.4 kB / 471.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.09292, allocations: 120.8 kB / 471.3 MB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.224/0.317, allocations: 16.79 MB / 488 MB, free: 65.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.317, allocations: 37.72 kB / 488.1 MB, free: 65.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.317, allocations: 0 / 488.1 MB, free: 65.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002598/0.3196, allocations: 0.9699 MB / 489 MB, free: 65.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.3196, allocations: 54.97 kB / 489.1 MB, free: 64.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3198, allocations: 260.6 kB / 489.4 MB, free: 64.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3199, allocations: 29.7 kB / 489.4 MB, free: 64.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.3199, allocations: 198.5 kB / 489.6 MB, free: 64.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.32, allocations: 100.4 kB / 489.7 MB, free: 64.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.3201, allocations: 49.7 kB / 489.7 MB, free: 64.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.3201, allocations: 338.8 kB / 490.1 MB, free: 64.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.3204, allocations: 120.8 kB / 490.2 MB, free: 63.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3206, allocations: 137.5 kB / 490.3 MB, free: 63.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.321, allocations: 239.8 kB / 490.5 MB, free: 63.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.321, allocations: 3.984 kB / 490.5 MB, free: 63.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00119/0.3222, allocations: 492.6 kB / 491 MB, free: 63.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3222, allocations: 8.031 kB / 491 MB, free: 63.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3222, allocations: 0 / 491 MB, free: 63.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3234, allocations: 256.6 kB / 491.3 MB, free: 62.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3235, allocations: 35.97 kB / 491.3 MB, free: 62.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008449/0.3244, allocations: 0.8059 MB / 492.1 MB, free: 61.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3246, allocations: 16.05 kB / 492.1 MB, free: 61.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3246, allocations: 12 kB / 492.2 MB, free: 61.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002763/0.3249, allocations: 204.1 kB / 492.4 MB, free: 61.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002106/0.3251, allocations: 125.7 kB / 492.5 MB, free: 61.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004332/0.3255, allocations: 238.4 kB / 492.7 MB, free: 61.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-06/0.3255, allocations: 6.094 kB / 492.7 MB, free: 61.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001101/0.3266, allocations: 469.9 kB / 493.2 MB, free: 60.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.3266, allocations: 7.938 kB / 493.2 MB, free: 60.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.3266, allocations: 0 / 493.2 MB, free: 60.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.3277, allocations: 240.7 kB / 493.4 MB, free: 60.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3278, allocations: 35.97 kB / 493.4 MB, free: 60.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007456/0.3286, allocations: 0.7829 MB / 494.2 MB, free: 59.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.3288, allocations: 16.05 kB / 494.2 MB, free: 59.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3288, allocations: 4 kB / 494.3 MB, free: 59.72 MB / 398.1 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.0001036/0.3289, allocations: 200.1 kB / 494.4 MB, free: 59.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.329, allocations: 31.81 kB / 494.5 MB, free: 59.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/0.3299, allocations: 0.5602 MB / 495 MB, free: 58.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3299, allocations: 4 kB / 495 MB, free: 58.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3299, allocations: 5.469 kB / 495 MB, free: 58.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3299, allocations: 12.5 kB / 495.1 MB, free: 58.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.3313, allocations: 0.9375 MB / 496 MB, free: 57.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3313, allocations: 3.938 kB / 496 MB, free: 57.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.3317, allocations: 71.88 kB / 496.1 MB, free: 57.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.3319, allocations: 57.47 kB / 496.1 MB, free: 57.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3319, allocations: 7.984 kB / 496.1 MB, free: 57.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008232/0.3328, allocations: 1.306 MB / 497.4 MB, free: 56.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3328, allocations: 0 / 497.4 MB, free: 56.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3338, allocations: 0.6882 MB / 498.1 MB, free: 55.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.3339, allocations: 59.47 kB / 498.2 MB, free: 55.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3339, allocations: 12.09 kB / 498.2 MB, free: 55.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3341, allocations: 11.98 kB / 498.2 MB, free: 55.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.3342, allocations: 35.83 kB / 498.2 MB, free: 55.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3342, allocations: 4 kB / 498.3 MB, free: 55.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3344, allocations: 187.1 kB / 498.4 MB, free: 55.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3344, allocations: 0 / 498.4 MB, free: 55.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00245/0.3368, allocations: 0.8791 MB / 499.3 MB, free: 54.6 MB / 398.1 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.003801/0.3406, allocations: 1.059 MB / 0.4886 GB, free: 53.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.3422, allocations: 0.5639 MB / 0.4892 GB, free: 53.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3422, allocations: 0 / 0.4892 GB, free: 53.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.3427, allocations: 299.5 kB / 0.4895 GB, free: 52.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.3434, allocations: 116.1 kB / 0.4896 GB, free: 52.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3446, allocations: 0.8722 MB / 0.4904 GB, free: 51.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3447, allocations: 199.6 kB / 0.4906 GB, free: 51.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.3448, allocations: 34.28 kB / 0.4907 GB, free: 51.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.3449, allocations: 28.5 kB / 0.4907 GB, free: 51.5 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3449, allocations: 0 / 0.4907 GB, free: 51.5 MB / 398.1 MB Notification: Performance of Templates: time 0.03557/0.3805, allocations: 33.43 MB / 0.5233 GB, free: 18.06 MB / 398.1 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: 7.052484195679426] Failed to read output from testmodel.py, exit status != 0: 0.38906051963567734 0.39789247399999994 0.310279253 Calling exit ...