Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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.001322/0.001322, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001344/0.001344, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.307/1.307, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 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.2763/0.2763, allocations: 49.6 MB / 336.4 MB, free: 3.887 MB / 270.1 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.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",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.002241/0.002241, allocations: 71.89 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1033, allocations: 62.43 MB / 0.5262 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.2033/0.3066, allocations: 14.23 MB / 0.5401 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3077, allocations: 0.6541 MB / 0.5407 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3079, allocations: 6.281 kB / 0.5407 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.3083, allocations: 98.94 kB / 0.5408 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.3089, allocations: 210 kB / 0.541 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.3139, allocations: 2.043 MB / 0.543 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.3145, allocations: 0.5847 MB / 0.5436 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3146, allocations: 47.33 kB / 0.5436 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.3151, allocations: 425.1 kB / 0.544 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.3155, allocations: 277.9 kB / 0.5443 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.3155, allocations: 21.88 kB / 0.5443 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006234/0.3218, allocations: 3.513 MB / 0.5477 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.322, allocations: 207.3 kB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.3223, allocations: 251.8 kB / 0.5482 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.3254, allocations: 2.433 MB / 0.5505 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3254, allocations: 0 / 0.5505 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3254, allocations: 0 / 0.5505 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3254, allocations: 0 / 0.5505 GB, free: 11.35 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002727/0.3282, allocations: 1.174 MB / 0.5517 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3282, allocations: 10.39 kB / 0.5517 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.612e-05/0.3283, allocations: 95.81 kB / 0.5518 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.3286, allocations: 95.08 kB / 0.5519 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.3294, allocations: 0.4941 MB / 0.5524 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.3294, allocations: 39.53 kB / 0.5524 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.3295, allocations: 46.8 kB / 0.5524 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3309, allocations: 0.8177 MB / 0.5532 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3309, allocations: 5.125 kB / 0.5532 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.331, allocations: 19.91 kB / 0.5533 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/0.331, allocations: 42.81 kB / 0.5533 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3321, allocations: 0.5996 MB / 0.5539 GB, free: 10.24 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3344, allocations: 2.549 MB / 0.5564 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.3354, allocations: 0.5209 MB / 0.5569 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.3356, allocations: 173.2 kB / 0.5571 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0275/0.3631, allocations: 8.258 MB / 0.5651 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3631, allocations: 41.2 kB / 0.5652 GB, free: 5.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.3631, allocations: 0 / 0.5652 GB, free: 5.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001725/0.3648, allocations: 0.737 MB / 0.5659 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.3649, allocations: 55.47 kB / 0.5659 GB, free: 5.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.3654, allocations: 474.8 kB / 0.5664 GB, free: 4.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3654, allocations: 33.45 kB / 0.5664 GB, free: 4.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3655, allocations: 275 kB / 0.5667 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.3656, allocations: 146.5 kB / 0.5668 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.3657, allocations: 78.52 kB / 0.5669 GB, free: 4.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.3657, allocations: 363 kB / 0.5672 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3659, allocations: 129.2 kB / 0.5674 GB, free: 4.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.3661, allocations: 207.6 kB / 0.5676 GB, free: 3.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.3665, allocations: 377.2 kB / 0.5679 GB, free: 3.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3665, allocations: 3.938 kB / 0.5679 GB, free: 3.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000555/0.3671, allocations: 442.3 kB / 0.5683 GB, free: 3.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3671, allocations: 9.875 kB / 0.5684 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3671, allocations: 5.922 kB / 0.5684 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3671, allocations: 4 kB / 0.5684 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.3674, allocations: 68.25 kB / 0.5684 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3674, allocations: 6.938 kB / 0.5684 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3676, allocations: 47.25 kB / 0.5685 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.3677, allocations: 14.16 kB / 0.5685 GB, free: 3.402 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0002266/0.3679, allocations: 254.9 kB / 0.5687 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.368, allocations: 55.61 kB / 0.5688 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.3694, allocations: 1.838 MB / 0.5706 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.3694, allocations: 30.23 kB / 0.5706 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3694, allocations: 1.562 kB / 0.5706 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3695, allocations: 3.984 kB / 0.5706 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.3703, allocations: 0.968 MB / 0.5716 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3703, allocations: 3.625 kB / 0.5716 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.3705, allocations: 55.78 kB / 0.5716 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3705, allocations: 1.375 kB / 0.5716 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3705, allocations: 6.75 kB / 0.5716 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3705, allocations: 1.375 kB / 0.5716 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3705, allocations: 1.375 kB / 0.5716 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.3713, allocations: 1.027 MB / 0.5726 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.3714, allocations: 96.69 kB / 0.5727 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.3715, allocations: 5.219 kB / 0.5727 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3717, allocations: 21.39 kB / 0.5728 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3717, allocations: 18.95 kB / 0.5728 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3717, allocations: 14.7 kB / 0.5728 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.372, allocations: 336.4 kB / 0.5731 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.372, allocations: 0 / 0.5731 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001894/0.3739, allocations: 0.5318 MB / 0.5736 GB, free: 0.5391 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.002699/0.3766, allocations: 1.978 MB / 0.5756 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.3773, allocations: 0.543 MB / 0.5761 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3773, allocations: 0 / 0.5761 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.3776, allocations: 376.7 kB / 0.5764 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.379, allocations: 282.1 kB / 0.5767 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.3859, allocations: 5.51 MB / 0.5821 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3864, allocations: 458.7 kB / 0.5825 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.3869, allocations: 277.2 kB / 0.5828 GB, free: 8.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.3872, allocations: 275.3 kB / 0.5831 GB, free: 8.504 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3872, allocations: 0 / 0.5831 GB, free: 8.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/0.4483, allocations: 29.99 MB / 0.6123 GB, free: 10.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.16, allocations: 4 kB / 0.6124 GB, free: 10.41 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.83723358111456] Failed to read output from testmodel.py, exit status != 0: 12.286771330982447 12.314098659 11.984003682 Calling exit ...