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.00158/0.00158, allocations: 69.41 kB / 21.24 MB, free: 0.5547 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.001728/0.001728, allocations: 163.4 kB / 24.5 MB, free: 3.715 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.256/1.256, allocations: 158.6 MB / 186.3 MB, free: 6.234 MB / 174.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.2637/0.2637, allocations: 36.36 MB / 274.8 MB, free: 14.64 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.002318/0.002318, allocations: 87.78 kB / 415.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2742, allocations: 62.37 MB / 477.8 MB, free: 43.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.0122/0.2864, allocations: 14.34 MB / 492.1 MB, free: 34.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.2975, allocations: 12.17 MB / 0.4925 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2976, allocations: 3.344 kB / 0.4925 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.2979, allocations: 111.3 kB / 0.4926 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.2984, allocations: 240.1 kB / 0.4928 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.3089, allocations: 5.46 MB / 0.4981 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.3099, allocations: 1.043 MB / 0.4992 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.3099, allocations: 16.92 kB / 0.4992 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.3106, allocations: 496.7 kB / 0.4996 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.3113, allocations: 462.3 kB / 0.5001 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3114, allocations: 46.34 kB / 0.5001 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.3222, allocations: 6.09 MB / 0.5061 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.3224, allocations: 182.8 kB / 0.5062 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.3228, allocations: 219.4 kB / 0.5065 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007657/0.3305, allocations: 3.936 MB / 0.5103 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3305, allocations: 0 / 0.5103 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3305, allocations: 5.094 kB / 0.5103 GB, free: 21.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3305, allocations: 0 / 0.5103 GB, free: 21.44 MB / 446.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.005598/0.3361, allocations: 1.45 MB / 0.5117 GB, free: 20.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3361, allocations: 10.16 kB / 0.5117 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3376, allocations: 159.5 kB / 0.5119 GB, free: 20.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.3381, allocations: 294.1 kB / 0.5122 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.3385, allocations: 319.1 kB / 0.5125 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3386, allocations: 32.34 kB / 0.5125 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.3432, allocations: 1.993 MB / 0.5144 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3432, allocations: 0 / 0.5144 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/0.3433, allocations: 11.94 kB / 0.5145 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.3433, allocations: 11.59 kB / 0.5145 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00689/0.3502, allocations: 2.64 MB / 0.517 GB, free: 17.47 MB / 446.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.003332/0.3536, allocations: 3.738 MB / 0.5207 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003797/0.3573, allocations: 1.334 MB / 0.522 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.3598, allocations: 0.9807 MB / 0.523 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1561/0.5159, allocations: 42.27 MB / 0.5642 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.516, allocations: 42.88 kB / 0.5643 GB, free: 8.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.876e-06/0.516, allocations: 0 / 0.5643 GB, free: 8.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.0254/0.5414, allocations: 5.777 MB / 0.5699 GB, free: 2.293 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5414, allocations: 59.41 kB / 0.57 GB, free: 2.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.5416, allocations: 153.7 kB / 0.5701 GB, free: 2.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.5417, allocations: 37.69 kB / 0.5702 GB, free: 2.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5418, allocations: 152.9 kB / 0.5703 GB, free: 1.867 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.5421, allocations: 158.6 kB / 0.5705 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.5425, allocations: 213.9 kB / 0.5707 GB, free: 1.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5427, allocations: 334.8 kB / 0.571 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/0.5468, allocations: 1.117 MB / 0.5721 GB, free: 44 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004285/0.5511, allocations: 1.204 MB / 0.5732 GB, free: 14.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007912/0.559, allocations: 1.972 MB / 0.5752 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.559, allocations: 0 / 0.5752 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008901/0.5679, allocations: 2.335 MB / 0.5774 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.568, allocations: 4 kB / 0.5775 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.568, allocations: 4 kB / 0.5775 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.568, allocations: 4.312 kB / 0.5775 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.5709, allocations: 0.4914 MB / 0.5779 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.5709, allocations: 8 kB / 0.5779 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5729, allocations: 243.6 kB / 0.5782 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.5731, allocations: 83.86 kB / 0.5783 GB, free: 9.617 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.0004023/0.5735, allocations: 182.2 kB / 0.5784 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.5738, allocations: 19.86 kB / 0.5785 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.5869, allocations: 7.438 MB / 0.5857 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.012/0.599, allocations: 6.901 MB / 0.5925 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.599, allocations: 0 / 0.5925 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.599, allocations: 3.984 kB / 0.5925 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.6155, allocations: 10.64 MB / 0.6029 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6155, allocations: 4 kB / 0.6029 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/0.6183, allocations: 495.2 kB / 0.6033 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.6183, allocations: 4 kB / 0.6033 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.6185, allocations: 47.91 kB / 0.6034 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.6185, allocations: 4 kB / 0.6034 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6185, allocations: 0 / 0.6034 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.631, allocations: 4.551 MB / 0.6078 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.6316, allocations: 207 kB / 0.608 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.6318, allocations: 16 kB / 0.608 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.6337, allocations: 259.7 kB / 0.6083 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.6339, allocations: 72.81 kB / 0.6084 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.634, allocations: 59.84 kB / 0.6084 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001037/0.6341, allocations: 113.6 kB / 0.6085 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6341, allocations: 0 / 0.6085 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004203/0.6383, allocations: 0.979 MB / 0.6095 GB, free: 9.289 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.005765/0.6441, allocations: 0.9939 MB / 0.6104 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008458/0.6525, allocations: 2.623 MB / 0.613 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6525, allocations: 0 / 0.613 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004049/0.6566, allocations: 1.412 MB / 0.6144 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/0.6574, allocations: 103.8 kB / 0.6145 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.6629, allocations: 2.184 MB / 0.6166 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.6633, allocations: 333.7 kB / 0.6169 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002248/0.6655, allocations: 1.29 MB / 0.6182 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007428/0.6662, allocations: 164.2 kB / 0.6184 GB, free: 128 kB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.6662, allocations: 3.938 kB / 0.6184 GB, free: 124 kB / 0.5137 GB Notification: Performance of Templates: time 0.06773/0.734, allocations: 44.42 MB / 0.6617 GB, free: 3.617 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 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.66798488900531] Failed to read output from testmodel.py, exit status != 0: 0.742827309994027 0.757422208 0.423782303 Calling exit ...