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.001368/0.001368, allocations: 77.05 kB / 20.52 MB, free: 1.371 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.001497/0.001497, allocations: 166.2 kB / 23.78 MB, free: 4.539 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.419/1.419, allocations: 177.2 MB / 204.1 MB, free: 9.289 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.1401/0.1401, allocations: 19.71 MB / 280.3 MB, free: 13.06 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 74.52 kB / 416.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2554, allocations: 60.46 MB / 477.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01909/0.2745, allocations: 14.29 MB / 491.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2755, allocations: 0.6698 MB / 492.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2756, allocations: 7.938 kB / 492.3 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.276, allocations: 99.41 kB / 492.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.2765, allocations: 227 kB / 492.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005273/0.2818, allocations: 2.054 MB / 494.7 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.2824, allocations: 0.5834 MB / 495.3 MB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2826, allocations: 40.91 kB / 495.3 MB, free: 276 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007743/0.2834, allocations: 0.4988 MB / 495.8 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.2838, allocations: 286.9 kB / 496.1 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.2838, allocations: 20 kB / 496.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/0.2898, allocations: 3.527 MB / 499.6 MB, free: 11.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.29, allocations: 203.4 kB / 499.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.2903, allocations: 242.8 kB / 0.4883 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.2935, allocations: 2.451 MB / 0.4907 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2935, allocations: 0 / 0.4907 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2935, allocations: 0 / 0.4907 GB, free: 9.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.2935, allocations: 0 / 0.4907 GB, free: 9.043 MB / 398.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.002832/0.2963, allocations: 1.178 MB / 0.4919 GB, free: 7.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2964, allocations: 8.031 kB / 0.4919 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.2967, allocations: 96.45 kB / 0.492 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.2975, allocations: 496.3 kB / 0.4925 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.2976, allocations: 45.11 kB / 0.4925 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/0.2977, allocations: 44 kB / 0.4925 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.2992, allocations: 0.8117 MB / 0.4933 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2993, allocations: 3.938 kB / 0.4933 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.2993, allocations: 20 kB / 0.4934 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/0.2994, allocations: 44.97 kB / 0.4934 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3007, allocations: 0.6009 MB / 0.494 GB, free: 5.586 MB / 398.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.002943/0.3037, allocations: 2.449 MB / 0.4964 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.3048, allocations: 0.5145 MB / 0.4969 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3051, allocations: 169.1 kB / 0.497 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03087/0.336, allocations: 8.471 MB / 0.5053 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.3361, allocations: 42.5 kB / 0.5054 GB, free: 9.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.3361, allocations: 0 / 0.5054 GB, free: 9.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002009/0.3381, allocations: 0.7421 MB / 0.5061 GB, free: 9.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3381, allocations: 51.41 kB / 0.5061 GB, free: 9.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.3386, allocations: 373.6 kB / 0.5065 GB, free: 8.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3386, allocations: 33.64 kB / 0.5065 GB, free: 8.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.3388, allocations: 296.9 kB / 0.5068 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3389, allocations: 138.8 kB / 0.5069 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.339, allocations: 77.67 kB / 0.507 GB, free: 8.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3392, allocations: 350.8 kB / 0.5073 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3395, allocations: 136.4 kB / 0.5075 GB, free: 7.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.3398, allocations: 201.8 kB / 0.5077 GB, free: 7.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.3404, allocations: 383.8 kB / 0.508 GB, free: 6.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3404, allocations: 0 / 0.508 GB, free: 6.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006962/0.3411, allocations: 436.8 kB / 0.5085 GB, free: 6.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3411, allocations: 8 kB / 0.5085 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3411, allocations: 0 / 0.5085 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3411, allocations: 4 kB / 0.5085 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3414, allocations: 68.12 kB / 0.5085 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3414, allocations: 8 kB / 0.5085 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3416, allocations: 27.83 kB / 0.5086 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.3416, allocations: 16 kB / 0.5086 GB, free: 6.422 MB / 414.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.0003079/0.3419, allocations: 253.6 kB / 0.5088 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.342, allocations: 51.59 kB / 0.5089 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.3441, allocations: 1.851 MB / 0.5107 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/0.3442, allocations: 23.95 kB / 0.5107 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3442, allocations: 0 / 0.5107 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3442, allocations: 3.984 kB / 0.5107 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3452, allocations: 0.8643 MB / 0.5115 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3452, allocations: 0 / 0.5115 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3454, allocations: 51.91 kB / 0.5116 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.3455, allocations: 3.938 kB / 0.5116 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3455, allocations: 15.98 kB / 0.5116 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3455, allocations: 0 / 0.5116 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3455, allocations: 0 / 0.5116 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.3467, allocations: 1.006 MB / 0.5126 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.3468, allocations: 95.09 kB / 0.5127 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.3468, allocations: 7.938 kB / 0.5127 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.347, allocations: 12 kB / 0.5127 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.347, allocations: 23.95 kB / 0.5127 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3471, allocations: 8 kB / 0.5127 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.3474, allocations: 263.1 kB / 0.513 GB, free: 1.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3474, allocations: 0 / 0.513 GB, free: 1.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001402/0.3488, allocations: 0.5538 MB / 0.5135 GB, free: 1.285 MB / 414.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.001634/0.3504, allocations: 0.5139 MB / 0.514 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008248/0.3512, allocations: 0.5447 MB / 0.5146 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3512, allocations: 3.938 kB / 0.5146 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.3517, allocations: 369.8 kB / 0.5149 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.3526, allocations: 164.6 kB / 0.5151 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.3549, allocations: 1.709 MB / 0.5167 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.3555, allocations: 465.6 kB / 0.5172 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004844/0.356, allocations: 262.9 kB / 0.5174 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.356, allocations: 32.5 kB / 0.5175 GB, free: 13.19 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.356, allocations: 4 kB / 0.5175 GB, free: 13.18 MB / 430.1 MB Notification: Performance of Templates: time 0.02952/0.3856, allocations: 18.29 MB / 0.5353 GB, free: 11.03 MB / 446.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.257134275510907] Failed to read output from testmodel.py, exit status != 0: 0.39409971609711647 0.409083555 0.11231888100000001 Calling exit ...