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.001735/0.001735, allocations: 79.42 kB / 21.27 MB, free: 388 kB / 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.002073/0.002073, allocations: 162.8 kB / 24.53 MB, free: 3.59 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: 177.2 MB / 204.9 MB, free: 9.301 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.1383/0.1383, allocations: 19.7 MB / 281 MB, free: 13.07 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.002047/0.002047, allocations: 75.88 kB / 417.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2657, allocations: 60.45 MB / 478.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01882/0.2845, allocations: 14.41 MB / 492.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3011, allocations: 12.15 MB / 0.4929 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.3013, allocations: 0 / 0.4929 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.3017, allocations: 123.2 kB / 0.493 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007073/0.3025, allocations: 230.6 kB / 0.4932 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01419/0.3166, allocations: 5.476 MB / 0.4986 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3179, allocations: 1.038 MB / 0.4996 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.318, allocations: 20.88 kB / 0.4996 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.3189, allocations: 0.5845 MB / 0.5002 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.3197, allocations: 466.8 kB / 0.5006 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.3197, allocations: 44 kB / 0.5007 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.3308, allocations: 6.11 MB / 0.5066 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.3311, allocations: 187.5 kB / 0.5068 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.3315, allocations: 227.3 kB / 0.507 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.3381, allocations: 3.937 MB / 0.5109 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3381, allocations: 3.984 kB / 0.5109 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3381, allocations: 0 / 0.5109 GB, free: 5.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3381, allocations: 0 / 0.5109 GB, free: 5.18 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.005017/0.3432, allocations: 1.458 MB / 0.5123 GB, free: 3.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3432, allocations: 8.625 kB / 0.5123 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.346, allocations: 368.3 kB / 0.5127 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.3465, allocations: 290 kB / 0.5129 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.347, allocations: 314.7 kB / 0.5132 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.3471, allocations: 44.12 kB / 0.5133 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004902/0.352, allocations: 1.976 MB / 0.5152 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.352, allocations: 0 / 0.5152 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.3521, allocations: 20 kB / 0.5152 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.3521, allocations: 12.66 kB / 0.5153 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007062/0.3592, allocations: 2.636 MB / 0.5178 GB, free: 13.9 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.00447/0.3637, allocations: 3.755 MB / 0.5215 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.3675, allocations: 1.33 MB / 0.5228 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/0.37, allocations: 0.9809 MB / 0.5238 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1505/0.5205, allocations: 43.99 MB / 0.5667 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.5205, allocations: 38.83 kB / 0.5667 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.305e-06/0.5205, allocations: 0 / 0.5667 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02208/0.5426, allocations: 5.77 MB / 0.5724 GB, free: 5.539 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.5427, allocations: 63.39 kB / 0.5724 GB, free: 5.465 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.5428, allocations: 168.6 kB / 0.5726 GB, free: 5.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.543, allocations: 33.7 kB / 0.5726 GB, free: 5.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5431, allocations: 144.9 kB / 0.5728 GB, free: 5.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.5433, allocations: 162.6 kB / 0.5729 GB, free: 4.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/0.5437, allocations: 229.9 kB / 0.5731 GB, free: 4.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.5439, allocations: 330.8 kB / 0.5735 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.5475, allocations: 1.121 MB / 0.5746 GB, free: 3.266 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/0.5513, allocations: 1.2 MB / 0.5757 GB, free: 2.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.558, allocations: 1.98 MB / 0.5777 GB, free: 16 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.558, allocations: 0 / 0.5777 GB, free: 16 kB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00771/0.5657, allocations: 2.327 MB / 0.5799 GB, free: 13.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5657, allocations: 11.98 kB / 0.5799 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5657, allocations: 0 / 0.5799 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.5658, allocations: 8 kB / 0.58 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.5684, allocations: 495.2 kB / 0.5804 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.5684, allocations: 4 kB / 0.5804 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5702, allocations: 251.6 kB / 0.5807 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.5704, allocations: 83.8 kB / 0.5807 GB, free: 12.84 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.0004078/0.5708, allocations: 177.6 kB / 0.5809 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.571, allocations: 23.86 kB / 0.5809 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.5832, allocations: 7.445 MB / 0.5882 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01105/0.5943, allocations: 6.893 MB / 0.5949 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.5943, allocations: 0 / 0.5949 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.5943, allocations: 3.984 kB / 0.5949 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.6102, allocations: 10.63 MB / 0.6053 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6102, allocations: 7.922 kB / 0.6053 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/0.6127, allocations: 495.2 kB / 0.6058 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6127, allocations: 0 / 0.6058 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.6129, allocations: 47.91 kB / 0.6059 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.6129, allocations: 4 kB / 0.6059 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6129, allocations: 0 / 0.6059 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.6241, allocations: 4.551 MB / 0.6103 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6247, allocations: 199.1 kB / 0.6105 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.6248, allocations: 24.05 kB / 0.6105 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.6265, allocations: 243.6 kB / 0.6107 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.6267, allocations: 84.81 kB / 0.6108 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.6268, allocations: 55.84 kB / 0.6109 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.787e-05/0.6269, allocations: 107.2 kB / 0.611 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6269, allocations: 0 / 0.611 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002619/0.6296, allocations: 0.9867 MB / 0.6119 GB, free: 12.53 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.003191/0.6327, allocations: 1.004 MB / 0.6129 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0074/0.6401, allocations: 2.619 MB / 0.6155 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6402, allocations: 0 / 0.6155 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/0.6437, allocations: 1.415 MB / 0.6169 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.6444, allocations: 99.84 kB / 0.617 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.6494, allocations: 2.188 MB / 0.6191 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.6498, allocations: 333.7 kB / 0.6194 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002194/0.652, allocations: 1.294 MB / 0.6207 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/0.6527, allocations: 164.2 kB / 0.6208 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of SimCode: time 1.243e-06/0.6527, allocations: 0 / 0.6208 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.241/0.8937, allocations: 44.53 MB / 0.6643 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.193281257059425] Failed to read output from testmodel.py, exit status != 0: 0.9018237310228869 0.910451264 0.570013372 Calling exit ...