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.0008029/0.0008029, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00299/0.00299, allocations: 161.2 kB / 24.7 MB, free: 9.426 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.7656/0.7656, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.1579/0.1579, allocations: 36.34 MB / 275.1 MB, free: 11 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: 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 415.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.547e-05, allocations: 6.281 kB / 415.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01049/0.01051, allocations: 14.23 MB / 429.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.01118, allocations: 0.6504 MB / 430.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.01127, allocations: 7.938 kB / 430.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.01155, allocations: 99.34 kB / 430.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.01194, allocations: 222.8 kB / 430.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.01436, allocations: 2.074 MB / 432.9 MB, free: 4.215 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.01468, allocations: 469.4 kB / 433.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.0148, allocations: 57.39 kB / 433.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.01518, allocations: 443.1 kB / 433.9 MB, free: 3.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.01536, allocations: 215.4 kB / 434.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.01539, allocations: 24 kB / 434.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1404/0.1558, allocations: 3.508 MB / 437.6 MB, free: 18.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.156, allocations: 204.7 kB / 437.8 MB, free: 18.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.1562, allocations: 167.7 kB / 438 MB, free: 18.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.1596, allocations: 2.894 MB / 440.9 MB, free: 18.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1596, allocations: 4.75 kB / 440.9 MB, free: 18.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1596, allocations: 0 / 440.9 MB, free: 18.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1596, allocations: 0 / 440.9 MB, free: 18.38 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.001433/0.161, allocations: 1.005 MB / 441.9 MB, free: 17.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1611, allocations: 11.22 kB / 441.9 MB, free: 17.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1612, allocations: 79.09 kB / 442 MB, free: 17.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.1617, allocations: 472.9 kB / 442.4 MB, free: 17.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1617, allocations: 34.12 kB / 442.4 MB, free: 17.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1617, allocations: 36.23 kB / 442.5 MB, free: 17.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.1624, allocations: 0.6015 MB / 443.1 MB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1624, allocations: 0.8438 kB / 443.1 MB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1624, allocations: 14 kB / 443.1 MB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.1625, allocations: 33.52 kB / 443.1 MB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.163, allocations: 452.3 kB / 443.6 MB, free: 17.47 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.001149/0.1641, allocations: 1.718 MB / 445.3 MB, free: 16.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.1646, allocations: 356 kB / 445.6 MB, free: 16.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1647, allocations: 156.7 kB / 445.8 MB, free: 16.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/0.1786, allocations: 8.243 MB / 454 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1786, allocations: 35.56 kB / 454.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.1786, allocations: 1.594 kB / 454.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.000788/0.1794, allocations: 0.5454 MB / 454.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.1794, allocations: 61.58 kB / 454.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1797, allocations: 359.8 kB / 455 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1797, allocations: 29.27 kB / 455.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.1797, allocations: 250.8 kB / 455.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1798, allocations: 108.7 kB / 455.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.1798, allocations: 53.8 kB / 455.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.1799, allocations: 347.9 kB / 455.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.18, allocations: 114.2 kB / 455.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1801, allocations: 151.4 kB / 456.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1803, allocations: 284 kB / 456.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1803, allocations: 3.469 kB / 456.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002734/0.1806, allocations: 346.2 kB / 456.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1806, allocations: 6.156 kB / 456.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1806, allocations: 3.062 kB / 456.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1806, allocations: 3 kB / 456.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1807, allocations: 48.3 kB / 456.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1807, allocations: 8.062 kB / 456.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.1808, allocations: 18.05 kB / 456.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1808, allocations: 17.2 kB / 456.8 MB, free: 14.79 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.0001364/0.181, allocations: 224 kB / 457 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.181, allocations: 34.73 kB / 457 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.1817, allocations: 1.159 MB / 458.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.1817, allocations: 20.2 kB / 458.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1817, allocations: 0 / 458.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1817, allocations: 5.281 kB / 458.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.1821, allocations: 0.608 MB / 458.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1821, allocations: 4 kB / 458.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.1821, allocations: 38.08 kB / 458.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1821, allocations: 0 / 458.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1822, allocations: 6.516 kB / 458.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1822, allocations: 0.875 kB / 458.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1822, allocations: 5.484 kB / 458.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.1825, allocations: 0.7177 MB / 459.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.1826, allocations: 64.5 kB / 459.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1826, allocations: 4 kB / 459.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1826, allocations: 10.61 kB / 459.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.1827, allocations: 22.83 kB / 459.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1827, allocations: 12.95 kB / 459.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1828, allocations: 253.2 kB / 460 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1828, allocations: 0 / 460 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001055/0.1839, allocations: 0.5086 MB / 460.5 MB, free: 13.09 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.00116/0.185, allocations: 0.5638 MB / 461 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1853, allocations: 390.8 kB / 461.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1853, allocations: 8 kB / 461.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1855, allocations: 242.9 kB / 461.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1859, allocations: 125.4 kB / 461.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.1869, allocations: 1.306 MB / 463.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.187, allocations: 352.5 kB / 463.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.1871, allocations: 36.75 kB / 463.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1871, allocations: 0 / 463.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of Templates: time 0.008876/0.196, allocations: 13.48 MB / 476.9 MB, free: 14.54 MB / 378.7 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: 5.457794539630413] Failed to read output from testmodel.py, exit status != 0: 0.2010786421597004 0.20873860300000002 0.047522631 Calling exit ...