Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001339/0.001339, allocations: 84.38 kB / 20.68 MB, free: 1.035 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.001473/0.001473, allocations: 164.7 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1387/0.1387, allocations: 19.74 MB / 280.4 MB, free: 12.94 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 417.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.476e-05, allocations: 2.281 kB / 417.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01933/0.01936, allocations: 14.29 MB / 431.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.02037, allocations: 0.658 MB / 432 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.02047, allocations: 7.938 kB / 432 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.02086, allocations: 103.3 kB / 432.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.02141, allocations: 214.8 kB / 432.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005245/0.02666, allocations: 2.076 MB / 434.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.02741, allocations: 0.6207 MB / 435 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.02755, allocations: 36.92 kB / 435.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.02835, allocations: 498.9 kB / 435.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.02874, allocations: 251.4 kB / 435.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.02879, allocations: 27.94 kB / 435.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006671/0.03546, allocations: 3.527 MB / 439.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.03574, allocations: 219.4 kB / 439.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.03609, allocations: 203.5 kB / 439.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.04079, allocations: 2.981 MB / 442.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.0408, allocations: 3.938 kB / 442.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0408, allocations: 0 / 442.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.04081, allocations: 0 / 442.8 MB, free: 6.762 MB / 366.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.003018/0.04382, allocations: 1.17 MB / 443.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.04386, allocations: 8.031 kB / 443.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.04419, allocations: 92.5 kB / 444 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/0.04508, allocations: 0.4995 MB / 444.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.04511, allocations: 33.38 kB / 444.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.04519, allocations: 48.38 kB / 444.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.04679, allocations: 0.8118 MB / 445.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.04681, allocations: 4 kB / 445.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.04687, allocations: 20 kB / 445.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/0.04694, allocations: 40.97 kB / 445.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.04828, allocations: 0.6086 MB / 446.1 MB, free: 3.312 MB / 366.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.003027/0.05131, allocations: 2.453 MB / 448.6 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.0525, allocations: 0.5065 MB / 449.1 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.05279, allocations: 169.1 kB / 449.2 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1892/0.242, allocations: 8.478 MB / 457.7 MB, free: 42.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.242, allocations: 33.86 kB / 457.7 MB, free: 42.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.242, allocations: 0 / 457.7 MB, free: 42.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001915/0.2439, allocations: 0.7455 MB / 458.5 MB, free: 42.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.244, allocations: 54.81 kB / 458.5 MB, free: 42.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.2443, allocations: 376 kB / 458.9 MB, free: 42.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2443, allocations: 31.48 kB / 458.9 MB, free: 41.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2445, allocations: 289.5 kB / 459.2 MB, free: 41.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.2445, allocations: 138.5 kB / 459.3 MB, free: 41.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2446, allocations: 76.84 kB / 459.4 MB, free: 41.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.2447, allocations: 354 kB / 459.8 MB, free: 41.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.2449, allocations: 129.5 kB / 459.9 MB, free: 41.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.2451, allocations: 199.9 kB / 460.1 MB, free: 41.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.2456, allocations: 376.4 kB / 460.5 MB, free: 41.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2456, allocations: 0 / 460.5 MB, free: 41.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005913/0.2462, allocations: 430.7 kB / 460.9 MB, free: 40.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2462, allocations: 8.688 kB / 460.9 MB, free: 40.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2462, allocations: 1.625 kB / 460.9 MB, free: 40.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.2462, allocations: 8.094 kB / 460.9 MB, free: 40.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.2465, allocations: 73.78 kB / 461 MB, free: 40.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2465, allocations: 6.906 kB / 461 MB, free: 40.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2467, allocations: 34.33 kB / 461 MB, free: 40.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.2467, allocations: 15.44 kB / 461 MB, free: 40.84 MB / 366.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.0002345/0.247, allocations: 256.2 kB / 461.3 MB, free: 40.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.247, allocations: 42.88 kB / 461.3 MB, free: 40.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.2486, allocations: 1.842 MB / 463.2 MB, free: 39.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/0.2486, allocations: 30.02 kB / 463.2 MB, free: 39.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2486, allocations: 4 kB / 463.2 MB, free: 39.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2486, allocations: 1.781 kB / 463.2 MB, free: 39.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/0.2494, allocations: 0.8614 MB / 464.1 MB, free: 39.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2494, allocations: 3.938 kB / 464.1 MB, free: 39.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2496, allocations: 57.47 kB / 464.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2496, allocations: 1.375 kB / 464.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2496, allocations: 6.75 kB / 464.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2496, allocations: 1.375 kB / 464.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2496, allocations: 0 / 464.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.2505, allocations: 1.01 MB / 465.1 MB, free: 38.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.2506, allocations: 94.22 kB / 465.2 MB, free: 38.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.2506, allocations: 6.531 kB / 465.2 MB, free: 38.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2508, allocations: 12.11 kB / 465.2 MB, free: 38.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.2508, allocations: 24.2 kB / 465.3 MB, free: 38.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.2509, allocations: 12.25 kB / 465.3 MB, free: 38.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.2511, allocations: 261.2 kB / 465.5 MB, free: 38.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2511, allocations: 0 / 465.5 MB, free: 38.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001144/0.2522, allocations: 0.5567 MB / 466.1 MB, free: 38.23 MB / 366.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.001649/0.2539, allocations: 0.5788 MB / 466.7 MB, free: 38.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.2544, allocations: 0.544 MB / 467.2 MB, free: 37.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2544, allocations: 0 / 467.2 MB, free: 37.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.2548, allocations: 369.9 kB / 467.6 MB, free: 37.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.2557, allocations: 166.3 kB / 467.7 MB, free: 37.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.2573, allocations: 1.685 MB / 469.4 MB, free: 35.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2576, allocations: 454.8 kB / 469.9 MB, free: 35.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.2579, allocations: 270.4 kB / 470.1 MB, free: 35.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.258, allocations: 36.5 kB / 470.2 MB, free: 35.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.258, allocations: 4 kB / 470.2 MB, free: 35.04 MB / 366.1 MB Notification: Performance of Templates: time 0.02159/0.2796, allocations: 18.28 MB / 488.5 MB, free: 16.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.221306294202805] Failed to read output from testmodel.py, exit status != 0: 0.28739597275853157 0.295940949 0.252890081 Calling exit ...