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.002105/0.002105, allocations: 79.5 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.002705/0.002705, allocations: 163 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.46/1.46, allocations: 177.2 MB / 204.9 MB, free: 9.293 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.1385/0.1385, allocations: 19.7 MB / 281 MB, free: 13.05 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.002179/0.002179, allocations: 71.89 kB / 417.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2883, allocations: 60.45 MB / 478.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.0205/0.3088, allocations: 14.41 MB / 492.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.3275, allocations: 12.16 MB / 0.4929 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.3278, allocations: 0 / 0.4929 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.3284, allocations: 111.4 kB / 0.493 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008457/0.3292, allocations: 238.6 kB / 0.4932 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01999/0.3492, allocations: 5.487 MB / 0.4986 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.3509, allocations: 1.034 MB / 0.4996 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.351, allocations: 16.88 kB / 0.4996 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3522, allocations: 0.5884 MB / 0.5002 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008036/0.353, allocations: 458.9 kB / 0.5006 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.3531, allocations: 47.94 kB / 0.5007 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/0.3681, allocations: 6.114 MB / 0.5067 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.3685, allocations: 175.6 kB / 0.5068 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.369, allocations: 231.3 kB / 0.507 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.3824, allocations: 3.944 MB / 0.5109 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/0.3824, allocations: 0 / 0.5109 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3825, allocations: 0 / 0.5109 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.3825, allocations: 0 / 0.5109 GB, free: 5.156 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.007378/0.3899, allocations: 1.458 MB / 0.5123 GB, free: 3.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.3899, allocations: 8.625 kB / 0.5123 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.393, allocations: 364.4 kB / 0.5127 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.3938, allocations: 282 kB / 0.5129 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005062/0.3943, allocations: 322.7 kB / 0.5132 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.3945, allocations: 32.12 kB / 0.5133 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/0.4, allocations: 1.988 MB / 0.5152 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4, allocations: 0 / 0.5152 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4001, allocations: 15.94 kB / 0.5152 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.4001, allocations: 12.64 kB / 0.5152 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/0.4076, allocations: 2.64 MB / 0.5178 GB, free: 13.88 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.005492/0.413, allocations: 3.752 MB / 0.5215 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.4171, allocations: 1.338 MB / 0.5228 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.4197, allocations: 0.9809 MB / 0.5238 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1589/0.5786, allocations: 43.97 MB / 0.5667 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.5786, allocations: 46.77 kB / 0.5667 GB, free: 11.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.5786, allocations: 0 / 0.5667 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02336/0.602, allocations: 5.773 MB / 0.5724 GB, free: 5.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.6021, allocations: 55.41 kB / 0.5724 GB, free: 5.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.6023, allocations: 168.3 kB / 0.5726 GB, free: 5.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.6024, allocations: 29.7 kB / 0.5726 GB, free: 5.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.6026, allocations: 152.8 kB / 0.5728 GB, free: 5.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.6028, allocations: 158.6 kB / 0.5729 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/0.6033, allocations: 225.9 kB / 0.5731 GB, free: 4.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6035, allocations: 334.8 kB / 0.5735 GB, free: 4.371 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.6072, allocations: 1.121 MB / 0.5746 GB, free: 3.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.611, allocations: 1.212 MB / 0.5757 GB, free: 2.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006914/0.6179, allocations: 1.964 MB / 0.5777 GB, free: 4 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.6179, allocations: 4 kB / 0.5777 GB, free: 0 / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008044/0.6259, allocations: 2.335 MB / 0.5799 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.626, allocations: 8 kB / 0.5799 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.626, allocations: 0 / 0.5799 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.626, allocations: 4 kB / 0.5799 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/0.6287, allocations: 499.5 kB / 0.5804 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.6287, allocations: 7.938 kB / 0.5804 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.6306, allocations: 247.6 kB / 0.5807 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.6308, allocations: 79.86 kB / 0.5807 GB, free: 12.83 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.0004507/0.6312, allocations: 181.7 kB / 0.5809 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.6315, allocations: 19.86 kB / 0.5809 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.6445, allocations: 7.441 MB / 0.5882 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01145/0.656, allocations: 6.893 MB / 0.5949 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.656, allocations: 0 / 0.5949 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.656, allocations: 7.984 kB / 0.5949 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.672, allocations: 10.64 MB / 0.6053 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.672, allocations: 0 / 0.6053 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/0.6745, allocations: 495.2 kB / 0.6058 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/0.6746, allocations: 4 kB / 0.6058 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.6747, allocations: 47.91 kB / 0.6059 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.6747, allocations: 8 kB / 0.6059 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6747, allocations: 0 / 0.6059 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.6862, allocations: 4.543 MB / 0.6103 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.6867, allocations: 207.1 kB / 0.6105 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.6869, allocations: 12 kB / 0.6105 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.6885, allocations: 255.7 kB / 0.6107 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.6888, allocations: 76.8 kB / 0.6108 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.6889, allocations: 59.84 kB / 0.6109 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.689, allocations: 111.2 kB / 0.611 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.689, allocations: 0 / 0.611 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002767/0.6918, allocations: 0.9828 MB / 0.6119 GB, free: 12.51 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.003921/0.6957, allocations: 1.004 MB / 0.6129 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00746/0.7032, allocations: 2.623 MB / 0.6155 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7032, allocations: 0 / 0.6155 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003633/0.7068, allocations: 1.404 MB / 0.6169 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.7076, allocations: 107.8 kB / 0.617 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.7126, allocations: 2.192 MB / 0.6191 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.713, allocations: 329.7 kB / 0.6194 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002219/0.7152, allocations: 1.294 MB / 0.6207 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/0.7159, allocations: 160.2 kB / 0.6208 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.7159, allocations: 4 kB / 0.6208 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.3188/1.035, allocations: 44.52 MB / 0.6643 GB, free: 148 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 cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.119915275019594] Failed to read output from testmodel.py, exit status != 0: 1.0442947649862617 1.053935651 0.669044248 Calling exit ...