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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108.8 kB / 16.62 MB, free: 6.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 189.8 kB / 17.54 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2753/0.2753, allocations: 48.84 MB / 319.6 MB, free: 11.26 MB / 270.1 MB 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.001316/0.001317, allocations: 64.8 kB / 389.6 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09879, allocations: 59.17 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3184/0.4172, allocations: 107.4 MB / 0.5431 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.4314, allocations: 11.76 MB / 0.5546 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.4328, allocations: 27.47 kB / 0.5546 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.4348, allocations: 494.8 kB / 0.5551 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.4366, allocations: 0.5777 MB / 0.5556 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/0.4517, allocations: 5.029 MB / 0.5606 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4543, allocations: 1.655 MB / 0.5622 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/0.4552, allocations: 0.6194 MB / 0.5628 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.4564, allocations: 0.65 MB / 0.5634 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008249/0.4572, allocations: 0.6397 MB / 0.564 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.4574, allocations: 65.59 kB / 0.5641 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.4694, allocations: 6.361 MB / 0.5703 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.4698, allocations: 163.4 kB / 0.5705 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.4707, allocations: 431.4 kB / 0.5709 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.4809, allocations: 4.313 MB / 0.5751 GB, free: 2.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4809, allocations: 1.906 kB / 0.5751 GB, free: 2.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4809, allocations: 0 / 0.5751 GB, free: 2.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4809, allocations: 3.938 kB / 0.5751 GB, free: 2.777 MB / 414.1 MB 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.00351/0.4845, allocations: 1.543 MB / 0.5766 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.4845, allocations: 11.48 kB / 0.5766 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.4848, allocations: 110.1 kB / 0.5767 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.4853, allocations: 478.2 kB / 0.5772 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.4854, allocations: 49.73 kB / 0.5772 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.4854, allocations: 64.19 kB / 0.5773 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4869, allocations: 0.8093 MB / 0.5781 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4869, allocations: 0 / 0.5781 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.4869, allocations: 33.59 kB / 0.5781 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.487, allocations: 16.72 kB / 0.5781 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.4882, allocations: 0.5819 MB / 0.5787 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.4921, allocations: 4.393 MB / 0.583 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.4934, allocations: 497 kB / 0.5835 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.4938, allocations: 177.5 kB / 0.5836 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06007/0.5539, allocations: 31.98 MB / 0.6149 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.554, allocations: 34.56 kB / 0.6149 GB, free: 14.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 4.248e-06/0.554, allocations: 0 / 0.6149 GB, free: 14.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002214/0.5562, allocations: 0.7025 MB / 0.6156 GB, free: 13.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5562, allocations: 85.05 kB / 0.6157 GB, free: 13.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.5567, allocations: 476.3 kB / 0.6161 GB, free: 13.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.5568, allocations: 31.95 kB / 0.6161 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.557, allocations: 338 kB / 0.6165 GB, free: 12.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.182e-05/0.5571, allocations: 111.6 kB / 0.6166 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.5572, allocations: 73.61 kB / 0.6166 GB, free: 12.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5574, allocations: 364.4 kB / 0.617 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.5577, allocations: 133.5 kB / 0.6171 GB, free: 12.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.5581, allocations: 202.8 kB / 0.6173 GB, free: 12.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.5588, allocations: 333.9 kB / 0.6176 GB, free: 11.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5588, allocations: 0 / 0.6176 GB, free: 11.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008933/0.5597, allocations: 426 kB / 0.618 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5597, allocations: 7.984 kB / 0.618 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5597, allocations: 8.25 kB / 0.618 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5597, allocations: 7.938 kB / 0.6181 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.5602, allocations: 87.25 kB / 0.6181 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.5602, allocations: 4 kB / 0.6181 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.5607, allocations: 80.42 kB / 0.6182 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.5608, allocations: 20.55 kB / 0.6182 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003565/0.5611, allocations: 219.1 kB / 0.6184 GB, free: 11.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002552/0.5614, allocations: 190.5 kB / 0.6186 GB, free: 10.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004864/0.5619, allocations: 313.8 kB / 0.6189 GB, free: 10.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.5619, allocations: 7.938 kB / 0.6189 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006467/0.5626, allocations: 369.4 kB / 0.6193 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5626, allocations: 8 kB / 0.6193 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5626, allocations: 4 kB / 0.6193 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5626, allocations: 4 kB / 0.6193 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.5629, allocations: 87.28 kB / 0.6194 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.563, allocations: 15.94 kB / 0.6194 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.5633, allocations: 65.64 kB / 0.6195 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5634, allocations: 17.25 kB / 0.6195 GB, free: 10.19 MB / 462.1 MB 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.0001563/0.5635, allocations: 197 kB / 0.6197 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5636, allocations: 55.84 kB / 0.6197 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.5655, allocations: 1.584 MB / 0.6213 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.5656, allocations: 23.95 kB / 0.6213 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5656, allocations: 0 / 0.6213 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5656, allocations: 0 / 0.6213 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5667, allocations: 0.9852 MB / 0.6223 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5668, allocations: 0 / 0.6223 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.5671, allocations: 63.89 kB / 0.6223 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5671, allocations: 0 / 0.6223 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.5671, allocations: 19.88 kB / 0.6223 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5672, allocations: 9.547 kB / 0.6223 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5672, allocations: 0 / 0.6223 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.5684, allocations: 0.9904 MB / 0.6233 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.5686, allocations: 191.8 kB / 0.6235 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.5687, allocations: 7.938 kB / 0.6235 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.5691, allocations: 63.78 kB / 0.6236 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.5693, allocations: 35.95 kB / 0.6236 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.5693, allocations: 16 kB / 0.6236 GB, free: 5.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.5696, allocations: 322.9 kB / 0.6239 GB, free: 5.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5696, allocations: 0 / 0.6239 GB, free: 5.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003269/0.5729, allocations: 1.069 MB / 0.625 GB, free: 4.496 MB / 462.1 MB 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.003521/0.5764, allocations: 0.9825 MB / 0.6259 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.578, allocations: 0.6732 MB / 0.6266 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.578, allocations: 192 / 0.6266 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.5787, allocations: 425.5 kB / 0.627 GB, free: 2.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.5807, allocations: 310.7 kB / 0.6273 GB, free: 2.199 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.584, allocations: 1.978 MB / 0.6292 GB, free: 200 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.5846, allocations: 0.979 MB / 0.6302 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007833/0.5854, allocations: 387.7 kB / 0.6305 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5856, allocations: 55.42 kB / 0.6306 GB, free: 14.76 MB / 478.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5856, allocations: 0 / 0.6306 GB, free: 14.76 MB / 478.1 MB Notification: Performance of Templates: time 0.0533/0.6389, allocations: 38.43 MB / 0.6681 GB, free: 8.316 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile (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)