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.0007885/0.0007885, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008257/0.0008257, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8079/0.8079, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1691/0.1691, allocations: 36.35 MB / 274.3 MB, free: 10.9 MB / 266.7 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 3.984 kB / 414.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.457e-05, allocations: 2.281 kB / 414.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01239/0.01241, allocations: 14.7 MB / 429.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.1743, allocations: 11.93 MB / 441 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.1745, allocations: 5.5 kB / 441 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.1748, allocations: 120.9 kB / 441.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1751, allocations: 212.2 kB / 441.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008993/0.1841, allocations: 5.365 MB / 446.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1852, allocations: 2.003 MB / 448.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1853, allocations: 62 kB / 448.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.1862, allocations: 0.8521 MB / 449.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.187, allocations: 0.7429 MB / 450.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.1872, allocations: 137.3 kB / 450.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006835/0.194, allocations: 6.499 MB / 457 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.1943, allocations: 494.8 kB / 457.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.1946, allocations: 485.9 kB / 457.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.199, allocations: 6.24 MB / 464.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.199, allocations: 0 / 464.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.199, allocations: 0 / 464.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.199, allocations: 0 / 464.2 MB, free: 7.117 MB / 362.7 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.004201/0.2032, allocations: 2.547 MB / 466.7 MB, free: 5.684 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2033, allocations: 14.94 kB / 466.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.2034, allocations: 145.8 kB / 466.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/0.2043, allocations: 297 kB / 467.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.2048, allocations: 0.5289 MB / 467.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005031/0.2053, allocations: 1.11 MB / 468.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.2055, allocations: 72.81 kB / 468.9 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.2098, allocations: 3.372 MB / 472.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2099, allocations: 4 kB / 472.3 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.21, allocations: 28 kB / 472.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.21, allocations: 53.97 kB / 472.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00825/0.2183, allocations: 5.392 MB / 477.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008889/0.2272, allocations: 7.921 MB / 485.7 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.2314, allocations: 2.643 MB / 488.3 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.2349, allocations: 2.202 MB / 490.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04714/0.282, allocations: 28.01 MB / 0.5064 GB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.282, allocations: 39.56 kB / 0.5064 GB, free: 2.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 2.334e-06/0.282, allocations: 0 / 0.5064 GB, free: 2.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.01185/0.2939, allocations: 6.632 MB / 0.5129 GB, free: 12.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.2939, allocations: 60.41 kB / 0.5129 GB, free: 12.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2941, allocations: 261.6 kB / 0.5132 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.2942, allocations: 41.7 kB / 0.5132 GB, free: 11.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2944, allocations: 253.2 kB / 0.5135 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.2946, allocations: 313.5 kB / 0.5138 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.295, allocations: 282.2 kB / 0.514 GB, free: 11.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.295, allocations: 362.8 kB / 0.5144 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/0.2987, allocations: 2.144 MB / 0.5165 GB, free: 8.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.3022, allocations: 2.25 MB / 0.5187 GB, free: 6.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005948/0.3081, allocations: 3.403 MB / 0.522 GB, free: 2.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3081, allocations: 4 kB / 0.522 GB, free: 2.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.007175/0.3153, allocations: 4.142 MB / 0.526 GB, free: 14.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3153, allocations: 6.5 kB / 0.526 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3153, allocations: 4 kB / 0.526 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3153, allocations: 4 kB / 0.5261 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.3171, allocations: 0.8226 MB / 0.5269 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3171, allocations: 7.938 kB / 0.5269 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.3186, allocations: 0.612 MB / 0.5275 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.3187, allocations: 91.81 kB / 0.5275 GB, free: 13.21 MB / 442.7 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.0004196/0.3191, allocations: 274 kB / 0.5278 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.3193, allocations: 47.72 kB / 0.5279 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008565/0.3279, allocations: 6.645 MB / 0.5343 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008189/0.336, allocations: 6.062 MB / 0.5403 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3361, allocations: 0 / 0.5403 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3361, allocations: 8.797 kB / 0.5403 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.3477, allocations: 8.946 MB / 0.549 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3477, allocations: 2.812 kB / 0.549 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.3495, allocations: 0.8043 MB / 0.5498 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.3495, allocations: 7.938 kB / 0.5498 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.3496, allocations: 83.81 kB / 0.5499 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.3496, allocations: 5.438 kB / 0.5499 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3496, allocations: 0 / 0.5499 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008212/0.3578, allocations: 4.874 MB / 0.5546 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.358, allocations: 122.8 kB / 0.5548 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.3581, allocations: 19.94 kB / 0.5548 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.3595, allocations: 0.5656 MB / 0.5553 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.3598, allocations: 144.6 kB / 0.5555 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.3599, allocations: 83.81 kB / 0.5556 GB, free: 468 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.36, allocations: 193.2 kB / 0.5557 GB, free: 272 kB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 0.5557 GB, free: 272 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.003185/0.3632, allocations: 1.279 MB / 0.557 GB, free: 14.98 MB / 474.7 MB 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.01146/0.3747, allocations: 6.622 MB / 0.5635 GB, free: 8.441 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007783/0.3825, allocations: 4.829 MB / 0.5682 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3825, allocations: 0 / 0.5682 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003696/0.3862, allocations: 2.547 MB / 0.5707 GB, free: 1.051 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.3873, allocations: 348.3 kB / 0.571 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/0.4149, allocations: 18.61 MB / 0.5892 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4152, allocations: 0.5229 MB / 0.5897 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001239/0.4165, allocations: 0.715 MB / 0.5904 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009586/0.4174, allocations: 491.9 kB / 0.5908 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/0.4174, allocations: 0 / 0.5908 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2232/0.6406, allocations: 70.14 MB / 0.6593 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/9.221, allocations: 3.953 kB / 0.6593 GB, free: 150.1 MB / 0.5105 GB " [Timeout remaining time 651] (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 sys.exit(0), Time elapsed: 11.461207107640803] Failed to read output from testmodel.py, exit status != 0: 9.3352205818519 9.346876735 9.145644623 Calling exit ...