Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001185/0.001185, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004217/0.004217, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8945/0.8945, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1738/0.1738, allocations: 36.35 MB / 275.1 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 415.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.438e-05, allocations: 2.281 kB / 415.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01157/0.0116, allocations: 14.31 MB / 430 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1698/0.1814, allocations: 12.16 MB / 442.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1816, allocations: 2 kB / 442.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.182, allocations: 114.8 kB / 442.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.1825, allocations: 245 kB / 442.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.1948, allocations: 5.527 MB / 448 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.196, allocations: 1.052 MB / 449.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.1961, allocations: 18.08 kB / 449.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.1967, allocations: 0.589 MB / 449.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.1973, allocations: 443.2 kB / 450.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1975, allocations: 41.94 kB / 450.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.2083, allocations: 6.112 MB / 456.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.2085, allocations: 188.9 kB / 456.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.2089, allocations: 208.2 kB / 456.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.2197, allocations: 5.007 MB / 461.7 MB, free: 9.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2197, allocations: 7.938 kB / 461.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2197, allocations: 0 / 461.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2197, allocations: 1.5 kB / 461.7 MB, free: 9.543 MB / 362.7 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.004224/0.224, allocations: 1.443 MB / 463.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.224, allocations: 14.41 kB / 463.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008021/0.2248, allocations: 160.3 kB / 463.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.2252, allocations: 295.4 kB / 463.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.2254, allocations: 315 kB / 463.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.2255, allocations: 36.39 kB / 463.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.2283, allocations: 1.978 MB / 465.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2283, allocations: 3.094 kB / 465.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.2283, allocations: 20.28 kB / 465.9 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.2284, allocations: 11.94 kB / 466 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.2321, allocations: 2.64 MB / 468.6 MB, free: 5.5 MB / 362.7 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.002353/0.2344, allocations: 3.734 MB / 472.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.2364, allocations: 1.334 MB / 473.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.2377, allocations: 0.977 MB / 474.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07507/0.3128, allocations: 42.24 MB / 0.5048 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3128, allocations: 37.52 kB / 0.5048 GB, free: 5.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.3128, allocations: 0 / 0.5048 GB, free: 5.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.01252/0.3253, allocations: 5.787 MB / 0.5104 GB, free: 15.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3254, allocations: 55.41 kB / 0.5105 GB, free: 15.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3255, allocations: 153.7 kB / 0.5106 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-05/0.3256, allocations: 37.64 kB / 0.5107 GB, free: 15.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.3257, allocations: 154.4 kB / 0.5108 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3258, allocations: 153.2 kB / 0.511 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.3261, allocations: 225.9 kB / 0.5112 GB, free: 14.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.3262, allocations: 330.8 kB / 0.5115 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.3283, allocations: 1.12 MB / 0.5126 GB, free: 13.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.3303, allocations: 1.203 MB / 0.5138 GB, free: 12.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/0.334, allocations: 1.981 MB / 0.5157 GB, free: 10.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.334, allocations: 0 / 0.5157 GB, free: 10.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004318/0.3383, allocations: 2.329 MB / 0.518 GB, free: 7.895 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.3384, allocations: 8 kB / 0.518 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3384, allocations: 7.984 kB / 0.518 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.3384, allocations: 4 kB / 0.518 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.3397, allocations: 492.4 kB / 0.5185 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.3398, allocations: 9.625 kB / 0.5185 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3408, allocations: 251.6 kB / 0.5187 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3409, allocations: 79.86 kB / 0.5188 GB, free: 7.07 MB / 426.7 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.0004023/0.3413, allocations: 171.2 kB / 0.519 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.3415, allocations: 27.8 kB / 0.519 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007116/0.3486, allocations: 7.451 MB / 0.5263 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006363/0.3549, allocations: 6.889 MB / 0.533 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3549, allocations: 3.938 kB / 0.533 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.355, allocations: 3.984 kB / 0.533 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009151/0.3641, allocations: 10.63 MB / 0.5434 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3641, allocations: 3.984 kB / 0.5434 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.3653, allocations: 499.5 kB / 0.5439 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.3653, allocations: 0 / 0.5439 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.3654, allocations: 51.91 kB / 0.5439 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3654, allocations: 0 / 0.5439 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3654, allocations: 0 / 0.5439 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006842/0.3722, allocations: 4.543 MB / 0.5483 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.3726, allocations: 203.2 kB / 0.5485 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/0.3727, allocations: 19.98 kB / 0.5486 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/0.3735, allocations: 256.5 kB / 0.5488 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3737, allocations: 72.81 kB / 0.5489 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.3737, allocations: 55.91 kB / 0.5489 GB, free: 7.891 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.92e-05/0.3738, allocations: 110.2 kB / 0.549 GB, free: 7.785 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 7.938 kB / 0.549 GB, free: 7.777 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003306/0.3771, allocations: 0.9789 MB / 0.55 GB, free: 6.797 MB / 458.7 MB 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.003398/0.3805, allocations: 1.098 MB / 0.5511 GB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004278/0.3848, allocations: 2.631 MB / 0.5536 GB, free: 3.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3848, allocations: 0 / 0.5536 GB, free: 3.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.387, allocations: 1.412 MB / 0.555 GB, free: 1.727 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.3875, allocations: 118.6 kB / 0.5551 GB, free: 1.613 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.3905, allocations: 2.19 MB / 0.5573 GB, free: 15.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.3907, allocations: 317.8 kB / 0.5576 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.3913, allocations: 188.2 kB / 0.5578 GB, free: 14.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/0.3913, allocations: 0 / 0.5578 GB, free: 14.86 MB / 474.7 MB Notification: Performance of Templates: time 0.03019/0.4215, allocations: 28.66 MB / 0.5857 GB, free: 2.125 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.176257967948914] Failed to read output from testmodel.py, exit status != 0: 0.42835976276546717 0.43654558400000004 0.2149127 Calling exit ...