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.001177/0.001177, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.0008645/0.0008645, allocations: 167.8 kB / 24.91 MB, free: 8.633 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.8183/0.8183, allocations: 158.6 MB / 186.8 MB, free: 2.734 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.1806/0.1806, allocations: 36.35 MB / 275.5 MB, free: 10.52 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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.558e-05, allocations: 2.312 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01049/0.0105, allocations: 13.27 MB / 318.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005958/0.0111, allocations: 0.725 MB / 319.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.01119, allocations: 7.094 kB / 319.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.01145, allocations: 73.8 kB / 319.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.01184, allocations: 219.7 kB / 319.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.01551, allocations: 2.079 MB / 321.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.01595, allocations: 0.6151 MB / 322.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.01606, allocations: 48.59 kB / 322.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.01648, allocations: 483.3 kB / 322.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.01675, allocations: 252.3 kB / 323 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.01678, allocations: 22.38 kB / 323 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.02019, allocations: 3.508 MB / 326.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.02037, allocations: 223.3 kB / 326.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.02052, allocations: 199.6 kB / 326.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.0234, allocations: 2.853 MB / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.0234, allocations: 0 / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0234, allocations: 4 kB / 329.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.02341, allocations: 0 / 329.8 MB, free: 11.49 MB / 298.7 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.0016/0.02501, allocations: 1.149 MB / 330.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.02504, allocations: 15.95 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.02528, allocations: 140.7 kB / 331.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.02571, allocations: 441.5 kB / 331.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.02573, allocations: 29.38 kB / 331.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.02577, allocations: 48.38 kB / 331.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.02638, allocations: 0.5891 MB / 332.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.02639, allocations: 0 / 332.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.02642, allocations: 20 kB / 332.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.02646, allocations: 40.98 kB / 332.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.02689, allocations: 310.3 kB / 332.5 MB, free: 8.621 MB / 298.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.001389/0.02828, allocations: 2.159 MB / 334.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/0.02901, allocations: 362.5 kB / 335 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.02908, allocations: 65.16 kB / 335.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/0.04346, allocations: 8.888 MB / 344 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.04348, allocations: 38.56 kB / 344 MB, free: 13.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.04348, allocations: 0 / 344 MB, free: 13.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008061/0.04429, allocations: 488.9 kB / 344.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.04432, allocations: 59.34 kB / 344.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.0445, allocations: 303.2 kB / 344.8 MB, free: 12.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.04451, allocations: 33.64 kB / 344.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.04461, allocations: 249.6 kB / 345.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.04468, allocations: 142.7 kB / 345.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.04475, allocations: 73.59 kB / 345.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.04483, allocations: 354.7 kB / 345.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.04489, allocations: 47.31 kB / 345.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.04496, allocations: 93.81 kB / 345.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.04512, allocations: 184.6 kB / 346 MB, free: 10.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.04512, allocations: 0 / 346 MB, free: 10.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002012/0.04532, allocations: 212 kB / 346.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.04534, allocations: 8 kB / 346.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.04534, allocations: 0 / 346.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.04535, allocations: 4 kB / 346.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.04549, allocations: 68.12 kB / 346.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.0455, allocations: 7.938 kB / 346.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.04558, allocations: 31.78 kB / 346.3 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.0456, allocations: 11.94 kB / 346.3 MB, free: 10.57 MB / 314.7 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[1].phase,fluidState[2].phase,fluidState[3].phase,fluidState[4].phase,fluidState[5].phase,fluidState[6].phase,fluidState[7].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.0001133/0.04571, allocations: 136.6 kB / 346.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.04575, allocations: 39.95 kB / 346.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.04635, allocations: 0.885 MB / 347.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.04637, allocations: 31.95 kB / 347.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.04637, allocations: 3.938 kB / 347.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.04638, allocations: 7.984 kB / 347.4 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.0468, allocations: 0.5148 MB / 348 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.0468, allocations: 4 kB / 348 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.04691, allocations: 51.91 kB / 348 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.04691, allocations: 4 kB / 348 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.04692, allocations: 4 kB / 348 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.04692, allocations: 0 / 348 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.04692, allocations: 4 kB / 348 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.0473, allocations: 0.6054 MB / 348.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.04735, allocations: 91.14 kB / 348.7 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.04738, allocations: 4 kB / 348.7 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.04744, allocations: 12 kB / 348.7 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.04747, allocations: 19.95 kB / 348.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.04748, allocations: 12 kB / 348.8 MB, free: 8.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.942e-05/0.04756, allocations: 112.7 kB / 348.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04756, allocations: 0 / 348.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001086/0.04865, allocations: 0.5498 MB / 349.4 MB, free: 7.426 MB / 314.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: 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.001084/0.04973, allocations: 0.591 MB / 350 MB, free: 6.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.04995, allocations: 234.8 kB / 350.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.04996, allocations: 4 kB / 350.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.05009, allocations: 188.5 kB / 350.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.05052, allocations: 170.5 kB / 350.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.05196, allocations: 1.478 MB / 352.1 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.0521, allocations: 220.5 kB / 352.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002261/0.05232, allocations: 191.6 kB / 352.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.05254, allocations: 173.2 kB / 352.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05254, allocations: 4 kB / 352.6 MB, free: 4.141 MB / 314.7 MB Notification: Performance of Templates: time 0.01918/0.07172, allocations: 20.16 MB / 372.8 MB, free: 15.98 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2352925268933177]