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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 112.6 kB / 17.74 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 184.5 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2788/0.2788, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 59.15 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01955/0.1374, allocations: 15.53 MB / 0.5136 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1385, allocations: 0.7125 MB / 0.5143 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1386, allocations: 0 / 0.5143 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.1391, allocations: 115.4 kB / 0.5144 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.1396, allocations: 203.1 kB / 0.5146 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.1449, allocations: 2.052 MB / 0.5166 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009137/0.1459, allocations: 0.5832 MB / 0.5171 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1461, allocations: 96.67 kB / 0.5172 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.1468, allocations: 399 kB / 0.5176 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.1474, allocations: 270.9 kB / 0.5179 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.1474, allocations: 28 kB / 0.5179 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008323/0.1558, allocations: 3.632 MB / 0.5214 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.1563, allocations: 207.4 kB / 0.5216 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005484/0.1569, allocations: 298.4 kB / 0.5219 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005365/0.1622, allocations: 2.424 MB / 0.5243 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1623, allocations: 4 kB / 0.5243 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1623, allocations: 4 kB / 0.5243 GB, free: 2.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.1623, allocations: 0 / 0.5243 GB, free: 2.648 MB / 414.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.003678/0.166, allocations: 1.22 MB / 0.5255 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.166, allocations: 16.03 kB / 0.5255 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.1664, allocations: 96.06 kB / 0.5256 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.1674, allocations: 0.5343 MB / 0.5261 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.1674, allocations: 41.12 kB / 0.5262 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.1675, allocations: 47.92 kB / 0.5262 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2245/0.392, allocations: 0.8042 MB / 0.527 GB, free: 31.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3921, allocations: 4.531 kB / 0.527 GB, free: 31.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.3922, allocations: 20.55 kB / 0.527 GB, free: 31.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.179e-05/0.3922, allocations: 46.22 kB / 0.5271 GB, free: 31.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3935, allocations: 0.6126 MB / 0.5277 GB, free: 31.23 MB / 414.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.002742/0.3963, allocations: 4.279 MB / 0.5318 GB, free: 27.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3974, allocations: 0.5457 MB / 0.5324 GB, free: 27.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3976, allocations: 191.2 kB / 0.5326 GB, free: 27.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0311/0.4288, allocations: 15.38 MB / 0.5476 GB, free: 18.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.4288, allocations: 36.58 kB / 0.5476 GB, free: 18.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.785e-06/0.4288, allocations: 4 kB / 0.5476 GB, free: 18.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002031/0.4309, allocations: 0.7453 MB / 0.5483 GB, free: 18.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4309, allocations: 57.81 kB / 0.5484 GB, free: 17.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.4315, allocations: 467.4 kB / 0.5488 GB, free: 17.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4315, allocations: 33.44 kB / 0.5489 GB, free: 17.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4317, allocations: 276.6 kB / 0.5491 GB, free: 17.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.4318, allocations: 137.7 kB / 0.5493 GB, free: 17.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4319, allocations: 74.84 kB / 0.5493 GB, free: 17.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.432, allocations: 364.6 kB / 0.5497 GB, free: 17.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4322, allocations: 132.7 kB / 0.5498 GB, free: 17.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4324, allocations: 196.5 kB / 0.55 GB, free: 17.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.4329, allocations: 381 kB / 0.5504 GB, free: 16.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4329, allocations: 3.938 kB / 0.5504 GB, free: 16.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006779/0.4336, allocations: 443.5 kB / 0.5508 GB, free: 16.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4337, allocations: 5.562 kB / 0.5508 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4337, allocations: 1.844 kB / 0.5508 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.4337, allocations: 6.734 kB / 0.5508 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.434, allocations: 68.7 kB / 0.5509 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.4341, allocations: 3.891 kB / 0.5509 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.4343, allocations: 47.42 kB / 0.5509 GB, free: 16.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4344, allocations: 17.78 kB / 0.5509 GB, free: 16.64 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.0003414/0.4347, allocations: 257.6 kB / 0.5512 GB, free: 16.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.4348, allocations: 48.91 kB / 0.5512 GB, free: 16.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.4367, allocations: 1.771 MB / 0.553 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/0.4367, allocations: 29.89 kB / 0.553 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4367, allocations: 0 / 0.553 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.4368, allocations: 3.266 kB / 0.553 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4378, allocations: 1.011 MB / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4378, allocations: 0 / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.438, allocations: 52.41 kB / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.438, allocations: 8.656 kB / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.438, allocations: 7.156 kB / 0.554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4381, allocations: 1.625 kB / 0.554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4381, allocations: 0.8438 kB / 0.554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.4389, allocations: 0.9858 MB / 0.555 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4391, allocations: 166.8 kB / 0.5552 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.4391, allocations: 9.531 kB / 0.5552 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4393, allocations: 12.73 kB / 0.5552 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.4394, allocations: 25.72 kB / 0.5552 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4394, allocations: 12.81 kB / 0.5552 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.4397, allocations: 334.2 kB / 0.5555 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4397, allocations: 1.312 kB / 0.5555 GB, free: 14.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4414, allocations: 0.5296 MB / 0.5561 GB, free: 14.21 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.001741/0.4431, allocations: 0.5062 MB / 0.5566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008005/0.4439, allocations: 0.5527 MB / 0.5571 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4439, allocations: 0 / 0.5571 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.4444, allocations: 460.4 kB / 0.5575 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4458, allocations: 292.7 kB / 0.5578 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.4479, allocations: 1.719 MB / 0.5595 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.4483, allocations: 1.051 MB / 0.5605 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4485, allocations: 42.22 kB / 0.5606 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4485, allocations: 3.938 kB / 0.5606 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.02051/0.469, allocations: 15.91 MB / 0.5761 GB, free: 356 kB / 414.1 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)