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.0008335/0.0008335, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008713/0.0008713, allocations: 170 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.8127/0.8127, 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.1716/0.1716, allocations: 36.34 MB / 274.3 MB, free: 10.91 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.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: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 414.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.67e-05, allocations: 2.281 kB / 414.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01353/0.01355, allocations: 14.22 MB / 428.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006085/0.01416, allocations: 0.6541 MB / 429.2 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.01426, allocations: 3.938 kB / 429.2 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.01467, allocations: 99.34 kB / 429.3 MB, free: 7.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.01531, allocations: 226.8 kB / 429.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.01903, allocations: 2.067 MB / 431.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005463/0.01958, allocations: 0.6141 MB / 432.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.01972, allocations: 44.88 kB / 432.3 MB, free: 4.082 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.02029, allocations: 498.9 kB / 432.8 MB, free: 3.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.0206, allocations: 259.3 kB / 433 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.02063, allocations: 20 kB / 433 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.157/0.1776, allocations: 3.506 MB / 436.5 MB, free: 18.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.1779, allocations: 217.2 kB / 436.7 MB, free: 18.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.1782, allocations: 208.9 kB / 437 MB, free: 18.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.1835, allocations: 2.97 MB / 439.9 MB, free: 18.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1835, allocations: 1.219 kB / 439.9 MB, free: 18.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1836, allocations: 0 / 439.9 MB, free: 18.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.1836, allocations: 0 / 439.9 MB, free: 18.09 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003479/0.1871, allocations: 1.162 MB / 441.1 MB, free: 17.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1871, allocations: 12.97 kB / 441.1 MB, free: 17.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.857e-05/0.1872, allocations: 96.56 kB / 441.2 MB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.1874, allocations: 99.67 kB / 441.3 MB, free: 17.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.1881, allocations: 0.4942 MB / 441.8 MB, free: 17.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1881, allocations: 35.59 kB / 441.8 MB, free: 17.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.1882, allocations: 46.41 kB / 441.9 MB, free: 17.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1892, allocations: 0.8109 MB / 442.7 MB, free: 17.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1892, allocations: 4.688 kB / 442.7 MB, free: 17.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1893, allocations: 21.73 kB / 442.7 MB, free: 17.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/0.1893, allocations: 41.56 kB / 442.7 MB, free: 17.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.1902, allocations: 0.607 MB / 443.3 MB, free: 17.05 MB / 362.7 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.00191/0.1921, allocations: 2.545 MB / 445.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.1928, allocations: 0.5046 MB / 446.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.193, allocations: 174.9 kB / 446.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01624/0.2093, allocations: 8.251 MB / 454.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2093, allocations: 39.41 kB / 454.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.547e-06/0.2093, allocations: 3.234 kB / 454.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001244/0.2106, allocations: 0.7494 MB / 455.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2106, allocations: 58.17 kB / 455.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.2109, allocations: 473.7 kB / 456.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.211, allocations: 32.17 kB / 456.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2111, allocations: 281 kB / 456.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.2111, allocations: 143.4 kB / 456.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.2112, allocations: 77.66 kB / 456.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.2112, allocations: 364.6 kB / 457 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2114, allocations: 128.8 kB / 457.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2115, allocations: 198.5 kB / 457.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.2119, allocations: 384.2 kB / 457.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2119, allocations: 3 kB / 457.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003953/0.2123, allocations: 440.2 kB / 458.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2123, allocations: 6.844 kB / 458.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2123, allocations: 3.938 kB / 458.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2123, allocations: 3.812 kB / 458.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2125, allocations: 66.53 kB / 458.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2125, allocations: 4.781 kB / 458.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.2127, allocations: 45.73 kB / 458.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.2127, allocations: 14.03 kB / 458.3 MB, free: 13.48 MB / 362.7 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.0002121/0.2129, allocations: 255.9 kB / 458.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.2129, allocations: 59.28 kB / 458.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009645/0.2139, allocations: 1.858 MB / 460.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.2139, allocations: 30.83 kB / 460.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2139, allocations: 0 / 460.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2139, allocations: 0 / 460.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.2146, allocations: 0.9685 MB / 461.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2146, allocations: 0 / 461.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2147, allocations: 50.75 kB / 461.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2147, allocations: 3.656 kB / 461.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2147, allocations: 11.94 kB / 461.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2147, allocations: 2.438 kB / 461.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2147, allocations: 4 kB / 461.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.2153, allocations: 1.021 MB / 462.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.2154, allocations: 91.84 kB / 462.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.2154, allocations: 14.72 kB / 462.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.2155, allocations: 11.88 kB / 462.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.2155, allocations: 22.77 kB / 462.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2155, allocations: 9.125 kB / 462.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.2157, allocations: 339.1 kB / 463 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2157, allocations: 0 / 463 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001898/0.2176, allocations: 0.534 MB / 463.5 MB, free: 10.65 MB / 362.7 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.002172/0.2198, allocations: 2.044 MB / 465.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.2202, allocations: 0.5434 MB / 466.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2202, allocations: 0 / 466.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.2205, allocations: 372.7 kB / 466.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.2212, allocations: 298 kB / 466.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.2254, allocations: 5.513 MB / 472.3 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2256, allocations: 452.1 kB / 472.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.2259, allocations: 274.6 kB / 473 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.2261, allocations: 276.4 kB / 473.3 MB, free: 1.258 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2261, allocations: 0 / 473.3 MB, free: 1.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.27, allocations: 30.1 MB / 0.4916 GB, free: 3.105 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/7.943, allocations: 8.047 kB / 0.4916 GB, free: 3.098 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 9.916676236316562] Failed to read output from testmodel.py, exit status != 0: 8.041824083775282 8.055804826 7.869261289 Calling exit ...