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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.801/1.801, allocations: 207.6 MB / 231.8 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4996/0.4996, allocations: 49.52 MB / 333.2 MB, free: 0.8242 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 72.41 kB / 471.9 MB, free: 40.85 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1505, allocations: 62.33 MB / 0.5218 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.04676/0.1972, allocations: 32.67 MB / 0.5537 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.2093, allocations: 8.14 MB / 0.5616 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.2097, allocations: 7.938 kB / 0.5616 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.2103, allocations: 135 kB / 0.5618 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.2109, allocations: 222.5 kB / 0.562 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.2244, allocations: 4.415 MB / 0.5663 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2254, allocations: 0.5832 MB / 0.5668 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.2257, allocations: 187.4 kB / 0.567 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.2261, allocations: 215.2 kB / 0.5672 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.2264, allocations: 234.9 kB / 0.5675 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.2265, allocations: 24 kB / 0.5675 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.2392, allocations: 6.013 MB / 0.5733 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2393, allocations: 75.69 kB / 0.5734 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.2397, allocations: 195 kB / 0.5736 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009762/0.2494, allocations: 3.504 MB / 0.577 GB, free: 9.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.2495, allocations: 4 kB / 0.577 GB, free: 9.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2495, allocations: 0 / 0.577 GB, free: 9.102 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.2495, allocations: 3.984 kB / 0.577 GB, free: 9.098 MB / 446.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.003621/0.2531, allocations: 1.069 MB / 0.5781 GB, free: 7.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2532, allocations: 11.89 kB / 0.5781 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.2533, allocations: 60.64 kB / 0.5781 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.2539, allocations: 307.5 kB / 0.5784 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2539, allocations: 20.94 kB / 0.5785 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.254, allocations: 28.33 kB / 0.5785 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.2547, allocations: 321.3 kB / 0.5788 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2547, allocations: 0 / 0.5788 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.2547, allocations: 12 kB / 0.5788 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2547, allocations: 4 kB / 0.5788 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.2553, allocations: 238 kB / 0.579 GB, free: 6.941 MB / 446.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.001743/0.2571, allocations: 1.33 MB / 0.5803 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.2577, allocations: 218.3 kB / 0.5805 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.2579, allocations: 121.1 kB / 0.5807 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07051/0.3284, allocations: 32.11 MB / 0.612 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.3285, allocations: 38.42 kB / 0.6121 GB, free: 1.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=23): time 3.236e-06/0.3285, allocations: 0 / 0.6121 GB, free: 1.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=27): time 0.003421/0.3319, allocations: 1.047 MB / 0.6131 GB, free: 56 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.332, allocations: 55.41 kB / 0.6131 GB, free: 15.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.3324, allocations: 309.7 kB / 0.6134 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3324, allocations: 33.7 kB / 0.6135 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3326, allocations: 184.8 kB / 0.6136 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3327, allocations: 107.1 kB / 0.6137 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3328, allocations: 45.7 kB / 0.6138 GB, free: 15.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.333, allocations: 346.8 kB / 0.6141 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.3333, allocations: 112.8 kB / 0.6142 GB, free: 14.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.3336, allocations: 133.6 kB / 0.6143 GB, free: 14.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.3342, allocations: 242.1 kB / 0.6146 GB, free: 14.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3342, allocations: 0 / 0.6146 GB, free: 14.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001429/0.3356, allocations: 489.7 kB / 0.615 GB, free: 13.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3356, allocations: 4 kB / 0.615 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3356, allocations: 0 / 0.615 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.3369, allocations: 252.6 kB / 0.6153 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3371, allocations: 39.92 kB / 0.6153 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.3383, allocations: 0.806 MB / 0.6161 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3385, allocations: 20.05 kB / 0.6161 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.3385, allocations: 12 kB / 0.6161 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003729/0.3389, allocations: 204.1 kB / 0.6163 GB, free: 12.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002718/0.3392, allocations: 129.6 kB / 0.6165 GB, free: 12.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005249/0.3397, allocations: 250.3 kB / 0.6167 GB, free: 12.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.3397, allocations: 0 / 0.6167 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001317/0.341, allocations: 469.8 kB / 0.6171 GB, free: 11.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.341, allocations: 4 kB / 0.6172 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3411, allocations: 3.984 kB / 0.6172 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.3422, allocations: 244.6 kB / 0.6174 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3424, allocations: 31.92 kB / 0.6174 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.3434, allocations: 0.7826 MB / 0.6182 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3436, allocations: 23.98 kB / 0.6182 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3437, allocations: 15.92 kB / 0.6182 GB, free: 10.63 MB / 494.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.0001992/0.3439, allocations: 193.1 kB / 0.6184 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.3439, allocations: 35.77 kB / 0.6184 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.3451, allocations: 0.5486 MB / 0.619 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.3451, allocations: 7.984 kB / 0.619 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.3451, allocations: 0 / 0.619 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3451, allocations: 3.938 kB / 0.619 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.3471, allocations: 1.044 MB / 0.62 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3471, allocations: 0 / 0.62 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.3474, allocations: 71.89 kB / 0.6201 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.3477, allocations: 52.8 kB / 0.6201 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.3478, allocations: 8 kB / 0.6201 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.3492, allocations: 1.434 MB / 0.6215 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3492, allocations: 4 kB / 0.6215 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3506, allocations: 0.6908 MB / 0.6222 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.3508, allocations: 136.8 kB / 0.6223 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.3508, allocations: 11.98 kB / 0.6224 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3511, allocations: 12 kB / 0.6224 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3512, allocations: 23.95 kB / 0.6224 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3512, allocations: 8 kB / 0.6224 GB, free: 6.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.3515, allocations: 223.2 kB / 0.6226 GB, free: 5.875 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3515, allocations: 0 / 0.6226 GB, free: 5.875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003134/0.3546, allocations: 0.8813 MB / 0.6235 GB, free: 4.992 MB / 494.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.005204/0.3598, allocations: 0.9542 MB / 0.6244 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.362, allocations: 0.5468 MB / 0.6249 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.362, allocations: 3.938 kB / 0.6249 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000705/0.3627, allocations: 298.5 kB / 0.6252 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3638, allocations: 149.1 kB / 0.6254 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3659, allocations: 1.049 MB / 0.6264 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.3665, allocations: 0.8002 MB / 0.6272 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3666, allocations: 31.42 kB / 0.6272 GB, free: 1.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3666, allocations: 0 / 0.6272 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Templates: time 0.327/0.6936, allocations: 19.74 MB / 0.6465 GB, free: 121.9 MB / 0.4981 GB " [Timeout remaining time 659] 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: 11.259924650890753] Failed to read output from testmodel.py, exit status != 0: 0.701996830990538 0.7143598409999999 0.462367937 Calling exit ...