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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 102.6 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3392/0.3392, allocations: 48.83 MB / 366.7 MB, free: 46.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009943/0.0009944, allocations: 51.92 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08988, allocations: 59.16 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.1725/0.2624, allocations: 16.31 MB / 0.5001 GB, free: 46.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.2634, allocations: 0.72 MB / 0.5008 GB, free: 46.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2635, allocations: 5.969 kB / 0.5008 GB, free: 46.95 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2639, allocations: 100.6 kB / 0.5009 GB, free: 46.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.2644, allocations: 194.1 kB / 0.5011 GB, free: 46.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.2684, allocations: 1.603 MB / 0.5026 GB, free: 46.94 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.2692, allocations: 0.8701 MB / 0.5035 GB, free: 46.94 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2693, allocations: 87.75 kB / 0.5036 GB, free: 46.94 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.27, allocations: 392.6 kB / 0.5039 GB, free: 46.94 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.2704, allocations: 315.1 kB / 0.5042 GB, free: 46.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.2705, allocations: 16.28 kB / 0.5042 GB, free: 46.9 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006049/0.2766, allocations: 3.547 MB / 0.5077 GB, free: 46.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.2768, allocations: 204.4 kB / 0.5079 GB, free: 46.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.2771, allocations: 295.3 kB / 0.5082 GB, free: 46.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.2803, allocations: 2.408 MB / 0.5105 GB, free: 46.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2803, allocations: 0 / 0.5105 GB, free: 46.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2803, allocations: 0 / 0.5105 GB, free: 46.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2803, allocations: 1.906 kB / 0.5105 GB, free: 46.6 MB / 394.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.002394/0.2827, allocations: 1.213 MB / 0.5117 GB, free: 45.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2827, allocations: 10.47 kB / 0.5117 GB, free: 45.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.283, allocations: 92.23 kB / 0.5118 GB, free: 45.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.2836, allocations: 0.5204 MB / 0.5123 GB, free: 45.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2837, allocations: 34.5 kB / 0.5124 GB, free: 45.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.2837, allocations: 50.25 kB / 0.5124 GB, free: 45.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.2849, allocations: 0.8104 MB / 0.5132 GB, free: 45.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2849, allocations: 2.875 kB / 0.5132 GB, free: 45.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.2849, allocations: 24.52 kB / 0.5132 GB, free: 45.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.285, allocations: 42.8 kB / 0.5133 GB, free: 45.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.286, allocations: 0.6066 MB / 0.5139 GB, free: 45.48 MB / 394.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.002259/0.2883, allocations: 4.301 MB / 0.5181 GB, free: 41.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/0.2893, allocations: 0.5399 MB / 0.5186 GB, free: 41.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2895, allocations: 193.5 kB / 0.5188 GB, free: 41.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02965/0.3192, allocations: 15.31 MB / 0.5337 GB, free: 32.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3192, allocations: 38.5 kB / 0.5338 GB, free: 32.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.3192, allocations: 4 kB / 0.5338 GB, free: 32.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001666/0.3209, allocations: 0.7437 MB / 0.5345 GB, free: 31.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.3209, allocations: 54.78 kB / 0.5346 GB, free: 31.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.3213, allocations: 477.5 kB / 0.535 GB, free: 31.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3214, allocations: 31.02 kB / 0.535 GB, free: 31.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3215, allocations: 266 kB / 0.5353 GB, free: 31.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/0.3216, allocations: 144.2 kB / 0.5354 GB, free: 31.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.3217, allocations: 79.19 kB / 0.5355 GB, free: 31.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.3217, allocations: 365.8 kB / 0.5359 GB, free: 30.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3219, allocations: 129.1 kB / 0.536 GB, free: 30.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3221, allocations: 203.4 kB / 0.5362 GB, free: 30.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.3226, allocations: 372.7 kB / 0.5365 GB, free: 30.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3226, allocations: 1.094 kB / 0.5365 GB, free: 30.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005554/0.3232, allocations: 448.6 kB / 0.537 GB, free: 30.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3232, allocations: 5.938 kB / 0.537 GB, free: 30.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3232, allocations: 1.125 kB / 0.537 GB, free: 30.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3233, allocations: 3.5 kB / 0.537 GB, free: 30.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.3235, allocations: 73.38 kB / 0.537 GB, free: 30.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3236, allocations: 4.781 kB / 0.537 GB, free: 30.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3238, allocations: 52.19 kB / 0.5371 GB, free: 30.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3239, allocations: 20.28 kB / 0.5371 GB, free: 30.35 MB / 394.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[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.0002184/0.3241, allocations: 259.8 kB / 0.5374 GB, free: 30.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.3242, allocations: 49.38 kB / 0.5374 GB, free: 30.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3256, allocations: 1.776 MB / 0.5391 GB, free: 29.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.3256, allocations: 31.02 kB / 0.5392 GB, free: 29.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3256, allocations: 0 / 0.5392 GB, free: 29.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3257, allocations: 7.984 kB / 0.5392 GB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008398/0.3265, allocations: 0.9948 MB / 0.5401 GB, free: 28.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3265, allocations: 0 / 0.5401 GB, free: 28.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3267, allocations: 61.78 kB / 0.5402 GB, free: 28.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3267, allocations: 1.469 kB / 0.5402 GB, free: 28.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3268, allocations: 10.55 kB / 0.5402 GB, free: 28.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3268, allocations: 1.312 kB / 0.5402 GB, free: 28.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3268, allocations: 1.281 kB / 0.5402 GB, free: 28.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3282, allocations: 2.085 MB / 0.5423 GB, free: 26.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.3283, allocations: 163 kB / 0.5424 GB, free: 26.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3283, allocations: 8.625 kB / 0.5424 GB, free: 26.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3286, allocations: 36.22 kB / 0.5425 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3286, allocations: 24.28 kB / 0.5425 GB, free: 26.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3286, allocations: 9.812 kB / 0.5425 GB, free: 26.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.3289, allocations: 338.9 kB / 0.5428 GB, free: 26.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3289, allocations: 0 / 0.5428 GB, free: 26.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001428/0.3304, allocations: 0.5344 MB / 0.5433 GB, free: 26.5 MB / 394.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.001566/0.3319, allocations: 0.517 MB / 0.5438 GB, free: 26.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000609/0.3326, allocations: 0.5365 MB / 0.5444 GB, free: 26.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3326, allocations: 0 / 0.5444 GB, free: 26.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.333, allocations: 467.8 kB / 0.5448 GB, free: 25.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.3344, allocations: 277.5 kB / 0.5451 GB, free: 25.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3367, allocations: 2.725 MB / 0.5477 GB, free: 23.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.3371, allocations: 1.08 MB / 0.5488 GB, free: 23.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004712/0.3376, allocations: 274.5 kB / 0.549 GB, free: 22.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.3377, allocations: 44.62 kB / 0.5491 GB, free: 22.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3377, allocations: 1.969 kB / 0.5491 GB, free: 22.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02221/0.3599, allocations: 20.7 MB / 0.5693 GB, free: 6.156 MB / 394.7 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)