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.001838/0.001838, allocations: 113 kB / 18.49 MB, free: 4.539 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.001946/0.001946, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.454/1.454, allocations: 207.6 MB / 231.8 MB, free: 4.035 MB / 174.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.4154/0.4154, allocations: 49.5 MB / 333.2 MB, free: 0.7266 MB / 254.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="cs",version="2.0",platforms={"static"}) [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.002217/0.002217, allocations: 65.66 kB / 471.5 MB, free: 40.99 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.0972, allocations: 62.35 MB / 0.5214 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02024/0.1174, allocations: 16.18 MB / 0.5372 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.1343, allocations: 13.59 MB / 0.5504 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.1346, allocations: 3.938 kB / 0.5505 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.135, allocations: 139.2 kB / 0.5506 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.1354, allocations: 202.9 kB / 0.5508 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.1495, allocations: 5.345 MB / 0.556 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.1516, allocations: 1.946 MB / 0.5579 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.1518, allocations: 93.66 kB / 0.558 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009034/0.1528, allocations: 0.6277 MB / 0.5586 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.154, allocations: 0.7912 MB / 0.5594 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.1542, allocations: 136 kB / 0.5595 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/0.1674, allocations: 6.79 MB / 0.5661 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007006/0.1681, allocations: 482.9 kB / 0.5666 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008052/0.1689, allocations: 0.5683 MB / 0.5671 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.1798, allocations: 5.039 MB / 0.5721 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1798, allocations: 0 / 0.5721 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1798, allocations: 0 / 0.5721 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.1799, allocations: 4 kB / 0.5721 GB, free: 14.2 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01059/0.1904, allocations: 2.625 MB / 0.5746 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1905, allocations: 19.88 kB / 0.5747 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.328e-05/0.1905, allocations: 22.19 kB / 0.5747 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.1908, allocations: 143.2 kB / 0.5748 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.1927, allocations: 296.2 kB / 0.5751 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1938, allocations: 0.5961 MB / 0.5757 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/0.1949, allocations: 462.2 kB / 0.5761 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.1951, allocations: 68 kB / 0.5762 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.2053, allocations: 3.371 MB / 0.5795 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2053, allocations: 3.938 kB / 0.5795 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.2056, allocations: 32 kB / 0.5795 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-05/0.2056, allocations: 49.98 kB / 0.5796 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.2228, allocations: 5.393 MB / 0.5848 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/0.2421, allocations: 10.1 MB / 0.5947 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008964/0.251, allocations: 2.645 MB / 0.5973 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007404/0.2584, allocations: 2.197 MB / 0.5994 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3823/0.6408, allocations: 53.65 MB / 0.6518 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.6408, allocations: 42.72 kB / 0.6518 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.406e-06/0.6408, allocations: 0.75 kB / 0.6518 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.0227/0.6635, allocations: 6.632 MB / 0.6583 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.6636, allocations: 61 kB / 0.6584 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.6638, allocations: 259.9 kB / 0.6586 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.6641, allocations: 37.45 kB / 0.6587 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6643, allocations: 247.1 kB / 0.6589 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.6646, allocations: 326.8 kB / 0.6592 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006136/0.6653, allocations: 283.2 kB / 0.6595 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.6653, allocations: 354.4 kB / 0.6598 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006031/0.6714, allocations: 2.147 MB / 0.6619 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/0.6775, allocations: 2.255 MB / 0.6641 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.688, allocations: 3.397 MB / 0.6674 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.688, allocations: 0 / 0.6674 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01212/0.7002, allocations: 4.141 MB / 0.6715 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.7002, allocations: 8 kB / 0.6715 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7002, allocations: 4 kB / 0.6715 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.7002, allocations: 4 kB / 0.6715 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/0.7038, allocations: 0.8325 MB / 0.6723 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.7038, allocations: 4 kB / 0.6723 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.7067, allocations: 0.6055 MB / 0.6729 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.7069, allocations: 87.81 kB / 0.673 GB, free: 101.6 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.0006376/0.7075, allocations: 275.7 kB / 0.6733 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.7078, allocations: 51.7 kB / 0.6733 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.7216, allocations: 6.516 MB / 0.6797 GB, free: 94.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0129/0.7345, allocations: 5.937 MB / 0.6855 GB, free: 88.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.7345, allocations: 0 / 0.6855 GB, free: 88.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.7345, allocations: 15.92 kB / 0.6855 GB, free: 88.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/0.7528, allocations: 9.091 MB / 0.6944 GB, free: 79.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.7528, allocations: 4.062 kB / 0.6944 GB, free: 79.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003623/0.7564, allocations: 0.8034 MB / 0.6951 GB, free: 78.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.7564, allocations: 4 kB / 0.6951 GB, free: 78.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/0.7567, allocations: 79.81 kB / 0.6952 GB, free: 78.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.7567, allocations: 4 kB / 0.6952 GB, free: 78.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7567, allocations: 3.938 kB / 0.6952 GB, free: 78.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.7693, allocations: 4.847 MB / 0.7 GB, free: 73.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.7695, allocations: 195.7 kB / 0.7002 GB, free: 73.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.7698, allocations: 16 kB / 0.7002 GB, free: 73.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/0.7727, allocations: 0.5656 MB / 0.7007 GB, free: 73.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.7731, allocations: 147.5 kB / 0.7009 GB, free: 73.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.7733, allocations: 87.81 kB / 0.7009 GB, free: 72.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001965/0.7735, allocations: 194 kB / 0.7011 GB, free: 72.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7735, allocations: 0 / 0.7011 GB, free: 72.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003585/0.777, allocations: 1.293 MB / 0.7024 GB, free: 71.55 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.01704/0.7941, allocations: 6.441 MB / 0.7087 GB, free: 65.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01291/0.807, allocations: 4.81 MB / 0.7134 GB, free: 60.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.807, allocations: 0 / 0.7134 GB, free: 60.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006583/0.8136, allocations: 2.531 MB / 0.7158 GB, free: 57.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.8156, allocations: 356 kB / 0.7162 GB, free: 57.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04555/0.8611, allocations: 18.55 MB / 0.7343 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.8616, allocations: 1.121 MB / 0.7354 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001951/0.8636, allocations: 0.7206 MB / 0.7361 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.8649, allocations: 487.4 kB / 0.7366 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.8649, allocations: 0 / 0.7366 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09855/0.9635, allocations: 66.93 MB / 0.8019 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.33, allocations: 8 kB / 0.8019 GB, free: 1.266 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.539160326996353] Failed to read output from testmodel.py, exit status != 0: 13.496015916985925 13.517068346 13.332846123 Calling exit ...