Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.001436/0.001436, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001511/0.001511, allocations: 210 kB / 24.5 MB, free: 4.133 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.1527/0.1527, allocations: 26.81 MB / 341.5 MB, free: 8.238 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.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [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.002112/0.002112, allocations: 64.12 kB / 478.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 60.49 MB / 0.5261 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01728/0.3837, allocations: 15.9 MB / 0.5416 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.4018, allocations: 13.9 MB / 0.5552 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.4021, allocations: 6.906 kB / 0.5552 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.4026, allocations: 130.5 kB / 0.5553 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008677/0.4035, allocations: 249 kB / 0.5556 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01902/0.4225, allocations: 5.534 MB / 0.561 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.4242, allocations: 1.044 MB / 0.562 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.4242, allocations: 17.08 kB / 0.562 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.4254, allocations: 0.4992 MB / 0.5625 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.4265, allocations: 467.1 kB / 0.5629 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.4268, allocations: 41.78 kB / 0.563 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/0.4421, allocations: 6.388 MB / 0.5692 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.4428, allocations: 187.5 kB / 0.5694 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.4436, allocations: 243.2 kB / 0.5696 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.457, allocations: 3.944 MB / 0.5735 GB, free: 4.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.457, allocations: 0 / 0.5735 GB, free: 4.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.457, allocations: 0 / 0.5735 GB, free: 4.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.457, allocations: 0 / 0.5735 GB, free: 4.371 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005899/0.4629, allocations: 1.466 MB / 0.5749 GB, free: 2.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.463, allocations: 8.031 kB / 0.5749 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.4657, allocations: 368.3 kB / 0.5753 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.4665, allocations: 298 kB / 0.5755 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.467, allocations: 310.8 kB / 0.5758 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.4671, allocations: 40.06 kB / 0.5759 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.4722, allocations: 1.884 MB / 0.5777 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4723, allocations: 0 / 0.5777 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.4724, allocations: 12 kB / 0.5777 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4724, allocations: 8.656 kB / 0.5777 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007298/0.4797, allocations: 2.652 MB / 0.5803 GB, free: 13.2 MB / 430.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.005554/0.4852, allocations: 4.805 MB / 0.585 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.4892, allocations: 1.342 MB / 0.5863 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.4918, allocations: 0.9771 MB / 0.5873 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1506/0.6423, allocations: 43.81 MB / 0.6301 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.6424, allocations: 38.89 kB / 0.6301 GB, free: 9.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 3.086e-06/0.6424, allocations: 0 / 0.6301 GB, free: 9.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02344/0.6658, allocations: 5.777 MB / 0.6357 GB, free: 3.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.6659, allocations: 55.41 kB / 0.6358 GB, free: 3.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.6661, allocations: 164.3 kB / 0.636 GB, free: 3.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.6662, allocations: 37.7 kB / 0.636 GB, free: 3.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.6664, allocations: 152.9 kB / 0.6361 GB, free: 3.293 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.6666, allocations: 150.6 kB / 0.6363 GB, free: 3.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.6671, allocations: 225.8 kB / 0.6365 GB, free: 2.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6672, allocations: 330.8 kB / 0.6368 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/0.6709, allocations: 1.121 MB / 0.6379 GB, free: 1.465 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.6748, allocations: 1.204 MB / 0.6391 GB, free: 236 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006976/0.6817, allocations: 1.976 MB / 0.641 GB, free: 14.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6817, allocations: 0 / 0.641 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007999/0.6897, allocations: 2.335 MB / 0.6433 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6898, allocations: 8 kB / 0.6433 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6898, allocations: 4 kB / 0.6433 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.6898, allocations: 4 kB / 0.6433 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.6924, allocations: 491.5 kB / 0.6438 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.6924, allocations: 11.92 kB / 0.6438 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.6942, allocations: 251.6 kB / 0.644 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.6944, allocations: 83.86 kB / 0.6441 GB, free: 11.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004452/0.6949, allocations: 173.7 kB / 0.6443 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.6951, allocations: 19.91 kB / 0.6443 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.7079, allocations: 7.44 MB / 0.6516 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01134/0.7192, allocations: 6.896 MB / 0.6583 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.7192, allocations: 0 / 0.6583 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7192, allocations: 3.984 kB / 0.6583 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.7356, allocations: 10.86 MB / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7356, allocations: 8 kB / 0.6689 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/0.7382, allocations: 499.2 kB / 0.6694 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.7382, allocations: 4 kB / 0.6694 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.7384, allocations: 47.91 kB / 0.6694 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.7384, allocations: 15.86 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7384, allocations: 0 / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.7499, allocations: 4.535 MB / 0.6739 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.7505, allocations: 207.1 kB / 0.6741 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.7507, allocations: 12 kB / 0.6741 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.7524, allocations: 259.6 kB / 0.6743 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.7526, allocations: 80.81 kB / 0.6744 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.7527, allocations: 55.91 kB / 0.6745 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001132/0.7528, allocations: 109.9 kB / 0.6746 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7528, allocations: 0 / 0.6746 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003039/0.7558, allocations: 0.9867 MB / 0.6755 GB, free: 10.45 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.004225/0.7601, allocations: 0.9929 MB / 0.6765 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007878/0.768, allocations: 2.623 MB / 0.6791 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.768, allocations: 0 / 0.6791 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/0.7719, allocations: 1.408 MB / 0.6804 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.7728, allocations: 107.8 kB / 0.6805 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.7781, allocations: 2.217 MB / 0.6827 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.7787, allocations: 0.9243 MB / 0.6836 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009823/0.7797, allocations: 179.1 kB / 0.6838 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.7797, allocations: 0 / 0.6838 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of Templates: time 0.0444/0.8241, allocations: 28.45 MB / 0.7116 GB, free: 5.441 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.084096075966954] Failed to read output from testmodel.py, exit status != 0: 0.8339854509104043 0.847918089 0.38770744399999996 Calling exit ...