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.001384/0.001384, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001354/0.001354, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.234/1.234, allocations: 207.6 MB / 231.8 MB, free: 4.102 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.351/0.351, allocations: 49.52 MB / 333.1 MB, free: 0.7461 MB / 254.1 MB " [Timeout remaining time 180] 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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") [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.001943/0.001943, allocations: 70.2 kB / 472 MB, free: 40.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07592/0.07787, allocations: 62.33 MB / 0.5218 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.0174/0.09527, allocations: 15.61 MB / 0.537 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.09627, allocations: 0.7205 MB / 0.5377 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.09639, allocations: 4 kB / 0.5377 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.09675, allocations: 107.4 kB / 0.5378 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.09723, allocations: 207 kB / 0.538 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.1015, allocations: 2.052 MB / 0.54 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.102, allocations: 453.7 kB / 0.5405 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1022, allocations: 81.25 kB / 0.5406 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.1026, allocations: 359.1 kB / 0.5409 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1029, allocations: 243.1 kB / 0.5411 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1029, allocations: 27.98 kB / 0.5412 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.1082, allocations: 3.629 MB / 0.5447 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1083, allocations: 207.4 kB / 0.5449 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1086, allocations: 246.7 kB / 0.5451 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.1111, allocations: 2.346 MB / 0.5474 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1111, allocations: 4 kB / 0.5474 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1111, allocations: 3.938 kB / 0.5474 GB, free: 7.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1111, allocations: 0 / 0.5474 GB, free: 7.473 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.002059/0.1132, allocations: 1.093 MB / 0.5485 GB, free: 6.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1132, allocations: 12.03 kB / 0.5485 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.1134, allocations: 76.55 kB / 0.5486 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.1142, allocations: 0.5189 MB / 0.5491 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1142, allocations: 29 kB / 0.5491 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.1143, allocations: 39.98 kB / 0.5492 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.1153, allocations: 0.5936 MB / 0.5497 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1153, allocations: 4 kB / 0.5497 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1153, allocations: 16 kB / 0.5498 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.1154, allocations: 28.64 kB / 0.5498 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.1162, allocations: 474.1 kB / 0.5502 GB, free: 4.477 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.002727/0.1189, allocations: 3.145 MB / 0.5533 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.1196, allocations: 358.4 kB / 0.5536 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.1199, allocations: 156.8 kB / 0.5538 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03048/0.1504, allocations: 15.38 MB / 0.5688 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1504, allocations: 34.56 kB / 0.5689 GB, free: 15.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.1504, allocations: 0 / 0.5689 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.00126/0.1517, allocations: 0.5401 MB / 0.5694 GB, free: 14.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.1517, allocations: 55.41 kB / 0.5694 GB, free: 14.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.1521, allocations: 421.5 kB / 0.5698 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1522, allocations: 33.7 kB / 0.5699 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1523, allocations: 244.5 kB / 0.5701 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.1524, allocations: 111 kB / 0.5702 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.1525, allocations: 53.7 kB / 0.5703 GB, free: 13.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1527, allocations: 358.8 kB / 0.5706 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1528, allocations: 103.9 kB / 0.5707 GB, free: 13.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1531, allocations: 144.2 kB / 0.5708 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.1535, allocations: 292.8 kB / 0.5711 GB, free: 12.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1535, allocations: 0 / 0.5711 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00052/0.154, allocations: 360.9 kB / 0.5715 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.154, allocations: 4 kB / 0.5715 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.154, allocations: 4 kB / 0.5715 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.154, allocations: 0 / 0.5715 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1542, allocations: 43.92 kB / 0.5715 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1542, allocations: 4.125 kB / 0.5715 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1544, allocations: 39.72 kB / 0.5716 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.1544, allocations: 12 kB / 0.5716 GB, free: 12.34 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.0002358/0.1546, allocations: 234.5 kB / 0.5718 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.1547, allocations: 43.7 kB / 0.5718 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1559, allocations: 1.117 MB / 0.5729 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.1559, allocations: 15.97 kB / 0.5729 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1559, allocations: 4 kB / 0.5729 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1559, allocations: 4 kB / 0.5729 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.1568, allocations: 0.7183 MB / 0.5736 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1568, allocations: 3.938 kB / 0.5736 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1569, allocations: 43.91 kB / 0.5737 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1569, allocations: 0 / 0.5737 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1569, allocations: 15.92 kB / 0.5737 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1569, allocations: 0 / 0.5737 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1569, allocations: 0 / 0.5737 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.1577, allocations: 0.7161 MB / 0.5744 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1578, allocations: 144.5 kB / 0.5745 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.1579, allocations: 4 kB / 0.5745 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.158, allocations: 4 kB / 0.5745 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.158, allocations: 19.97 kB / 0.5746 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.158, allocations: 8 kB / 0.5746 GB, free: 9.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.1583, allocations: 299.1 kB / 0.5749 GB, free: 8.867 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1583, allocations: 0 / 0.5749 GB, free: 8.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009982/0.1593, allocations: 0.4992 MB / 0.5753 GB, free: 8.367 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.001381/0.1607, allocations: 0.5024 MB / 0.5758 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.1612, allocations: 382.7 kB / 0.5762 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.1612, allocations: 3.938 kB / 0.5762 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.1615, allocations: 241.5 kB / 0.5764 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.1624, allocations: 201.4 kB / 0.5766 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1641, allocations: 1.336 MB / 0.5779 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.1646, allocations: 0.9459 MB / 0.5789 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.1647, allocations: 39.44 kB / 0.5789 GB, free: 4.668 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1647, allocations: 4 kB / 0.5789 GB, free: 4.664 MB / 446.1 MB Notification: Performance of Templates: time 0.01725/0.182, allocations: 13.85 MB / 0.5924 GB, free: 6.789 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.625299124978483] Failed to read output from testmodel.py, exit status != 0: 0.18823201209306717 0.200774519 0.08713279800000001 Calling exit ...