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.001595/0.001595, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001889/0.001889, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.423/1.423, allocations: 207.6 MB / 231.1 MB, free: 4.082 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.3917/0.3917, allocations: 49.51 MB / 332.5 MB, free: 0.7422 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.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.002003/0.002003, allocations: 72.19 kB / 470.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09614, allocations: 62.33 MB / 0.5207 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01773/0.1139, allocations: 15.6 MB / 0.5359 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.1148, allocations: 0.7203 MB / 0.5366 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1149, allocations: 7.938 kB / 0.5366 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.1153, allocations: 111.3 kB / 0.5367 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.1158, allocations: 207.1 kB / 0.5369 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.1206, allocations: 2.049 MB / 0.5389 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.1213, allocations: 0.591 MB / 0.5395 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1214, allocations: 68.7 kB / 0.5396 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.1219, allocations: 399 kB / 0.5399 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.1223, allocations: 287 kB / 0.5402 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1223, allocations: 24 kB / 0.5402 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005735/0.1281, allocations: 3.632 MB / 0.5438 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.1283, allocations: 211.3 kB / 0.544 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.1286, allocations: 306.4 kB / 0.5443 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.1317, allocations: 2.431 MB / 0.5466 GB, free: 7.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1317, allocations: 0 / 0.5466 GB, free: 7.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1317, allocations: 0 / 0.5466 GB, free: 7.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1317, allocations: 0 / 0.5466 GB, free: 7.617 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.002873/0.1345, allocations: 1.245 MB / 0.5479 GB, free: 6.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1346, allocations: 8.031 kB / 0.5479 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.1347, allocations: 98.69 kB / 0.548 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.135, allocations: 92.5 kB / 0.5481 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.1357, allocations: 0.5619 MB / 0.5486 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.1358, allocations: 40.94 kB / 0.5486 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.1358, allocations: 44 kB / 0.5487 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1373, allocations: 0.8078 MB / 0.5495 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1373, allocations: 0 / 0.5495 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.1373, allocations: 19.98 kB / 0.5495 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.1374, allocations: 48.97 kB / 0.5495 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1386, allocations: 0.6008 MB / 0.5501 GB, free: 3.902 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.003617/0.1422, allocations: 4.305 MB / 0.5543 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1433, allocations: 0.5143 MB / 0.5548 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.1436, allocations: 173.1 kB / 0.555 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03305/0.1767, allocations: 15.38 MB / 0.57 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.1767, allocations: 42.5 kB / 0.5701 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.036e-06/0.1767, allocations: 0 / 0.5701 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.002059/0.1788, allocations: 0.7354 MB / 0.5708 GB, free: 12.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1788, allocations: 59.39 kB / 0.5708 GB, free: 12.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.1794, allocations: 473.9 kB / 0.5713 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1795, allocations: 29.7 kB / 0.5713 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.1797, allocations: 280.6 kB / 0.5716 GB, free: 11.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.1798, allocations: 146.7 kB / 0.5717 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.18, allocations: 73.69 kB / 0.5718 GB, free: 11.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1801, allocations: 362.8 kB / 0.5721 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1804, allocations: 128.4 kB / 0.5723 GB, free: 10.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1806, allocations: 209.3 kB / 0.5725 GB, free: 10.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.1812, allocations: 374.5 kB / 0.5728 GB, free: 10.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1812, allocations: 4 kB / 0.5728 GB, free: 10.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007226/0.1819, allocations: 437.2 kB / 0.5732 GB, free: 9.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1819, allocations: 11.98 kB / 0.5733 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1819, allocations: 0 / 0.5733 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.182, allocations: 4 kB / 0.5733 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.1822, allocations: 67.91 kB / 0.5733 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1822, allocations: 11.92 kB / 0.5733 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1825, allocations: 55.77 kB / 0.5734 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1825, allocations: 16 kB / 0.5734 GB, free: 9.645 MB / 446.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.000307/0.1828, allocations: 253.6 kB / 0.5736 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.1829, allocations: 51.67 kB / 0.5737 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.1849, allocations: 1.778 MB / 0.5754 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/0.1849, allocations: 27.97 kB / 0.5755 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1849, allocations: 0 / 0.5755 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1849, allocations: 3.984 kB / 0.5755 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1861, allocations: 1.009 MB / 0.5764 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1861, allocations: 0 / 0.5764 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.1863, allocations: 51.91 kB / 0.5765 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1863, allocations: 0 / 0.5765 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.1863, allocations: 12 kB / 0.5765 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1863, allocations: 0 / 0.5765 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1863, allocations: 3.938 kB / 0.5765 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1875, allocations: 0.9991 MB / 0.5775 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.1877, allocations: 168.2 kB / 0.5776 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.1877, allocations: 12 kB / 0.5777 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1879, allocations: 7.984 kB / 0.5777 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1879, allocations: 23.97 kB / 0.5777 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1879, allocations: 15.98 kB / 0.5777 GB, free: 5.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.1883, allocations: 335.1 kB / 0.578 GB, free: 4.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1883, allocations: 0 / 0.578 GB, free: 4.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001495/0.1898, allocations: 0.5383 MB / 0.5785 GB, free: 4.27 MB / 446.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.003194/0.193, allocations: 1.95 MB / 0.5804 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007785/0.1938, allocations: 0.5203 MB / 0.581 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1938, allocations: 0 / 0.581 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.1942, allocations: 362.4 kB / 0.5813 GB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.1956, allocations: 293.4 kB / 0.5816 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/0.2025, allocations: 5.48 MB / 0.5869 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.2032, allocations: 1.049 MB / 0.588 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000501/0.2037, allocations: 280 kB / 0.5882 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.204, allocations: 279.3 kB / 0.5885 GB, free: 9.898 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.204, allocations: 0 / 0.5885 GB, free: 9.898 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.2647, allocations: 28.69 MB / 0.6165 GB, free: 13.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.348/9.613, allocations: 19.31 kB / 0.6165 GB, free: 13.09 MB / 494.1 MB " [Timeout remaining time 650] (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: 12.587565202993574] Failed to read output from testmodel.py, exit status != 0: 9.694216499003232 9.713680452 9.578341657 Calling exit ...