Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.001785/0.001785, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002184/0.002184, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.361/1.361, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2823/0.2823, allocations: 49.6 MB / 336.4 MB, free: 3.879 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.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [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.002299/0.002299, allocations: 68.47 kB / 476.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1076, allocations: 62.44 MB / 0.5267 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.2075/0.3151, allocations: 14.72 MB / 0.541 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.3279, allocations: 11.94 MB / 0.5527 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.3281, allocations: 6.406 kB / 0.5527 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.3285, allocations: 111 kB / 0.5528 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.3289, allocations: 215.3 kB / 0.553 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01307/0.342, allocations: 5.301 MB / 0.5582 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.3439, allocations: 1.968 MB / 0.5601 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3441, allocations: 56.98 kB / 0.5602 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.3451, allocations: 0.6212 MB / 0.5608 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3464, allocations: 0.7725 MB / 0.5615 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.3468, allocations: 137.8 kB / 0.5617 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.3584, allocations: 6.483 MB / 0.568 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.3588, allocations: 478.9 kB / 0.5685 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.3596, allocations: 0.5173 MB / 0.569 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007702/0.3673, allocations: 5.05 MB / 0.5739 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3673, allocations: 4 kB / 0.5739 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3673, allocations: 0 / 0.5739 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.3673, allocations: 0 / 0.5739 GB, free: 15.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01081/0.3781, allocations: 2.547 MB / 0.5764 GB, free: 13.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3782, allocations: 8.344 kB / 0.5764 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.3799, allocations: 298.7 kB / 0.5767 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3812, allocations: 0.5433 MB / 0.5772 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001359/0.3826, allocations: 1.108 MB / 0.5783 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.3829, allocations: 66.09 kB / 0.5783 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009024/0.3919, allocations: 3.375 MB / 0.5816 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3919, allocations: 0 / 0.5816 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.3921, allocations: 29.44 kB / 0.5817 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.3922, allocations: 58 kB / 0.5817 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.4073, allocations: 5.381 MB / 0.587 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.4235, allocations: 7.78 MB / 0.5946 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008109/0.4316, allocations: 2.64 MB / 0.5972 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00673/0.4384, allocations: 2.201 MB / 0.5993 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1024/0.5408, allocations: 28.01 MB / 0.6267 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.5409, allocations: 43.5 kB / 0.6267 GB, free: 14.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.908e-06/0.5409, allocations: 1.781 kB / 0.6267 GB, free: 14.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02233/0.5632, allocations: 6.626 MB / 0.6332 GB, free: 7.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.5632, allocations: 68.34 kB / 0.6332 GB, free: 7.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.5635, allocations: 202.5 kB / 0.6334 GB, free: 7.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.5637, allocations: 41.7 kB / 0.6335 GB, free: 7.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.5639, allocations: 257.1 kB / 0.6337 GB, free: 6.977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.5643, allocations: 321.2 kB / 0.634 GB, free: 6.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006541/0.5649, allocations: 278.3 kB / 0.6343 GB, free: 6.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5651, allocations: 350.8 kB / 0.6346 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006559/0.5717, allocations: 2.148 MB / 0.6367 GB, free: 3.883 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006682/0.5784, allocations: 2.259 MB / 0.6389 GB, free: 1.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.5901, allocations: 3.402 MB / 0.6423 GB, free: 14.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5901, allocations: 4 kB / 0.6423 GB, free: 14.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01332/0.6034, allocations: 4.13 MB / 0.6463 GB, free: 10.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6034, allocations: 8 kB / 0.6463 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.6034, allocations: 3.984 kB / 0.6463 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.6035, allocations: 8 kB / 0.6463 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/0.6072, allocations: 0.8192 MB / 0.6471 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.6072, allocations: 11.94 kB / 0.6471 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.6102, allocations: 0.6012 MB / 0.6477 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.6104, allocations: 95.75 kB / 0.6478 GB, free: 8.461 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006426/0.6111, allocations: 273.5 kB / 0.6481 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.6114, allocations: 43.72 kB / 0.6481 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/0.6276, allocations: 6.627 MB / 0.6546 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01491/0.6425, allocations: 6.05 MB / 0.6605 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6425, allocations: 3.938 kB / 0.6605 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.6425, allocations: 3.984 kB / 0.6605 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/0.6635, allocations: 8.782 MB / 0.6691 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6635, allocations: 0 / 0.6691 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/0.6672, allocations: 0.8034 MB / 0.6698 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.6672, allocations: 7.938 kB / 0.6699 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.6674, allocations: 83.8 kB / 0.6699 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.6674, allocations: 4 kB / 0.6699 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6674, allocations: 3.938 kB / 0.6699 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.6814, allocations: 4.863 MB / 0.6747 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.6816, allocations: 110.9 kB / 0.6748 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.6818, allocations: 27.86 kB / 0.6748 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002909/0.6847, allocations: 0.5684 MB / 0.6754 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/0.6851, allocations: 140.6 kB / 0.6755 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.6853, allocations: 87.81 kB / 0.6756 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001479/0.6854, allocations: 144.2 kB / 0.6757 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6854, allocations: 4 kB / 0.6757 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003996/0.6894, allocations: 1.294 MB / 0.677 GB, free: 10.44 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.004952/0.6944, allocations: 1.154 MB / 0.6781 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01413/0.7085, allocations: 4.833 MB / 0.6829 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7085, allocations: 0 / 0.6829 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007236/0.7158, allocations: 2.547 MB / 0.6853 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.7174, allocations: 277 kB / 0.6856 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.7293, allocations: 4.558 MB / 0.6901 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.7298, allocations: 0.5304 MB / 0.6906 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002136/0.732, allocations: 0.699 MB / 0.6913 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.7331, allocations: 211 kB / 0.6915 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.7331, allocations: 0 / 0.6915 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.08347/0.8166, allocations: 59.4 MB / 0.7495 GB, free: 15.83 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.10431601293385] Failed to read output from testmodel.py, exit status != 0: 0.8253232017159462 0.8395416200000001 0.46911596400000005 Calling exit ...