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.001393/0.001393, allocations: 78.39 kB / 20.52 MB, free: 1.211 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.001455/0.001455, allocations: 165.4 kB / 23.78 MB, free: 4.219 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.415/1.415, allocations: 177.2 MB / 204.2 MB, free: 9.258 MB / 190.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.137/0.137, allocations: 19.71 MB / 280.3 MB, free: 13.04 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.002165/0.002165, allocations: 63.91 kB / 417 MB, free: 0.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2473, allocations: 60.46 MB / 477.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01954/0.2668, allocations: 14.4 MB / 491.8 MB, free: 3.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2841, allocations: 12.16 MB / 0.4922 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2842, allocations: 7.938 kB / 0.4922 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.2846, allocations: 111.4 kB / 0.4923 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.2853, allocations: 234.6 kB / 0.4925 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01367/0.2989, allocations: 5.487 MB / 0.4979 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.3002, allocations: 1.022 MB / 0.4989 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.3003, allocations: 16.88 kB / 0.4989 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009502/0.3012, allocations: 0.6 MB / 0.4995 GB, free: 112 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.302, allocations: 458.9 kB / 0.4999 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.3021, allocations: 40 kB / 0.4999 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.3131, allocations: 6.118 MB / 0.5059 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.3134, allocations: 179.5 kB / 0.5061 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.3137, allocations: 227.3 kB / 0.5063 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006351/0.3201, allocations: 3.944 MB / 0.5102 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3201, allocations: 3.938 kB / 0.5102 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3201, allocations: 0 / 0.5102 GB, free: 5.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3201, allocations: 4 kB / 0.5102 GB, free: 5.137 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.00509/0.3252, allocations: 1.447 MB / 0.5116 GB, free: 3.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3252, allocations: 16.61 kB / 0.5116 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.3281, allocations: 356.4 kB / 0.5119 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.3287, allocations: 298 kB / 0.5122 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.3291, allocations: 318.7 kB / 0.5125 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.3293, allocations: 32.12 kB / 0.5125 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005163/0.3344, allocations: 1.98 MB / 0.5145 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3344, allocations: 0 / 0.5145 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.3345, allocations: 12 kB / 0.5145 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.3346, allocations: 12.66 kB / 0.5145 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007454/0.342, allocations: 2.644 MB / 0.5171 GB, free: 13.86 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.004791/0.3468, allocations: 3.744 MB / 0.5207 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/0.3509, allocations: 1.342 MB / 0.5221 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/0.3535, allocations: 0.9809 MB / 0.523 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1546/0.5082, allocations: 43.98 MB / 0.566 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.5082, allocations: 34.89 kB / 0.566 GB, free: 11.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.5082, allocations: 4 kB / 0.566 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02307/0.5313, allocations: 5.785 MB / 0.5717 GB, free: 5.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5313, allocations: 55.41 kB / 0.5717 GB, free: 5.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5315, allocations: 161.5 kB / 0.5719 GB, free: 5.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.5316, allocations: 29.7 kB / 0.5719 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5318, allocations: 148.9 kB / 0.572 GB, free: 5.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.532, allocations: 154.6 kB / 0.5722 GB, free: 4.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004994/0.5325, allocations: 229.9 kB / 0.5724 GB, free: 4.699 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5326, allocations: 326.8 kB / 0.5727 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/0.5364, allocations: 1.125 MB / 0.5738 GB, free: 3.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/0.5403, allocations: 1.212 MB / 0.575 GB, free: 2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007094/0.5474, allocations: 1.965 MB / 0.5769 GB, free: 16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5474, allocations: 7.875 kB / 0.5769 GB, free: 15.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008121/0.5555, allocations: 2.339 MB / 0.5792 GB, free: 13.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.5555, allocations: 4 kB / 0.5792 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5555, allocations: 4 kB / 0.5792 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5555, allocations: 4 kB / 0.5792 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.5583, allocations: 491.5 kB / 0.5797 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.5583, allocations: 11.94 kB / 0.5797 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.5602, allocations: 251.6 kB / 0.5799 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.5604, allocations: 83.86 kB / 0.58 GB, free: 12.81 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.0004005/0.5608, allocations: 169.7 kB / 0.5802 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.561, allocations: 27.84 kB / 0.5802 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5738, allocations: 7.441 MB / 0.5875 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01129/0.5851, allocations: 6.889 MB / 0.5942 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5851, allocations: 4 kB / 0.5942 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.5851, allocations: 7.984 kB / 0.5942 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6012, allocations: 10.63 MB / 0.6046 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6012, allocations: 0 / 0.6046 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/0.6038, allocations: 491.2 kB / 0.6051 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.6038, allocations: 8 kB / 0.6051 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.6039, allocations: 47.91 kB / 0.6051 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6039, allocations: 4 kB / 0.6051 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6039, allocations: 0 / 0.6051 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.6155, allocations: 4.547 MB / 0.6096 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005324/0.616, allocations: 207.1 kB / 0.6098 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.6162, allocations: 16 kB / 0.6098 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.6179, allocations: 255.7 kB / 0.61 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.6181, allocations: 72.81 kB / 0.6101 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.6183, allocations: 59.89 kB / 0.6101 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001055/0.6184, allocations: 114 kB / 0.6102 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6184, allocations: 0 / 0.6102 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002669/0.6211, allocations: 0.9867 MB / 0.6112 GB, free: 12.49 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.003762/0.6248, allocations: 0.9892 MB / 0.6122 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007806/0.6326, allocations: 2.623 MB / 0.6147 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.6326, allocations: 4 kB / 0.6147 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/0.6363, allocations: 1.404 MB / 0.6161 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.6371, allocations: 103.8 kB / 0.6162 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.6423, allocations: 2.196 MB / 0.6184 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.6427, allocations: 329.8 kB / 0.6187 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002277/0.6449, allocations: 1.29 MB / 0.6199 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/0.6457, allocations: 168.2 kB / 0.6201 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.6457, allocations: 0 / 0.6201 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of Templates: time 0.237/0.8827, allocations: 44.53 MB / 0.6636 GB, free: 147.9 MB / 0.5294 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: 28.9246776830405] Failed to read output from testmodel.py, exit status != 0: 0.8909617848694324 0.899489371 0.5771356200000001 Calling exit ...