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.001337/0.001337, allocations: 78.95 kB / 21.28 MB, free: 0.5312 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.001451/0.001451, allocations: 161.9 kB / 24.54 MB, free: 3.832 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.403/1.403, allocations: 177.2 MB / 204.9 MB, free: 9.273 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.1469/0.1469, 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.002093/0.002093, allocations: 63.91 kB / 417.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2846, allocations: 60.46 MB / 478.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01976/0.3043, allocations: 14.4 MB / 492.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.3215, allocations: 12.16 MB / 0.4929 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.3217, allocations: 3.938 kB / 0.4929 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.3221, allocations: 111.4 kB / 0.493 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.3228, allocations: 238.6 kB / 0.4933 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.3376, allocations: 5.477 MB / 0.4986 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.339, allocations: 1.034 MB / 0.4996 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.339, allocations: 28.81 kB / 0.4996 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.34, allocations: 0.5845 MB / 0.5002 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007544/0.3408, allocations: 454.9 kB / 0.5006 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-05/0.3409, allocations: 44 kB / 0.5007 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/0.3526, allocations: 6.114 MB / 0.5067 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.3529, allocations: 191.5 kB / 0.5068 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.3533, allocations: 223.3 kB / 0.5071 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.3615, allocations: 3.94 MB / 0.5109 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3615, allocations: 0 / 0.5109 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3615, allocations: 0 / 0.5109 GB, free: 5.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3615, allocations: 0 / 0.5109 GB, free: 5.168 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.005473/0.367, allocations: 1.462 MB / 0.5123 GB, free: 3.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.367, allocations: 8.625 kB / 0.5123 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.3699, allocations: 364.4 kB / 0.5127 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.3705, allocations: 286 kB / 0.513 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/0.3709, allocations: 314.7 kB / 0.5133 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3711, allocations: 40.12 kB / 0.5133 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.3762, allocations: 1.976 MB / 0.5152 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3762, allocations: 0 / 0.5152 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3763, allocations: 16 kB / 0.5152 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.3763, allocations: 16.64 kB / 0.5153 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007357/0.3837, allocations: 2.64 MB / 0.5178 GB, free: 13.89 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.004839/0.3885, allocations: 3.752 MB / 0.5215 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.3926, allocations: 1.338 MB / 0.5228 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.3951, allocations: 0.9809 MB / 0.5238 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1519/0.547, allocations: 43.98 MB / 0.5667 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.5471, allocations: 46.83 kB / 0.5668 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.916e-06/0.5471, allocations: 0 / 0.5668 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.02244/0.5695, allocations: 5.777 MB / 0.5724 GB, free: 5.523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.5696, allocations: 59.41 kB / 0.5725 GB, free: 5.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.5698, allocations: 153 kB / 0.5726 GB, free: 5.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.5699, allocations: 37.7 kB / 0.5726 GB, free: 5.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5701, allocations: 152.8 kB / 0.5728 GB, free: 5.102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.5703, allocations: 154.7 kB / 0.5729 GB, free: 4.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004755/0.5708, allocations: 229.9 kB / 0.5731 GB, free: 4.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5709, allocations: 330.8 kB / 0.5735 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/0.5745, allocations: 1.121 MB / 0.5746 GB, free: 3.266 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/0.5783, allocations: 1.216 MB / 0.5757 GB, free: 2.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006797/0.5851, allocations: 1.964 MB / 0.5777 GB, free: 16 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5851, allocations: 0 / 0.5777 GB, free: 16 kB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007747/0.5928, allocations: 2.331 MB / 0.5799 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5929, allocations: 8 kB / 0.5799 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5929, allocations: 0 / 0.5799 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.5929, allocations: 8 kB / 0.58 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.5955, allocations: 499.5 kB / 0.5804 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.5955, allocations: 11.94 kB / 0.5804 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.5973, allocations: 243.6 kB / 0.5807 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.5975, allocations: 83.86 kB / 0.5808 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.0004519/0.5979, allocations: 173.7 kB / 0.5809 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.5982, allocations: 23.86 kB / 0.5809 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.6104, allocations: 7.445 MB / 0.5882 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01117/0.6216, allocations: 6.889 MB / 0.5949 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.6216, allocations: 4 kB / 0.5949 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6216, allocations: 3.984 kB / 0.5949 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6377, allocations: 10.63 MB / 0.6053 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.6377, allocations: 0 / 0.6053 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/0.6403, allocations: 0.4914 MB / 0.6058 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.6403, allocations: 4 kB / 0.6058 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.6405, allocations: 47.91 kB / 0.6059 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.6405, allocations: 0 / 0.6059 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6405, allocations: 0 / 0.6059 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/0.6517, allocations: 4.555 MB / 0.6103 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.6523, allocations: 203.1 kB / 0.6105 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.6525, allocations: 16 kB / 0.6105 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.6541, allocations: 251.7 kB / 0.6108 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.6543, allocations: 80.8 kB / 0.6108 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.6545, allocations: 59.84 kB / 0.6109 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001054/0.6546, allocations: 107.2 kB / 0.611 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6546, allocations: 0 / 0.611 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002955/0.6575, allocations: 0.9828 MB / 0.612 GB, free: 12.52 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.003825/0.6614, allocations: 1 MB / 0.6129 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007708/0.6691, allocations: 2.626 MB / 0.6155 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.6691, allocations: 0 / 0.6155 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/0.6728, allocations: 1.408 MB / 0.6169 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.6736, allocations: 99.84 kB / 0.617 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.6787, allocations: 2.225 MB / 0.6191 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.679, allocations: 329.7 kB / 0.6195 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/0.6799, allocations: 184.2 kB / 0.6196 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.6799, allocations: 0 / 0.6196 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of Templates: time 0.2594/0.9393, allocations: 28.68 MB / 0.6476 GB, free: 155.5 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.021672263043001] Failed to read output from testmodel.py, exit status != 0: 0.9486946249380708 0.95759503 0.593804997 Calling exit ...