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.001463/0.001463, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001372/0.001372, allocations: 213.5 kB / 23.74 MB, free: 4.656 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.364/1.364, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.1443/0.1443, allocations: 26.81 MB / 340.7 MB, free: 8.211 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.001878/0.001878, allocations: 63.89 kB / 476.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 60.48 MB / 0.5248 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01645/0.3364, allocations: 16.36 MB / 0.5407 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3531, allocations: 13.63 MB / 0.554 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.3534, allocations: 10.09 kB / 0.5541 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.3539, allocations: 130.4 kB / 0.5542 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.3542, allocations: 204.9 kB / 0.5544 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.3705, allocations: 5.384 MB / 0.5596 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.3727, allocations: 1.957 MB / 0.5615 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3729, allocations: 70.78 kB / 0.5616 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009808/0.3739, allocations: 0.6158 MB / 0.5622 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.3753, allocations: 0.8073 MB / 0.563 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.3755, allocations: 137.1 kB / 0.5631 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.3898, allocations: 6.821 MB / 0.5698 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.3904, allocations: 482.9 kB / 0.5703 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008885/0.3913, allocations: 0.5762 MB / 0.5708 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.4029, allocations: 5.058 MB / 0.5758 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4029, allocations: 0 / 0.5758 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4029, allocations: 0 / 0.5758 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.02e-05/0.4029, allocations: 0 / 0.5758 GB, free: 0.7812 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.01002/0.4129, allocations: 2.558 MB / 0.5783 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.413, allocations: 12.03 kB / 0.5783 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.4132, allocations: 151.2 kB / 0.5784 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.4149, allocations: 300.2 kB / 0.5787 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.416, allocations: 0.5366 MB / 0.5792 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001313/0.4173, allocations: 1.106 MB / 0.5803 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.4176, allocations: 79.94 kB / 0.5804 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008666/0.4262, allocations: 3.374 MB / 0.5837 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4263, allocations: 0 / 0.5837 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.4264, allocations: 28 kB / 0.5837 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.4265, allocations: 45.98 kB / 0.5837 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.441, allocations: 5.401 MB / 0.589 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.4573, allocations: 10.05 MB / 0.5988 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.4645, allocations: 2.641 MB / 0.6014 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005965/0.4705, allocations: 2.205 MB / 0.6036 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09573/0.5662, allocations: 29.19 MB / 0.6321 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.5663, allocations: 43.56 kB / 0.6321 GB, free: 6.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.146e-06/0.5663, allocations: 0 / 0.6321 GB, free: 6.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.0201/0.5864, allocations: 6.638 MB / 0.6386 GB, free: 15.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.5864, allocations: 68.41 kB / 0.6387 GB, free: 15.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.5868, allocations: 248.9 kB / 0.6389 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.5869, allocations: 33.7 kB / 0.6389 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.5871, allocations: 257.1 kB / 0.6392 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.5875, allocations: 317.2 kB / 0.6395 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005851/0.5881, allocations: 286.2 kB / 0.6397 GB, free: 14.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5882, allocations: 354.8 kB / 0.6401 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005971/0.5942, allocations: 2.144 MB / 0.6422 GB, free: 11.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006084/0.6003, allocations: 2.263 MB / 0.6444 GB, free: 9.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.6107, allocations: 3.398 MB / 0.6477 GB, free: 6.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.6107, allocations: 4 kB / 0.6477 GB, free: 6.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01197/0.6227, allocations: 4.134 MB / 0.6518 GB, free: 2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.6227, allocations: 8 kB / 0.6518 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6227, allocations: 3.938 kB / 0.6518 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.6228, allocations: 8.281 kB / 0.6518 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.6262, allocations: 0.8306 MB / 0.6526 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.6262, allocations: 8 kB / 0.6526 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.6288, allocations: 0.6081 MB / 0.6532 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.629, allocations: 91.81 kB / 0.6533 GB, free: 452 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.000617/0.6296, allocations: 269.5 kB / 0.6535 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.6299, allocations: 47.72 kB / 0.6536 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.6444, allocations: 6.639 MB / 0.6601 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01334/0.6578, allocations: 6.046 MB / 0.666 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6578, allocations: 0 / 0.666 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.6578, allocations: 11.97 kB / 0.666 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.6776, allocations: 9.222 MB / 0.675 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.6776, allocations: 4 kB / 0.675 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/0.6809, allocations: 0.7995 MB / 0.6758 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.681, allocations: 4 kB / 0.6758 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.6811, allocations: 79.81 kB / 0.6758 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.6812, allocations: 8 kB / 0.6758 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6812, allocations: 0 / 0.6758 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/0.6939, allocations: 4.878 MB / 0.6806 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.6941, allocations: 126.8 kB / 0.6807 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.6943, allocations: 16 kB / 0.6807 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002584/0.6969, allocations: 0.5656 MB / 0.6813 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.6972, allocations: 144.6 kB / 0.6814 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.6974, allocations: 83.81 kB / 0.6815 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002176/0.6976, allocations: 193.2 kB / 0.6817 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6976, allocations: 7.938 kB / 0.6817 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003308/0.7009, allocations: 1.295 MB / 0.683 GB, free: 1.887 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.0169/0.7178, allocations: 6.503 MB / 0.6893 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01285/0.7307, allocations: 4.832 MB / 0.694 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7307, allocations: 0 / 0.694 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006626/0.7373, allocations: 2.547 MB / 0.6965 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.7391, allocations: 345.3 kB / 0.6969 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/0.7845, allocations: 18.61 MB / 0.715 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.7853, allocations: 1.125 MB / 0.7161 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001884/0.7872, allocations: 0.715 MB / 0.7168 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.7885, allocations: 494.9 kB / 0.7173 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.7885, allocations: 0 / 0.7173 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/1.109, allocations: 68.92 MB / 0.7846 GB, free: 149 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.73, allocations: 3.375 kB / 0.7846 GB, free: 149 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 18.26871663390193] Failed to read output from testmodel.py, exit status != 0: 15.86647534603253 15.87599101 15.470817462 Calling exit ...