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.001326/0.001326, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001514/0.001514, allocations: 214.2 kB / 23.75 MB, free: 4.668 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1753/0.1753, allocations: 26.82 MB / 340.7 MB, free: 8.188 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.002115/0.002115, allocations: 71.91 kB / 477.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2964, allocations: 60.49 MB / 0.5253 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.016/0.3124, allocations: 15.91 MB / 0.5409 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.331, allocations: 13.91 MB / 0.5544 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3313, allocations: 5.125 kB / 0.5544 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.3318, allocations: 128.3 kB / 0.5546 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007854/0.3326, allocations: 253 kB / 0.5548 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01929/0.3518, allocations: 5.522 MB / 0.5602 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.3534, allocations: 1.044 MB / 0.5612 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.3535, allocations: 13.41 kB / 0.5612 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.3546, allocations: 0.511 MB / 0.5617 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009904/0.3556, allocations: 462.4 kB / 0.5622 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.3558, allocations: 41.75 kB / 0.5622 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.37, allocations: 6.391 MB / 0.5685 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.3704, allocations: 179.5 kB / 0.5686 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.371, allocations: 251.1 kB / 0.5689 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009469/0.3804, allocations: 3.941 MB / 0.5727 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3804, allocations: 0 / 0.5727 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3804, allocations: 0 / 0.5727 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3804, allocations: 0 / 0.5727 GB, free: 4.379 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.005841/0.3863, allocations: 1.462 MB / 0.5741 GB, free: 2.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3863, allocations: 8.031 kB / 0.5742 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.3892, allocations: 368.4 kB / 0.5745 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.39, allocations: 290 kB / 0.5748 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/0.3904, allocations: 318.7 kB / 0.5751 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3906, allocations: 44.05 kB / 0.5751 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.396, allocations: 1.876 MB / 0.577 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.396, allocations: 3.984 kB / 0.577 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3961, allocations: 12 kB / 0.577 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.3961, allocations: 20.64 kB / 0.577 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007556/0.4037, allocations: 2.648 MB / 0.5796 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.005699/0.4094, allocations: 4.801 MB / 0.5843 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.4136, allocations: 1.338 MB / 0.5856 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.4163, allocations: 0.9771 MB / 0.5865 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.155/0.5713, allocations: 43.81 MB / 0.6293 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.5714, allocations: 34.89 kB / 0.6294 GB, free: 9.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.5714, allocations: 0 / 0.6294 GB, free: 9.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02304/0.5944, allocations: 5.781 MB / 0.635 GB, free: 3.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5945, allocations: 59.41 kB / 0.6351 GB, free: 3.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.5946, allocations: 153.5 kB / 0.6352 GB, free: 3.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5947, allocations: 41.64 kB / 0.6352 GB, free: 3.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.5949, allocations: 152.8 kB / 0.6354 GB, free: 3.301 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.5951, allocations: 158.6 kB / 0.6355 GB, free: 3.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.5955, allocations: 217.8 kB / 0.6357 GB, free: 2.922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5957, allocations: 334.8 kB / 0.6361 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003777/0.5995, allocations: 1.117 MB / 0.6372 GB, free: 1.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.6034, allocations: 1.204 MB / 0.6383 GB, free: 240 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.6104, allocations: 1.976 MB / 0.6403 GB, free: 14.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6104, allocations: 0 / 0.6403 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007997/0.6184, allocations: 2.339 MB / 0.6425 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6184, allocations: 4 kB / 0.6425 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6184, allocations: 4 kB / 0.6425 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.6184, allocations: 4 kB / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.6211, allocations: 499.5 kB / 0.643 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.6211, allocations: 12 kB / 0.643 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.623, allocations: 247.6 kB / 0.6433 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.6232, allocations: 83.86 kB / 0.6434 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.0004535/0.6237, allocations: 173.6 kB / 0.6435 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.6239, allocations: 19.91 kB / 0.6435 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.637, allocations: 7.44 MB / 0.6508 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01153/0.6485, allocations: 6.893 MB / 0.6575 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6485, allocations: 3.938 kB / 0.6575 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.6485, allocations: 3.984 kB / 0.6575 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.6652, allocations: 10.86 MB / 0.6682 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6652, allocations: 0 / 0.6682 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/0.6678, allocations: 495.2 kB / 0.6686 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.6678, allocations: 4 kB / 0.6686 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.668, allocations: 47.91 kB / 0.6687 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.668, allocations: 15.86 kB / 0.6687 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.668, allocations: 0 / 0.6687 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.6798, allocations: 4.535 MB / 0.6731 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/0.6804, allocations: 203.1 kB / 0.6733 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.6805, allocations: 16.06 kB / 0.6733 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.6822, allocations: 255.6 kB / 0.6736 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.6824, allocations: 84.8 kB / 0.6737 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.6826, allocations: 51.91 kB / 0.6737 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000105/0.6827, allocations: 118 kB / 0.6738 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6827, allocations: 0 / 0.6738 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002659/0.6853, allocations: 0.9828 MB / 0.6748 GB, free: 10.46 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.003815/0.6891, allocations: 0.9996 MB / 0.6758 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007871/0.697, allocations: 2.626 MB / 0.6783 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.697, allocations: 0 / 0.6783 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/0.7008, allocations: 1.412 MB / 0.6797 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.7016, allocations: 103.8 kB / 0.6798 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/0.7068, allocations: 2.188 MB / 0.6819 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.7074, allocations: 0.9321 MB / 0.6828 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0022/0.7096, allocations: 1.282 MB / 0.6841 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007856/0.7104, allocations: 159.2 kB / 0.6842 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.7104, allocations: 0 / 0.6842 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of Templates: time 0.06431/0.7747, allocations: 44.95 MB / 0.7281 GB, free: 3.758 MB / 0.5606 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: 32.38131947442889] Failed to read output from testmodel.py, exit status != 0: 0.7836497649550438 0.953718876 0.570551381 Calling exit ...