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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 124.8 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.385/1.385, allocations: 207.6 MB / 231.1 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4051/0.4051, allocations: 49.52 MB / 332.5 MB, free: 0.8125 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 78.12 kB / 470.8 MB, free: 41.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08582, allocations: 62.33 MB / 0.5206 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01895/0.1048, allocations: 15.61 MB / 0.5359 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1059, allocations: 0.7205 MB / 0.5366 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1061, allocations: 4 kB / 0.5366 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.1065, allocations: 111.3 kB / 0.5367 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.1071, allocations: 199.1 kB / 0.5369 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.1126, allocations: 2.067 MB / 0.5389 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.1133, allocations: 453.7 kB / 0.5393 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1135, allocations: 81.25 kB / 0.5394 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006126/0.1141, allocations: 363.1 kB / 0.5398 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1145, allocations: 243.1 kB / 0.54 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.1145, allocations: 20 kB / 0.54 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007004/0.1215, allocations: 3.633 MB / 0.5436 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.1218, allocations: 195.3 kB / 0.5438 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.1222, allocations: 254.7 kB / 0.544 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.1268, allocations: 2.349 MB / 0.5463 GB, free: 7.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1268, allocations: 0 / 0.5463 GB, free: 7.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1268, allocations: 0 / 0.5463 GB, free: 7.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1268, allocations: 0 / 0.5463 GB, free: 7.977 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002661/0.1295, allocations: 1.093 MB / 0.5474 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1295, allocations: 8.031 kB / 0.5474 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.713e-05/0.1296, allocations: 82.66 kB / 0.5474 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.1298, allocations: 76.55 kB / 0.5475 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.1307, allocations: 0.5265 MB / 0.548 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1308, allocations: 25 kB / 0.5481 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.1308, allocations: 32 kB / 0.5481 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1319, allocations: 0.6053 MB / 0.5487 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1319, allocations: 7.922 kB / 0.5487 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.132, allocations: 16 kB / 0.5487 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.132, allocations: 24.66 kB / 0.5487 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.133, allocations: 458.1 kB / 0.5492 GB, free: 4.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.003146/0.1361, allocations: 3.161 MB / 0.5522 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/0.1369, allocations: 354.5 kB / 0.5526 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1372, allocations: 160.7 kB / 0.5527 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03391/0.1711, allocations: 15.38 MB / 0.5678 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1711, allocations: 42.5 kB / 0.5678 GB, free: 15.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.1711, allocations: 0 / 0.5678 GB, free: 15.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001474/0.1726, allocations: 0.5401 MB / 0.5683 GB, free: 15.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1727, allocations: 55.41 kB / 0.5684 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.1732, allocations: 421.5 kB / 0.5688 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1732, allocations: 29.7 kB / 0.5688 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1734, allocations: 240.5 kB / 0.569 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.1735, allocations: 118.9 kB / 0.5691 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.1736, allocations: 49.7 kB / 0.5692 GB, free: 14.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1738, allocations: 362.8 kB / 0.5695 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.1739, allocations: 99.94 kB / 0.5696 GB, free: 13.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1742, allocations: 148.2 kB / 0.5698 GB, free: 13.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.1746, allocations: 296.8 kB / 0.5701 GB, free: 13.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1746, allocations: 4 kB / 0.5701 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005622/0.1751, allocations: 352.9 kB / 0.5704 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1752, allocations: 8 kB / 0.5704 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1752, allocations: 0 / 0.5704 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1752, allocations: 4 kB / 0.5704 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1754, allocations: 39.98 kB / 0.5704 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1754, allocations: 7.938 kB / 0.5705 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1756, allocations: 35.72 kB / 0.5705 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.1756, allocations: 8 kB / 0.5705 GB, free: 12.76 MB / 446.1 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.0002779/0.1759, allocations: 226.8 kB / 0.5707 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.176, allocations: 43.7 kB / 0.5708 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1773, allocations: 1.117 MB / 0.5718 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.1774, allocations: 19.97 kB / 0.5719 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1774, allocations: 0 / 0.5719 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1774, allocations: 3.984 kB / 0.5719 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.1783, allocations: 0.7261 MB / 0.5726 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1783, allocations: 0 / 0.5726 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.1784, allocations: 47.91 kB / 0.5726 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1784, allocations: 4 kB / 0.5726 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1785, allocations: 0 / 0.5726 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1785, allocations: 0 / 0.5726 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1785, allocations: 3.938 kB / 0.5726 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/0.1793, allocations: 0.7122 MB / 0.5733 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1794, allocations: 140.5 kB / 0.5735 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.1795, allocations: 4 kB / 0.5735 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1796, allocations: 15.98 kB / 0.5735 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1797, allocations: 15.97 kB / 0.5735 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1797, allocations: 8 kB / 0.5735 GB, free: 9.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003528/0.18, allocations: 299.1 kB / 0.5738 GB, free: 9.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.18, allocations: 0 / 0.5738 GB, free: 9.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001299/0.1813, allocations: 0.5032 MB / 0.5743 GB, free: 8.785 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: 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.002917/0.1843, allocations: 1.663 MB / 0.5759 GB, free: 7.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006059/0.1849, allocations: 383.6 kB / 0.5763 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1849, allocations: 4 kB / 0.5763 GB, free: 6.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.1852, allocations: 244.8 kB / 0.5765 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1862, allocations: 197.5 kB / 0.5767 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.1923, allocations: 4.522 MB / 0.5811 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.1929, allocations: 0.9498 MB / 0.582 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.1933, allocations: 191 kB / 0.5822 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.1936, allocations: 199.4 kB / 0.5824 GB, free: 300 kB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1936, allocations: 0 / 0.5824 GB, free: 300 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05918/0.2528, allocations: 24.49 MB / 0.6063 GB, free: 7.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.399/9.652, allocations: 11.92 kB / 0.6063 GB, free: 7.703 MB / 478.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 12.553867180366069] Failed to read output from testmodel.py, exit status != 0: 9.73877759417519 9.763967753 9.632593281 Calling exit ...