Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001024/0.001024, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.006139/0.006139, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8857/0.8857, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09464/0.09464, allocations: 19.73 MB / 281.2 MB, free: 9.473 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.547e-05, allocations: 2.281 kB / 417.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02209/0.02211, allocations: 29.72 MB / 447.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006541/0.02865, allocations: 7.146 MB / 454.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.02887, allocations: 11.59 kB / 454.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.02931, allocations: 131.9 kB / 454.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.02964, allocations: 222 kB / 455 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008853/0.03849, allocations: 4.446 MB / 459.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.03904, allocations: 0.6064 MB / 460.1 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.0393, allocations: 191.5 kB / 460.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.03957, allocations: 319.1 kB / 460.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.03976, allocations: 179.5 kB / 460.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.0398, allocations: 28 kB / 460.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006406/0.0462, allocations: 5.779 MB / 466.6 MB, free: 1.758 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.04626, allocations: 75.67 kB / 466.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.04636, allocations: 135.7 kB / 466.8 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.05086, allocations: 4.471 MB / 471.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.05087, allocations: 0 / 471.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.05087, allocations: 0 / 471.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.05087, allocations: 0 / 471.2 MB, free: 13.07 MB / 378.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.001712/0.05258, allocations: 1.005 MB / 472.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.05262, allocations: 8.031 kB / 472.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.05273, allocations: 48.69 kB / 472.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.05307, allocations: 237.7 kB / 472.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.05309, allocations: 20.88 kB / 472.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.05313, allocations: 32.31 kB / 472.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.05355, allocations: 320.9 kB / 472.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.05356, allocations: 4.188 kB / 472.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.05358, allocations: 11.94 kB / 472.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.05359, allocations: 8 kB / 472.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.05393, allocations: 237.8 kB / 473.2 MB, free: 11.08 MB / 378.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.0008985/0.05483, allocations: 0.8869 MB / 474 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.05517, allocations: 210.5 kB / 474.3 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.05532, allocations: 120.8 kB / 474.4 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02726/0.08257, allocations: 17.54 MB / 491.9 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.0826, allocations: 34.56 kB / 491.9 MB, free: 8.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.0826, allocations: 4 kB / 492 MB, free: 8.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001692/0.0843, allocations: 0.9542 MB / 492.9 MB, free: 7.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.08433, allocations: 55.41 kB / 493 MB, free: 7.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.08451, allocations: 268.5 kB / 493.2 MB, free: 6.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.08453, allocations: 29.7 kB / 493.3 MB, free: 6.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.08461, allocations: 184.7 kB / 493.4 MB, free: 6.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.08467, allocations: 103.1 kB / 493.5 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.08474, allocations: 57.69 kB / 493.6 MB, free: 6.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.08483, allocations: 334.8 kB / 493.9 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.08498, allocations: 112.8 kB / 494 MB, free: 6.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.08513, allocations: 130.2 kB / 494.2 MB, free: 5.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.08543, allocations: 246.2 kB / 494.4 MB, free: 5.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.08543, allocations: 0 / 494.4 MB, free: 5.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006926/0.08612, allocations: 493.6 kB / 494.9 MB, free: 5.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.08614, allocations: 8 kB / 494.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.08614, allocations: 0 / 494.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.08676, allocations: 252.6 kB / 495.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.08684, allocations: 31.98 kB / 495.2 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006303/0.08747, allocations: 0.8097 MB / 496 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.08756, allocations: 16.05 kB / 496 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.08757, allocations: 11.94 kB / 496 MB, free: 4.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001994/0.08777, allocations: 208.1 kB / 496.2 MB, free: 3.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001437/0.08792, allocations: 141.9 kB / 496.3 MB, free: 3.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002693/0.08819, allocations: 229.6 kB / 496.6 MB, free: 3.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.08819, allocations: 3.938 kB / 496.6 MB, free: 3.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0006179/0.0888, allocations: 466.4 kB / 497 MB, free: 2.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.553e-06/0.08881, allocations: 4 kB / 497 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.08881, allocations: 0 / 497 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.08932, allocations: 252.5 kB / 497.3 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.08939, allocations: 31.98 kB / 497.3 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005438/0.08993, allocations: 0.7856 MB / 498.1 MB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.09001, allocations: 20.05 kB / 498.1 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.09002, allocations: 12 kB / 498.1 MB, free: 1.84 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 9.789e-05/0.09012, allocations: 192.2 kB / 498.3 MB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.09016, allocations: 27.81 kB / 498.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.09076, allocations: 0.5578 MB / 498.9 MB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.09077, allocations: 11.98 kB / 498.9 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.09078, allocations: 0 / 498.9 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.09078, allocations: 3.938 kB / 498.9 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.0917, allocations: 0.9345 MB / 499.8 MB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.09171, allocations: 0 / 499.8 MB, free: 56 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.0919, allocations: 72 kB / 499.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.09204, allocations: 60.73 kB / 500 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.09205, allocations: 4 kB / 500 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007583/0.09281, allocations: 1.311 MB / 0.4895 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.09281, allocations: 0 / 0.4895 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.0935, allocations: 0.6999 MB / 0.4902 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.09357, allocations: 55.77 kB / 0.4903 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.09359, allocations: 4 kB / 0.4903 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.09369, allocations: 15.98 kB / 0.4903 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.09375, allocations: 27.89 kB / 0.4903 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.09376, allocations: 7.938 kB / 0.4903 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.09387, allocations: 191.1 kB / 0.4905 GB, free: 13.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.09387, allocations: 0 / 0.4905 GB, free: 13.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001641/0.09551, allocations: 0.8891 MB / 0.4914 GB, free: 12.6 MB / 410.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.0021/0.09761, allocations: 1.06 MB / 0.4924 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.09847, allocations: 0.5658 MB / 0.493 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.09847, allocations: 0 / 0.493 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.09878, allocations: 306.8 kB / 0.4933 GB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.09919, allocations: 119.6 kB / 0.4934 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009756/0.1002, allocations: 0.8938 MB / 0.4942 GB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.1003, allocations: 199.6 kB / 0.4944 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1003, allocations: 36.42 kB / 0.4945 GB, free: 9.355 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1003, allocations: 0 / 0.4945 GB, free: 9.355 MB / 410.7 MB Notification: Performance of Templates: time 0.01637/0.1167, allocations: 19.79 MB / 0.5138 GB, free: 5.555 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.323051224462688] Failed to read output from testmodel.py, exit status != 0: 0.12252055946737528 0.130836338 0.07831674300000001 Calling exit ...