Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001761/0.001761, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002122/0.002122, allocations: 214.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1522/0.1522, allocations: 26.8 MB / 340.7 MB, free: 8.18 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002192/0.002192, allocations: 71.88 kB / 476.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3237, allocations: 60.48 MB / 0.5248 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01943/0.3432, allocations: 16.36 MB / 0.5407 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.3616, allocations: 13.64 MB / 0.5541 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.3619, allocations: 6.156 kB / 0.5541 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.3624, allocations: 134.7 kB / 0.5542 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.363, allocations: 208.2 kB / 0.5544 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0183/0.3813, allocations: 5.373 MB / 0.5596 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.384, allocations: 1.958 MB / 0.5615 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3842, allocations: 64.83 kB / 0.5616 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.3855, allocations: 0.6226 MB / 0.5622 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.3873, allocations: 0.8011 MB / 0.563 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.3878, allocations: 136.3 kB / 0.5631 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.4056, allocations: 6.832 MB / 0.5698 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009467/0.4065, allocations: 479 kB / 0.5703 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.4079, allocations: 0.5762 MB / 0.5708 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4208, allocations: 5.062 MB / 0.5758 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4208, allocations: 4 kB / 0.5758 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4208, allocations: 0 / 0.5758 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.815e-05/0.4209, allocations: 0 / 0.5758 GB, free: 0.7227 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01057/0.4314, allocations: 2.561 MB / 0.5783 GB, free: 14.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4315, allocations: 12.03 kB / 0.5783 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004245/0.4319, allocations: 151.2 kB / 0.5784 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.4338, allocations: 296.2 kB / 0.5787 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.4352, allocations: 0.5366 MB / 0.5792 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001432/0.4367, allocations: 1.102 MB / 0.5803 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.437, allocations: 72 kB / 0.5804 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.4475, allocations: 3.374 MB / 0.5837 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.4475, allocations: 0 / 0.5837 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.4479, allocations: 28 kB / 0.5837 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.907e-05/0.448, allocations: 53.97 kB / 0.5837 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.4643, allocations: 5.397 MB / 0.589 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.4836, allocations: 10.05 MB / 0.5988 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.4918, allocations: 2.645 MB / 0.6014 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006654/0.4985, allocations: 2.205 MB / 0.6036 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.103/0.6015, allocations: 29.19 MB / 0.6321 GB, free: 6.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.203e-05/0.6016, allocations: 43.56 kB / 0.6321 GB, free: 6.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.888e-06/0.6016, allocations: 0 / 0.6321 GB, free: 6.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02235/0.624, allocations: 6.638 MB / 0.6386 GB, free: 15.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.624, allocations: 60.41 kB / 0.6387 GB, free: 15.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.6244, allocations: 248.9 kB / 0.6389 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.6248, allocations: 37.69 kB / 0.6389 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.625, allocations: 257.1 kB / 0.6392 GB, free: 14.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007149/0.6258, allocations: 317.2 kB / 0.6395 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.6268, allocations: 286.3 kB / 0.6398 GB, free: 14.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.6271, allocations: 354.8 kB / 0.6401 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006661/0.6338, allocations: 2.152 MB / 0.6422 GB, free: 11.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006717/0.6405, allocations: 2.247 MB / 0.6444 GB, free: 9.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.6518, allocations: 3.402 MB / 0.6477 GB, free: 6.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.6518, allocations: 3.984 kB / 0.6477 GB, free: 6.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01342/0.6653, allocations: 4.137 MB / 0.6518 GB, free: 1.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.6653, allocations: 11.12 kB / 0.6518 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6653, allocations: 3.938 kB / 0.6518 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.6653, allocations: 8 kB / 0.6518 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.6692, allocations: 0.827 MB / 0.6526 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.6692, allocations: 4 kB / 0.6526 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.6722, allocations: 0.6159 MB / 0.6532 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/0.6725, allocations: 91.81 kB / 0.6533 GB, free: 396 kB / 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.0008332/0.6733, allocations: 269.6 kB / 0.6535 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.6737, allocations: 47.72 kB / 0.6536 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/0.69, allocations: 6.647 MB / 0.6601 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01454/0.7046, allocations: 6.042 MB / 0.666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7046, allocations: 4 kB / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.7046, allocations: 3.984 kB / 0.666 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/0.7256, allocations: 9.226 MB / 0.675 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7256, allocations: 0 / 0.675 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/0.7292, allocations: 0.7956 MB / 0.6758 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/0.7292, allocations: 7.984 kB / 0.6758 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/0.7294, allocations: 79.81 kB / 0.6759 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.7294, allocations: 8 kB / 0.6759 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7295, allocations: 0 / 0.6759 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.7431, allocations: 4.882 MB / 0.6806 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.7434, allocations: 122.8 kB / 0.6807 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.7437, allocations: 20 kB / 0.6808 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/0.7465, allocations: 0.5617 MB / 0.6813 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/0.7469, allocations: 144.6 kB / 0.6814 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/0.7472, allocations: 83.81 kB / 0.6815 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002636/0.7474, allocations: 193.2 kB / 0.6817 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7474, allocations: 0 / 0.6817 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004173/0.7516, allocations: 1.295 MB / 0.683 GB, free: 1.836 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.01941/0.771, allocations: 6.503 MB / 0.6893 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01443/0.7854, allocations: 4.825 MB / 0.694 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7855, allocations: 0 / 0.694 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007392/0.7928, allocations: 2.547 MB / 0.6965 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.795, allocations: 349.1 kB / 0.6969 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05041/0.8454, allocations: 18.62 MB / 0.715 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/0.8464, allocations: 1.125 MB / 0.7161 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002408/0.8488, allocations: 0.7189 MB / 0.7168 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.8504, allocations: 490.9 kB / 0.7173 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/0.8504, allocations: 0 / 0.7173 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3535/1.204, allocations: 68.92 MB / 0.7846 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.51, allocations: 6.922 kB / 0.7846 GB, free: 148.5 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.317835475085303] Failed to read output from testmodel.py, exit status != 0: 16.65308299101889 16.668731788 16.244452052 Calling exit ...