Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.001036/0.001036, 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.001064/0.001064, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8625/0.8625, allocations: 158.6 MB / 185.7 MB, free: 3.02 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.1787/0.1787, 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.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 414.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.666e-05, allocations: 6.219 kB / 414.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01345/0.01348, allocations: 14.23 MB / 428.6 MB, free: 7.766 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.01422, allocations: 0.6465 MB / 429.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.01435, allocations: 11.94 kB / 429.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.01471, allocations: 103.3 kB / 429.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.01525, allocations: 218.9 kB / 429.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.01961, allocations: 2.067 MB / 431.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.02019, allocations: 479.9 kB / 432.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.02035, allocations: 57.33 kB / 432.2 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.02086, allocations: 451 kB / 432.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.02111, allocations: 211.4 kB / 432.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.02114, allocations: 20 kB / 432.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.02558, allocations: 3.515 MB / 436.3 MB, free: 0 / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1562/0.1817, allocations: 203.2 kB / 436.5 MB, free: 18.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.182, allocations: 171.3 kB / 436.7 MB, free: 18.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006075/0.188, allocations: 2.896 MB / 439.6 MB, free: 18.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1881, allocations: 0 / 439.6 MB, free: 18.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1881, allocations: 4.5 kB / 439.6 MB, free: 18.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1881, allocations: 0 / 439.6 MB, free: 18.23 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002899/0.191, allocations: 1.006 MB / 440.6 MB, free: 17.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.191, allocations: 9.891 kB / 440.6 MB, free: 17.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.841e-05/0.1911, allocations: 82.7 kB / 440.7 MB, free: 17.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1912, allocations: 73.14 kB / 440.8 MB, free: 17.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.1918, allocations: 476.9 kB / 441.2 MB, free: 17.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.1918, allocations: 27.5 kB / 441.3 MB, free: 17.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1919, allocations: 36.16 kB / 441.3 MB, free: 17.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.1927, allocations: 0.6078 MB / 441.9 MB, free: 17.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1927, allocations: 0 / 441.9 MB, free: 17.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1927, allocations: 15.19 kB / 441.9 MB, free: 17.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.1927, allocations: 26.95 kB / 442 MB, free: 17.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.1933, allocations: 457.2 kB / 442.4 MB, free: 17.29 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.001634/0.195, allocations: 1.803 MB / 444.2 MB, free: 16.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.1955, allocations: 353.1 kB / 444.6 MB, free: 16.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1957, allocations: 159.3 kB / 444.7 MB, free: 16.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01734/0.213, allocations: 8.245 MB / 453 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.2131, allocations: 35.72 kB / 453 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.285e-06/0.2131, allocations: 0 / 453 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.000998/0.2141, allocations: 0.5502 MB / 453.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2141, allocations: 54.19 kB / 453.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.2145, allocations: 415.6 kB / 454 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2145, allocations: 30.55 kB / 454 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2146, allocations: 253.8 kB / 454.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.2146, allocations: 111.6 kB / 454.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.2147, allocations: 57.44 kB / 454.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.2147, allocations: 353.7 kB / 454.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2149, allocations: 108.9 kB / 454.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.215, allocations: 152.3 kB / 455 MB, free: 14.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.2152, allocations: 288.8 kB / 455.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2152, allocations: 0 / 455.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003584/0.2156, allocations: 352.1 kB / 455.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2156, allocations: 9.656 kB / 455.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2156, allocations: 0 / 455.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2156, allocations: 9.844 kB / 455.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2158, allocations: 46.59 kB / 455.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2158, allocations: 2.969 kB / 455.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2159, allocations: 29.27 kB / 455.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.216, allocations: 9.281 kB / 455.8 MB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (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 (27): * Single equations (assignments): 25 * 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.0002049/0.2162, allocations: 229.3 kB / 456 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.2162, allocations: 41.91 kB / 456 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.217, allocations: 1.167 MB / 457.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.217, allocations: 26.41 kB / 457.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.217, allocations: 0 / 457.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.217, allocations: 0 / 457.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.2176, allocations: 0.685 MB / 457.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2176, allocations: 0 / 457.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.2177, allocations: 34.83 kB / 457.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2177, allocations: 1.312 kB / 457.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2177, allocations: 11.48 kB / 458 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.2177, allocations: 5.25 kB / 458 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2177, allocations: 0 / 458 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.2182, allocations: 0.7212 MB / 458.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.2183, allocations: 69.83 kB / 458.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.2183, allocations: 11.83 kB / 458.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.2184, allocations: 8.812 kB / 458.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.2184, allocations: 14.81 kB / 458.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2184, allocations: 12.7 kB / 458.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.2186, allocations: 300.1 kB / 459.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2186, allocations: 0 / 459.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002088/0.2207, allocations: 0.4981 MB / 459.6 MB, free: 13.05 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.002381/0.2231, allocations: 1.739 MB / 461.3 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.2235, allocations: 387.5 kB / 461.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2235, allocations: 3.562 kB / 461.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.2237, allocations: 246.7 kB / 462 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.2243, allocations: 199.7 kB / 462.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.2291, allocations: 4.553 MB / 466.7 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2293, allocations: 354.7 kB / 467 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.2296, allocations: 179.1 kB / 467.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2298, allocations: 205.5 kB / 467.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2298, allocations: 0 / 467.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.2699, allocations: 25.68 MB / 493.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.706, allocations: 0 / 493.1 MB, free: 13.52 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse_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_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.72396675683558] Failed to read output from testmodel.py, exit status != 0: 7.797510128468275 7.808677103 7.618768219 Calling exit ...