Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.001582/0.001582, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001822/0.001822, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.421/1.421, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.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.3269/0.3269, allocations: 49.53 MB / 334.4 MB, free: 4.68 MB / 270.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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [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.002473/0.002473, allocations: 75.89 kB / 474.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1431, allocations: 62.33 MB / 0.524 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.4095/0.5525, allocations: 109.1 MB / 0.6305 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.5708, allocations: 11.62 MB / 0.6419 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.5721, allocations: 19.88 kB / 0.6419 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.5743, allocations: 0.5628 MB / 0.6425 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.5762, allocations: 0.6291 MB / 0.6431 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01845/0.5947, allocations: 5.682 MB / 0.6486 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.598, allocations: 1.65 MB / 0.6502 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.5994, allocations: 0.5199 MB / 0.6507 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.601, allocations: 0.65 MB / 0.6514 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009719/0.6019, allocations: 0.6614 MB / 0.652 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.602, allocations: 64 kB / 0.6521 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.6168, allocations: 6.458 MB / 0.6584 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.6172, allocations: 163.3 kB / 0.6585 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.6179, allocations: 430 kB / 0.6589 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.6292, allocations: 4.31 MB / 0.6632 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.6292, allocations: 0 / 0.6632 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6292, allocations: 7.938 kB / 0.6632 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.6292, allocations: 0 / 0.6632 GB, free: 8.148 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.004319/0.6336, allocations: 1.575 MB / 0.6647 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6336, allocations: 15.89 kB / 0.6647 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.634, allocations: 116.3 kB / 0.6648 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.6347, allocations: 0.4939 MB / 0.6653 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.6348, allocations: 45.69 kB / 0.6654 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.6349, allocations: 64.56 kB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.6366, allocations: 0.814 MB / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6366, allocations: 7.938 kB / 0.6662 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.6367, allocations: 24 kB / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6367, allocations: 16 kB / 0.6663 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.6382, allocations: 0.5866 MB / 0.6668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.643, allocations: 4.393 MB / 0.6711 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.6444, allocations: 468.7 kB / 0.6716 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.6448, allocations: 157.6 kB / 0.6717 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06774/0.7126, allocations: 32.13 MB / 0.7031 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.7126, allocations: 38.56 kB / 0.7031 GB, free: 10.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/0.7126, allocations: 4 kB / 0.7031 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002423/0.715, allocations: 0.6909 MB / 0.7038 GB, free: 10.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.7151, allocations: 89.05 kB / 0.7039 GB, free: 9.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.7157, allocations: 482.9 kB / 0.7044 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.7157, allocations: 29.7 kB / 0.7044 GB, free: 9.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.716, allocations: 340.2 kB / 0.7047 GB, free: 9.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7161, allocations: 115 kB / 0.7048 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.7162, allocations: 73.97 kB / 0.7049 GB, free: 8.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.7164, allocations: 362.8 kB / 0.7052 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.7168, allocations: 134.1 kB / 0.7054 GB, free: 8.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.7171, allocations: 197.8 kB / 0.7055 GB, free: 8.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.7179, allocations: 337.4 kB / 0.7059 GB, free: 7.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7179, allocations: 4 kB / 0.7059 GB, free: 7.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009656/0.7188, allocations: 425.1 kB / 0.7063 GB, free: 7.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.7189, allocations: 11.97 kB / 0.7063 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7189, allocations: 4 kB / 0.7063 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.7189, allocations: 7.938 kB / 0.7063 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.7193, allocations: 88.75 kB / 0.7064 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7194, allocations: 4 kB / 0.7064 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.7197, allocations: 55.55 kB / 0.7064 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.7198, allocations: 19.98 kB / 0.7065 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000405/0.7202, allocations: 228.7 kB / 0.7067 GB, free: 6.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002984/0.7205, allocations: 183.9 kB / 0.7069 GB, free: 6.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005317/0.721, allocations: 307.1 kB / 0.7072 GB, free: 6.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.721, allocations: 4 kB / 0.7072 GB, free: 6.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007161/0.7217, allocations: 372.9 kB / 0.7075 GB, free: 6.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7217, allocations: 8 kB / 0.7075 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7217, allocations: 4 kB / 0.7075 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.7217, allocations: 10.69 kB / 0.7075 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.7221, allocations: 92.16 kB / 0.7076 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.7221, allocations: 11.94 kB / 0.7076 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7223, allocations: 27.88 kB / 0.7077 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.7224, allocations: 16 kB / 0.7077 GB, free: 5.891 MB / 0.545 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.0002218/0.7226, allocations: 197.1 kB / 0.7079 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7227, allocations: 59.62 kB / 0.7079 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.7249, allocations: 1.578 MB / 0.7095 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/0.7249, allocations: 27.95 kB / 0.7095 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.725, allocations: 0 / 0.7095 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.725, allocations: 0 / 0.7095 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.7263, allocations: 0.9793 MB / 0.7104 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.7263, allocations: 0 / 0.7104 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.7266, allocations: 67.89 kB / 0.7105 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7266, allocations: 0 / 0.7105 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.7267, allocations: 15.94 kB / 0.7105 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.7267, allocations: 4 kB / 0.7105 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7267, allocations: 3.984 kB / 0.7105 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.7281, allocations: 0.9852 MB / 0.7115 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.7283, allocations: 204.1 kB / 0.7117 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.7284, allocations: 15.94 kB / 0.7117 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.7287, allocations: 15.98 kB / 0.7117 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.7288, allocations: 47.92 kB / 0.7118 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.7288, allocations: 9.188 kB / 0.7118 GB, free: 1.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000373/0.7292, allocations: 326.9 kB / 0.7121 GB, free: 1.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7292, allocations: 0 / 0.7121 GB, free: 1.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00303/0.7322, allocations: 1.068 MB / 0.7131 GB, free: 208 kB / 0.545 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.003955/0.7362, allocations: 0.9812 MB / 0.7141 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.7376, allocations: 0.6328 MB / 0.7147 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7376, allocations: 0 / 0.7147 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.7382, allocations: 329.5 kB / 0.715 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.7399, allocations: 312.9 kB / 0.7153 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.743, allocations: 1.619 MB / 0.7169 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.7436, allocations: 0.9829 MB / 0.7179 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007075/0.7443, allocations: 383.7 kB / 0.7182 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.7445, allocations: 55.42 kB / 0.7183 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.7445, allocations: 0 / 0.7183 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.05847/0.8029, allocations: 39.16 MB / 0.7565 GB, free: 3.641 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8771808529272676]