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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 119.9 kB / 17.73 MB, free: 5.441 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.001951, allocations: 185.3 kB / 20.67 MB, free: 2.512 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.503/1.503, allocations: 205.1 MB / 228.6 MB, free: 4.355 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3878/0.3878, allocations: 48.83 MB / 326.7 MB, free: 4.074 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 75.8 kB / 458.8 MB, free: 192 kB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.262, allocations: 59.14 MB / 0.5058 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01337/0.2754, allocations: 16.1 MB / 0.5215 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0168/0.2923, allocations: 13.56 MB / 0.5347 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.2926, allocations: 0 / 0.5347 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.2932, allocations: 143.2 kB / 0.5349 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.2936, allocations: 194.9 kB / 0.5351 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01472/0.3083, allocations: 5.332 MB / 0.5403 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.3106, allocations: 1.95 MB / 0.5422 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.3109, allocations: 129.6 kB / 0.5423 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.3118, allocations: 0.6238 MB / 0.5429 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3131, allocations: 0.7795 MB / 0.5437 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.3133, allocations: 140 kB / 0.5438 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.3274, allocations: 6.782 MB / 0.5504 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.3281, allocations: 478.9 kB / 0.5509 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.3291, allocations: 0.5645 MB / 0.5514 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.341, allocations: 5.043 MB / 0.5564 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.341, allocations: 0 / 0.5564 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3411, allocations: 0 / 0.5564 GB, free: 12.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.863e-05/0.3411, allocations: 0 / 0.5564 GB, free: 12.85 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.01045/0.3516, allocations: 2.621 MB / 0.5589 GB, free: 10.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.3516, allocations: 15.89 kB / 0.5589 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.3519, allocations: 147.2 kB / 0.5591 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.3537, allocations: 300.2 kB / 0.5594 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3549, allocations: 0.5894 MB / 0.5599 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/0.3559, allocations: 462.2 kB / 0.5604 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.3562, allocations: 68 kB / 0.5604 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3666, allocations: 3.378 MB / 0.5637 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.3667, allocations: 3.938 kB / 0.5637 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.3669, allocations: 28 kB / 0.5638 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/0.3669, allocations: 53.92 kB / 0.5638 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.3845, allocations: 5.397 MB / 0.5691 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.4038, allocations: 10.09 MB / 0.5789 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008747/0.4126, allocations: 2.731 MB / 0.5816 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007387/0.42, allocations: 2.287 MB / 0.5838 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1192/0.5393, allocations: 53.65 MB / 0.6362 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.5394, allocations: 43.56 kB / 0.6363 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.496e-06/0.5394, allocations: 0 / 0.6363 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.2375/0.7769, allocations: 6.623 MB / 0.6427 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.7769, allocations: 66.53 kB / 0.6428 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.7773, allocations: 248.4 kB / 0.643 GB, free: 134 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.7775, allocations: 41.2 kB / 0.6431 GB, free: 134 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.7777, allocations: 251.7 kB / 0.6433 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.7781, allocations: 327.2 kB / 0.6436 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007628/0.7788, allocations: 279 kB / 0.6439 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.7789, allocations: 358.3 kB / 0.6442 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006802/0.7858, allocations: 2.142 MB / 0.6463 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006881/0.7927, allocations: 2.258 MB / 0.6485 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.8039, allocations: 3.401 MB / 0.6519 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.804, allocations: 0 / 0.6519 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01291/0.8169, allocations: 4.138 MB / 0.6559 GB, free: 128 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.817, allocations: 7.562 kB / 0.6559 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.817, allocations: 6.625 kB / 0.6559 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.817, allocations: 4.281 kB / 0.6559 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.8208, allocations: 0.8228 MB / 0.6567 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.8209, allocations: 8 kB / 0.6567 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/0.824, allocations: 0.6074 MB / 0.6573 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/0.8244, allocations: 91.81 kB / 0.6574 GB, free: 126.5 MB / 0.4981 GB 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.0007657/0.8252, allocations: 272.4 kB / 0.6577 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.8255, allocations: 51.66 kB / 0.6577 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.8393, allocations: 6.525 MB / 0.6641 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01265/0.852, allocations: 5.94 MB / 0.6699 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.8521, allocations: 3.188 kB / 0.6699 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.8521, allocations: 3.984 kB / 0.6699 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.8694, allocations: 9.09 MB / 0.6788 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.8695, allocations: 4 kB / 0.6788 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/0.8728, allocations: 0.7956 MB / 0.6796 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.8729, allocations: 8 kB / 0.6796 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.8731, allocations: 75.81 kB / 0.6796 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.8731, allocations: 11.98 kB / 0.6797 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8731, allocations: 4 kB / 0.6797 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/0.8853, allocations: 4.843 MB / 0.6844 GB, free: 98.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.8855, allocations: 197.9 kB / 0.6846 GB, free: 98.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.8858, allocations: 19.98 kB / 0.6846 GB, free: 98.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002753/0.8885, allocations: 0.5578 MB / 0.6851 GB, free: 98.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.8889, allocations: 142.1 kB / 0.6853 GB, free: 97.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/0.8891, allocations: 87.81 kB / 0.6854 GB, free: 97.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001729/0.8892, allocations: 201.9 kB / 0.6856 GB, free: 97.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8892, allocations: 0 / 0.6856 GB, free: 97.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002771/0.892, allocations: 1.297 MB / 0.6868 GB, free: 96.46 MB / 0.4981 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.01694/0.909, allocations: 6.437 MB / 0.6931 GB, free: 90.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01296/0.922, allocations: 4.888 MB / 0.6979 GB, free: 85.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.922, allocations: 0 / 0.6979 GB, free: 85.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006603/0.9286, allocations: 2.711 MB / 0.7005 GB, free: 82.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.9306, allocations: 344.8 kB / 0.7009 GB, free: 82.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04543/0.976, allocations: 18.56 MB / 0.719 GB, free: 63.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.9765, allocations: 1.117 MB / 0.7201 GB, free: 62.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001921/0.9784, allocations: 0.7181 MB / 0.7208 GB, free: 61.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.9797, allocations: 490.9 kB / 0.7212 GB, free: 61.09 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.9797, allocations: 0 / 0.7212 GB, free: 61.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09388/1.074, allocations: 66.75 MB / 0.7864 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.93, allocations: 11.94 kB / 0.7864 GB, free: 10.08 MB / 0.5137 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.076708622975275] Failed to read output from testmodel.py, exit status != 0: 13.037431181990542 13.062867102 12.717337341 Calling exit ...