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.001528/0.001528, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00168/0.00168, allocations: 211 kB / 24.48 MB, free: 3.938 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.313/1.313, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 179] 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.2793/0.2793, allocations: 49.61 MB / 337.2 MB, free: 3.871 MB / 270.1 MB " [Timeout remaining time 180] 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.002305/0.002305, allocations: 76.44 kB / 477.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1034, allocations: 62.42 MB / 0.5275 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2029/0.3063, allocations: 14.32 MB / 0.5415 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.3189, allocations: 12.16 MB / 0.5534 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.3191, allocations: 5.406 kB / 0.5534 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.3195, allocations: 109.9 kB / 0.5535 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.3201, allocations: 241.9 kB / 0.5537 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01425/0.3343, allocations: 5.467 MB / 0.559 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.3358, allocations: 1.034 MB / 0.5601 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.3358, allocations: 13.59 kB / 0.5601 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006842/0.3365, allocations: 0.4926 MB / 0.5605 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000621/0.3371, allocations: 464 kB / 0.561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3373, allocations: 41.88 kB / 0.561 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.3481, allocations: 6.098 MB / 0.567 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.3484, allocations: 176.4 kB / 0.5672 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.3487, allocations: 227.2 kB / 0.5674 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006576/0.3553, allocations: 3.924 MB / 0.5712 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3553, allocations: 1.125 kB / 0.5712 GB, free: 1.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3553, allocations: 0 / 0.5712 GB, free: 1.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3553, allocations: 0 / 0.5712 GB, free: 1.305 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.004674/0.36, allocations: 1.461 MB / 0.5726 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.36, allocations: 8.5 kB / 0.5726 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.3613, allocations: 161.4 kB / 0.5728 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.3619, allocations: 299.9 kB / 0.5731 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/0.3623, allocations: 314.2 kB / 0.5734 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.3624, allocations: 33.84 kB / 0.5734 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.3673, allocations: 1.98 MB / 0.5753 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3673, allocations: 1.469 kB / 0.5753 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.463e-05/0.3674, allocations: 15.75 kB / 0.5754 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.3674, allocations: 15.78 kB / 0.5754 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007024/0.3745, allocations: 2.636 MB / 0.578 GB, free: 13.23 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.004562/0.379, allocations: 3.747 MB / 0.5816 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.3828, allocations: 1.34 MB / 0.5829 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.3852, allocations: 0.9806 MB / 0.5839 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1466/0.5318, allocations: 42.26 MB / 0.6251 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.5318, allocations: 38.83 kB / 0.6252 GB, free: 264 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.5319, allocations: 4 kB / 0.6252 GB, free: 260 kB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.02294/0.5548, allocations: 5.781 MB / 0.6308 GB, free: 10.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.5548, allocations: 59.41 kB / 0.6309 GB, free: 10.37 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.555, allocations: 161.6 kB / 0.631 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5551, allocations: 29.7 kB / 0.6311 GB, free: 10.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5552, allocations: 156.8 kB / 0.6312 GB, free: 10.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.5555, allocations: 154.6 kB / 0.6314 GB, free: 9.855 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004489/0.5559, allocations: 225.8 kB / 0.6316 GB, free: 9.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5561, allocations: 330.8 kB / 0.6319 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/0.5598, allocations: 1.113 MB / 0.633 GB, free: 8.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/0.5637, allocations: 1.204 MB / 0.6342 GB, free: 6.945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007106/0.5708, allocations: 1.972 MB / 0.6361 GB, free: 4.938 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5708, allocations: 5.688 kB / 0.6361 GB, free: 4.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008237/0.579, allocations: 2.331 MB / 0.6384 GB, free: 2.594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.579, allocations: 7.984 kB / 0.6384 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.579, allocations: 4 kB / 0.6384 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5791, allocations: 4 kB / 0.6384 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.5817, allocations: 495.5 kB / 0.6389 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.5817, allocations: 4 kB / 0.6389 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.5835, allocations: 251.6 kB / 0.6391 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.5837, allocations: 87.84 kB / 0.6392 GB, free: 1.758 MB / 478.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.0003994/0.5841, allocations: 178.2 kB / 0.6394 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.5843, allocations: 19.91 kB / 0.6394 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.5969, allocations: 7.436 MB / 0.6466 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01124/0.6081, allocations: 6.893 MB / 0.6534 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.6081, allocations: 0 / 0.6534 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.6081, allocations: 7.984 kB / 0.6534 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.6241, allocations: 10.64 MB / 0.6638 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6241, allocations: 0 / 0.6638 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/0.6267, allocations: 492.2 kB / 0.6642 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.6267, allocations: 4 kB / 0.6642 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.6268, allocations: 51.91 kB / 0.6643 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.6268, allocations: 4 kB / 0.6643 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6268, allocations: 0 / 0.6643 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/0.6387, allocations: 4.543 MB / 0.6687 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.6393, allocations: 203.1 kB / 0.6689 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.6395, allocations: 23.61 kB / 0.6689 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.6412, allocations: 255.7 kB / 0.6692 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.6414, allocations: 76.81 kB / 0.6693 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.6415, allocations: 51.91 kB / 0.6693 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001046/0.6416, allocations: 119.1 kB / 0.6694 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6416, allocations: 0 / 0.6694 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003238/0.6448, allocations: 0.979 MB / 0.6704 GB, free: 1.445 MB / 0.4981 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.004537/0.6494, allocations: 0.9982 MB / 0.6714 GB, free: 448 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007956/0.6573, allocations: 2.623 MB / 0.6739 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6573, allocations: 3.938 kB / 0.6739 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/0.6611, allocations: 1.408 MB / 0.6753 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.6619, allocations: 108 kB / 0.6754 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.6673, allocations: 2.217 MB / 0.6776 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.6676, allocations: 325.7 kB / 0.6779 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009519/0.6686, allocations: 179.1 kB / 0.678 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.6686, allocations: 0 / 0.678 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of Templates: time 0.04154/0.7101, allocations: 28.52 MB / 0.7059 GB, free: 12.92 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: 11.735230445396155] Failed to read output from testmodel.py, exit status != 0: 0.7194220433011651 0.733272542 0.37494722500000005 Calling exit ...