Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.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.00133/0.00133, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001418/0.001418, allocations: 210.2 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.1439/0.1439, allocations: 26.82 MB / 340.7 MB, free: 8.289 MB / 270.1 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 59.91 kB / 477.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3035, allocations: 60.5 MB / 0.5252 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1129/0.4165, allocations: 109.4 MB / 0.632 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.4327, allocations: 11.7 MB / 0.6435 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009513/0.4336, allocations: 31.69 kB / 0.6435 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.4354, allocations: 0.5628 MB / 0.6441 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.4368, allocations: 0.6251 MB / 0.6447 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.4532, allocations: 5.741 MB / 0.6503 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.4558, allocations: 1.665 MB / 0.6519 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.4569, allocations: 0.5244 MB / 0.6524 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.458, allocations: 0.6694 MB / 0.6531 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008996/0.4589, allocations: 0.6458 MB / 0.6537 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.459, allocations: 71.94 kB / 0.6538 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.4716, allocations: 6.49 MB / 0.6601 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.4719, allocations: 171.3 kB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.4725, allocations: 426 kB / 0.6607 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008856/0.4813, allocations: 4.333 MB / 0.6649 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4813, allocations: 4 kB / 0.6649 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4813, allocations: 0 / 0.6649 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.4813, allocations: 3.984 kB / 0.6649 GB, free: 5.523 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003771/0.4851, allocations: 1.526 MB / 0.6664 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4852, allocations: 8.031 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/0.4858, allocations: 148.3 kB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.4866, allocations: 446.5 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.4866, allocations: 49.69 kB / 0.667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.4867, allocations: 60.38 kB / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.4884, allocations: 0.8139 MB / 0.6679 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4884, allocations: 4 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.4884, allocations: 28 kB / 0.6679 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.4885, allocations: 16 kB / 0.6679 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.49, allocations: 0.5827 MB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004494/0.4945, allocations: 4.354 MB / 0.6727 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4959, allocations: 460.8 kB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.4963, allocations: 164.6 kB / 0.6733 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06035/0.5566, allocations: 17.48 MB / 0.6904 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.5567, allocations: 38.5 kB / 0.6904 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.5567, allocations: 0 / 0.6904 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002327/0.559, allocations: 0.7037 MB / 0.6911 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.559, allocations: 81.11 kB / 0.6912 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.5596, allocations: 483 kB / 0.6917 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.5597, allocations: 29.7 kB / 0.6917 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.5599, allocations: 344.2 kB / 0.692 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.5601, allocations: 118.9 kB / 0.6921 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.5602, allocations: 81.95 kB / 0.6922 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5604, allocations: 358.8 kB / 0.6926 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.5607, allocations: 130.1 kB / 0.6927 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.5611, allocations: 201.8 kB / 0.6929 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007152/0.5619, allocations: 331.1 kB / 0.6932 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5619, allocations: 4 kB / 0.6932 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001017/0.5629, allocations: 428.3 kB / 0.6936 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5629, allocations: 8 kB / 0.6936 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5629, allocations: 3.938 kB / 0.6936 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.5629, allocations: 7.984 kB / 0.6936 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.5634, allocations: 87.88 kB / 0.6937 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5634, allocations: 8.25 kB / 0.6937 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.5637, allocations: 51.67 kB / 0.6938 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.5638, allocations: 23.91 kB / 0.6938 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004063/0.5642, allocations: 228.7 kB / 0.694 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002907/0.5645, allocations: 192 kB / 0.6942 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005281/0.565, allocations: 310.8 kB / 0.6945 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.565, allocations: 0 / 0.6945 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007555/0.5657, allocations: 380.6 kB / 0.6948 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5658, allocations: 4 kB / 0.6949 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5658, allocations: 4 kB / 0.6949 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.5658, allocations: 11.88 kB / 0.6949 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.5661, allocations: 95.75 kB / 0.695 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5661, allocations: 4 kB / 0.695 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.5663, allocations: 31.83 kB / 0.695 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.5664, allocations: 16 kB / 0.695 GB, free: 5.867 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.5665, allocations: 204.2 kB / 0.6952 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5667, allocations: 59.62 kB / 0.6953 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.5689, allocations: 1.636 MB / 0.6969 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.5689, allocations: 19.95 kB / 0.6969 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5689, allocations: 4 kB / 0.6969 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5689, allocations: 0 / 0.6969 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5701, allocations: 0.9824 MB / 0.6978 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5701, allocations: 0 / 0.6978 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.5704, allocations: 67.89 kB / 0.6979 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.5704, allocations: 4 kB / 0.6979 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.5705, allocations: 11.92 kB / 0.6979 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5705, allocations: 4 kB / 0.6979 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5705, allocations: 0 / 0.6979 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.5719, allocations: 1.013 MB / 0.6989 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.5721, allocations: 123.1 kB / 0.699 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.5722, allocations: 15.94 kB / 0.699 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.5725, allocations: 15.98 kB / 0.6991 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.5726, allocations: 43.92 kB / 0.6991 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.5726, allocations: 4 kB / 0.6991 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003553/0.573, allocations: 334.9 kB / 0.6994 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.573, allocations: 3.938 kB / 0.6994 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002612/0.5756, allocations: 1.08 MB / 0.7005 GB, free: 180 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003822/0.5794, allocations: 0.9893 MB / 0.7014 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.5809, allocations: 0.6422 MB / 0.7021 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5809, allocations: 0 / 0.7021 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.5815, allocations: 349.1 kB / 0.7024 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.5833, allocations: 302.2 kB / 0.7027 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.5865, allocations: 1.657 MB / 0.7043 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/0.5873, allocations: 0.9828 MB / 0.7053 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007505/0.588, allocations: 387.8 kB / 0.7056 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.5882, allocations: 47.44 kB / 0.7057 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.5882, allocations: 0 / 0.7057 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.258/0.8462, allocations: 39.5 MB / 0.7443 GB, free: 186.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.511048445478082] Failed to read output from testmodel.py, exit status != 0: 0.8552667051553726 0.864866891 0.38117051 Calling exit ...