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.001623/0.001623, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00182/0.00182, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.38/1.38, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2791/0.2791, allocations: 49.6 MB / 336.4 MB, free: 3.887 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.002265/0.002265, allocations: 71.89 kB / 477 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1094, allocations: 62.43 MB / 0.5268 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.2224/0.3318, allocations: 14.33 MB / 0.5408 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.3453, allocations: 12.17 MB / 0.5526 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3455, allocations: 4.969 kB / 0.5526 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.3459, allocations: 104.5 kB / 0.5527 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.3466, allocations: 244.8 kB / 0.553 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01515/0.3617, allocations: 5.455 MB / 0.5583 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.3632, allocations: 1.049 MB / 0.5593 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.3633, allocations: 14.75 kB / 0.5593 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000738/0.364, allocations: 496.1 kB / 0.5598 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.3647, allocations: 463.7 kB / 0.5603 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3648, allocations: 41.75 kB / 0.5603 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.3764, allocations: 6.094 MB / 0.5662 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.3766, allocations: 182.5 kB / 0.5664 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.377, allocations: 222.8 kB / 0.5666 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0072/0.3842, allocations: 3.936 MB / 0.5705 GB, free: 1.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3842, allocations: 0 / 0.5705 GB, free: 1.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3842, allocations: 1.125 kB / 0.5705 GB, free: 1.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.3842, allocations: 0 / 0.5705 GB, free: 1.285 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.005488/0.3897, allocations: 1.453 MB / 0.5719 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3897, allocations: 13.22 kB / 0.5719 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.3912, allocations: 159.2 kB / 0.5721 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.3919, allocations: 293.2 kB / 0.5723 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004423/0.3924, allocations: 314.4 kB / 0.5726 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3925, allocations: 33.56 kB / 0.5727 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.3977, allocations: 1.989 MB / 0.5746 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3977, allocations: 0 / 0.5746 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3978, allocations: 12.53 kB / 0.5746 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.3978, allocations: 16.16 kB / 0.5746 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007344/0.4052, allocations: 2.64 MB / 0.5772 GB, free: 13.21 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.004779/0.4099, allocations: 3.752 MB / 0.5809 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.4139, allocations: 1.336 MB / 0.5822 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.4164, allocations: 0.9686 MB / 0.5831 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.153/0.5694, allocations: 42.26 MB / 0.6244 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.5694, allocations: 38.83 kB / 0.6244 GB, free: 272 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.465e-06/0.5694, allocations: 0 / 0.6244 GB, free: 272 kB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.02329/0.5927, allocations: 5.785 MB / 0.6301 GB, free: 10.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.5928, allocations: 59.39 kB / 0.6301 GB, free: 10.37 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.5929, allocations: 157.6 kB / 0.6303 GB, free: 10.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.5931, allocations: 37.7 kB / 0.6303 GB, free: 10.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.5932, allocations: 152.9 kB / 0.6305 GB, free: 10.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.5934, allocations: 154.6 kB / 0.6306 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004607/0.5938, allocations: 217.9 kB / 0.6308 GB, free: 9.645 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.594, allocations: 330.8 kB / 0.6312 GB, free: 9.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/0.5978, allocations: 1.121 MB / 0.6322 GB, free: 8.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/0.6018, allocations: 1.208 MB / 0.6334 GB, free: 6.949 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007208/0.609, allocations: 1.968 MB / 0.6353 GB, free: 4.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.609, allocations: 9.375 kB / 0.6354 GB, free: 4.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008205/0.6172, allocations: 2.331 MB / 0.6376 GB, free: 2.598 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6172, allocations: 4 kB / 0.6376 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6172, allocations: 7.984 kB / 0.6376 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6173, allocations: 4 kB / 0.6376 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.6199, allocations: 495.5 kB / 0.6381 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.62, allocations: 7.938 kB / 0.6381 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.6218, allocations: 247.6 kB / 0.6384 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.622, allocations: 79.86 kB / 0.6384 GB, free: 1.77 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.0003919/0.6224, allocations: 182.2 kB / 0.6386 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6226, allocations: 23.91 kB / 0.6386 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.6352, allocations: 7.436 MB / 0.6459 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01133/0.6465, allocations: 6.889 MB / 0.6526 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6465, allocations: 0 / 0.6526 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6465, allocations: 7.984 kB / 0.6526 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.6625, allocations: 10.63 MB / 0.663 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6625, allocations: 0 / 0.663 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/0.665, allocations: 499.2 kB / 0.6635 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.6651, allocations: 7.938 kB / 0.6635 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.6652, allocations: 43.91 kB / 0.6635 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.6652, allocations: 4 kB / 0.6635 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6652, allocations: 4 kB / 0.6636 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.677, allocations: 4.55 MB / 0.668 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/0.6776, allocations: 207 kB / 0.6682 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.6778, allocations: 19.98 kB / 0.6682 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.6795, allocations: 259.3 kB / 0.6685 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.6797, allocations: 72.81 kB / 0.6685 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.6798, allocations: 55.91 kB / 0.6686 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.454e-05/0.6799, allocations: 115.2 kB / 0.6687 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6799, allocations: 0 / 0.6687 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003087/0.683, allocations: 0.9751 MB / 0.6696 GB, free: 1.449 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.003242/0.6862, allocations: 0.9894 MB / 0.6706 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007862/0.6941, allocations: 2.627 MB / 0.6732 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6941, allocations: 0 / 0.6732 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/0.6978, allocations: 1.408 MB / 0.6745 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/0.6986, allocations: 100.7 kB / 0.6746 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.7038, allocations: 2.192 MB / 0.6768 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.7041, allocations: 333.7 kB / 0.6771 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002217/0.7063, allocations: 1.298 MB / 0.6784 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/0.7071, allocations: 155.2 kB / 0.6785 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.7071, allocations: 3.938 kB / 0.6785 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.0609/0.768, allocations: 45.06 MB / 0.7225 GB, free: 11.09 MB / 0.5606 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: 29.72987045906484] Failed to read output from testmodel.py, exit status != 0: 0.7766873743385077 0.790644537 0.403326927 Calling exit ...