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.001645/0.001645, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001765/0.001765, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.403/1.403, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2929/0.2929, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001674/0.001674, allocations: 63.91 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.136, allocations: 59.18 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.4271/0.5631, allocations: 107.3 MB / 0.6032 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.5804, allocations: 11.56 MB / 0.6145 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.5819, allocations: 21.09 kB / 0.6145 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.5843, allocations: 0.5638 MB / 0.6151 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.5866, allocations: 0.6165 MB / 0.6157 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.6059, allocations: 5.661 MB / 0.6212 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.6091, allocations: 1.642 MB / 0.6228 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.6105, allocations: 0.6299 MB / 0.6234 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.6121, allocations: 0.6578 MB / 0.6241 GB, free: 9.473 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.6133, allocations: 0.6224 MB / 0.6247 GB, free: 8.848 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.6135, allocations: 68 kB / 0.6247 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.6287, allocations: 6.433 MB / 0.631 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.6291, allocations: 163.4 kB / 0.6312 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009783/0.6301, allocations: 430 kB / 0.6316 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.644, allocations: 4.303 MB / 0.6358 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.644, allocations: 0 / 0.6358 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.644, allocations: 0 / 0.6358 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.329e-05/0.6441, allocations: 0 / 0.6358 GB, free: 13.45 MB / 494.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.005879/0.65, allocations: 1.548 MB / 0.6373 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.65, allocations: 15.89 kB / 0.6373 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.6506, allocations: 104 kB / 0.6374 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.6518, allocations: 0.4896 MB / 0.6379 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.6519, allocations: 53.62 kB / 0.6379 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.6522, allocations: 60.56 kB / 0.638 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.6543, allocations: 0.8062 MB / 0.6388 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.6543, allocations: 7.938 kB / 0.6388 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.6544, allocations: 24 kB / 0.6388 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.6544, allocations: 20 kB / 0.6388 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.656, allocations: 0.5905 MB / 0.6394 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005045/0.6611, allocations: 4.385 MB / 0.6437 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.6626, allocations: 492.8 kB / 0.6442 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.663, allocations: 177.6 kB / 0.6443 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06946/0.7325, allocations: 32.13 MB / 0.6757 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.7326, allocations: 36.94 kB / 0.6757 GB, free: 72 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.7326, allocations: 0 / 0.6757 GB, free: 72 kB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.00252/0.7351, allocations: 0.7061 MB / 0.6764 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.7352, allocations: 81.11 kB / 0.6765 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.7359, allocations: 467 kB / 0.677 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.736, allocations: 29.7 kB / 0.677 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.7362, allocations: 339.7 kB / 0.6773 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.7364, allocations: 110.3 kB / 0.6774 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.7365, allocations: 81.91 kB / 0.6775 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.7367, allocations: 362.8 kB / 0.6778 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.7371, allocations: 130.1 kB / 0.678 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.7375, allocations: 209.7 kB / 0.6782 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.7382, allocations: 326.1 kB / 0.6785 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7383, allocations: 0 / 0.6785 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001093/0.7394, allocations: 432.6 kB / 0.6789 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.7394, allocations: 7.906 kB / 0.6789 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.7394, allocations: 7.938 kB / 0.6789 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.7394, allocations: 11.88 kB / 0.6789 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.7399, allocations: 87.88 kB / 0.679 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.74, allocations: 8.25 kB / 0.679 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.7404, allocations: 43.58 kB / 0.679 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.7404, allocations: 19.98 kB / 0.6791 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004406/0.7409, allocations: 216.8 kB / 0.6793 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003138/0.7412, allocations: 187.4 kB / 0.6795 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005728/0.7418, allocations: 306.9 kB / 0.6797 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/0.7418, allocations: 0 / 0.6797 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007552/0.7426, allocations: 381.1 kB / 0.6801 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7426, allocations: 11.94 kB / 0.6801 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7426, allocations: 0 / 0.6801 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.7426, allocations: 8 kB / 0.6801 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.7429, allocations: 87.81 kB / 0.6802 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.7429, allocations: 4 kB / 0.6802 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.7432, allocations: 35.73 kB / 0.6803 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.7433, allocations: 12.56 kB / 0.6803 GB, free: 11.22 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.0001957/0.7435, allocations: 212.1 kB / 0.6805 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.7437, allocations: 55.34 kB / 0.6805 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.7458, allocations: 1.566 MB / 0.682 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.7458, allocations: 19.97 kB / 0.6821 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.7458, allocations: 4 kB / 0.6821 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.7458, allocations: 3.984 kB / 0.6821 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.747, allocations: 0.9761 MB / 0.683 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7471, allocations: 4 kB / 0.683 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.7474, allocations: 67.89 kB / 0.6831 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.7474, allocations: 0 / 0.6831 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.7475, allocations: 11.94 kB / 0.6831 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.7475, allocations: 2 kB / 0.6831 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7475, allocations: 0 / 0.6831 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.7489, allocations: 0.9884 MB / 0.6841 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.7491, allocations: 199.8 kB / 0.6843 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.7492, allocations: 11.94 kB / 0.6843 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.7496, allocations: 15.98 kB / 0.6843 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.7497, allocations: 47.83 kB / 0.6843 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.7497, allocations: 12 kB / 0.6843 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003794/0.7501, allocations: 330.9 kB / 0.6847 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.633e-06/0.7501, allocations: 0 / 0.6847 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003579/0.7537, allocations: 1.061 MB / 0.6857 GB, free: 5.555 MB / 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.004916/0.7586, allocations: 0.9774 MB / 0.6867 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.7602, allocations: 0.6532 MB / 0.6873 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7602, allocations: 0 / 0.6873 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.7609, allocations: 425 kB / 0.6877 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.7629, allocations: 304.2 kB / 0.688 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.7664, allocations: 1.619 MB / 0.6896 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.7671, allocations: 0.9829 MB / 0.6905 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7673, allocations: 51.42 kB / 0.6906 GB, free: 500 kB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.7674, allocations: 0 / 0.6906 GB, free: 500 kB / 0.5294 GB Notification: Performance of Templates: time 0.04254/0.8099, allocations: 23.17 MB / 0.7132 GB, free: 9.281 MB / 0.5606 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)