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.001465/0.001465, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001769/0.001769, allocations: 213.9 kB / 24.5 MB, free: 4.145 MB / 14.72 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 1.525/1.525, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.3197/0.3197, allocations: 49.56 MB / 337.1 MB, free: 4.102 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 73.77 kB / 477.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1419, allocations: 62.42 MB / 0.5275 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.307/0.4489, allocations: 15.8 MB / 0.5429 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.4645, allocations: 13.9 MB / 0.5565 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.4647, allocations: 5.375 kB / 0.5565 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.4653, allocations: 127.3 kB / 0.5566 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007513/0.466, allocations: 264.3 kB / 0.5569 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01848/0.4845, allocations: 5.515 MB / 0.5622 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.4865, allocations: 1.044 MB / 0.5633 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.4866, allocations: 13.14 kB / 0.5633 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.4876, allocations: 0.5032 MB / 0.5638 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.4883, allocations: 463.7 kB / 0.5642 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/0.4884, allocations: 42.78 kB / 0.5643 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/0.5028, allocations: 6.376 MB / 0.5705 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.5031, allocations: 177.8 kB / 0.5707 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.5036, allocations: 246.2 kB / 0.5709 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.5148, allocations: 3.932 MB / 0.5747 GB, free: 14.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5148, allocations: 0 / 0.5747 GB, free: 14.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5148, allocations: 1.031 kB / 0.5747 GB, free: 14.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.5148, allocations: 0 / 0.5747 GB, free: 14.78 MB / 430.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.007029/0.5218, allocations: 1.456 MB / 0.5761 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5219, allocations: 8.969 kB / 0.5762 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.5234, allocations: 167.7 kB / 0.5763 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.5241, allocations: 284.5 kB / 0.5766 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.5245, allocations: 315.4 kB / 0.5769 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5247, allocations: 32.06 kB / 0.5769 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.5297, allocations: 1.887 MB / 0.5788 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5297, allocations: 0 / 0.5788 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/0.5298, allocations: 16.94 kB / 0.5788 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.5299, allocations: 11.28 kB / 0.5788 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0073/0.5372, allocations: 2.651 MB / 0.5814 GB, free: 10.83 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.005711/0.5429, allocations: 4.811 MB / 0.5861 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004288/0.5472, allocations: 1.337 MB / 0.5874 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.5497, allocations: 0.9745 MB / 0.5883 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1498/0.6995, allocations: 42.1 MB / 0.6294 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.6996, allocations: 38.89 kB / 0.6295 GB, free: 12.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 3.025e-06/0.6996, allocations: 0 / 0.6295 GB, free: 12.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02322/0.7228, allocations: 5.781 MB / 0.6351 GB, free: 6.594 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.7228, allocations: 59.34 kB / 0.6352 GB, free: 6.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.723, allocations: 157.6 kB / 0.6353 GB, free: 6.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.7231, allocations: 33.7 kB / 0.6354 GB, free: 6.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.7232, allocations: 152.9 kB / 0.6355 GB, free: 6.168 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.7235, allocations: 150.7 kB / 0.6357 GB, free: 6.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.7239, allocations: 225.8 kB / 0.6359 GB, free: 5.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7241, allocations: 330.8 kB / 0.6362 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.7277, allocations: 1.121 MB / 0.6373 GB, free: 4.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.7315, allocations: 1.204 MB / 0.6385 GB, free: 3.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006734/0.7382, allocations: 1.974 MB / 0.6404 GB, free: 1.094 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7382, allocations: 0 / 0.6404 GB, free: 1.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007873/0.7461, allocations: 2.323 MB / 0.6427 GB, free: 14.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7461, allocations: 8 kB / 0.6427 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7461, allocations: 4.312 kB / 0.6427 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.7462, allocations: 8 kB / 0.6427 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.7488, allocations: 499.1 kB / 0.6431 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.7488, allocations: 4 kB / 0.6432 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.7506, allocations: 255.6 kB / 0.6434 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.7508, allocations: 79.86 kB / 0.6435 GB, free: 13.92 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.0004615/0.7513, allocations: 176.2 kB / 0.6436 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.7515, allocations: 27.84 kB / 0.6437 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.764, allocations: 7.436 MB / 0.6509 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01101/0.775, allocations: 6.9 MB / 0.6577 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.775, allocations: 0 / 0.6577 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.775, allocations: 3.984 kB / 0.6577 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.7911, allocations: 10.87 MB / 0.6683 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.7911, allocations: 0 / 0.6683 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/0.7936, allocations: 499.2 kB / 0.6688 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/0.7936, allocations: 4 kB / 0.6688 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.7938, allocations: 47.91 kB / 0.6688 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.7938, allocations: 3.625 kB / 0.6688 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/0.7938, allocations: 7.938 kB / 0.6688 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.8052, allocations: 4.543 MB / 0.6733 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/0.8058, allocations: 207.1 kB / 0.6735 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.806, allocations: 16 kB / 0.6735 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.8077, allocations: 251.7 kB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.8078, allocations: 84.73 kB / 0.6738 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.808, allocations: 55.91 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001093/0.8081, allocations: 111.2 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8081, allocations: 0 / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003729/0.8118, allocations: 0.9828 MB / 0.6749 GB, free: 13.33 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.005141/0.817, allocations: 0.9903 MB / 0.6759 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007611/0.8246, allocations: 2.619 MB / 0.6784 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8246, allocations: 0 / 0.6784 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.8282, allocations: 1.412 MB / 0.6798 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/0.829, allocations: 105.2 kB / 0.6799 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.8342, allocations: 2.225 MB / 0.6821 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.8348, allocations: 0.9243 MB / 0.683 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009443/0.8357, allocations: 179.1 kB / 0.6832 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.8358, allocations: 0 / 0.6832 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of Templates: time 0.04504/0.8808, allocations: 28.29 MB / 0.7108 GB, free: 8.438 MB / 0.545 GB " [Timeout remaining time 659] 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: 12.855583358090371] Failed to read output from testmodel.py, exit status != 0: 0.8905260108876973 0.905222204 0.38708839999999994 Calling exit ...