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.001216/0.001216, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001291/0.001291, allocations: 191 kB / 18.67 MB, free: 4.434 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.315/1.315, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2763/0.2763, 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.001704/0.001704, allocations: 79.89 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1142, 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.01943/0.1337, allocations: 15.53 MB / 0.5136 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.1347, allocations: 0.7087 MB / 0.5143 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1348, allocations: 7.938 kB / 0.5143 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.1353, allocations: 103.4 kB / 0.5144 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.1358, allocations: 203.1 kB / 0.5146 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005531/0.1414, allocations: 2.064 MB / 0.5166 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.1421, allocations: 0.591 MB / 0.5172 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1423, allocations: 88.7 kB / 0.5172 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005802/0.1429, allocations: 399 kB / 0.5176 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.1433, allocations: 274.9 kB / 0.5179 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.1433, allocations: 24 kB / 0.5179 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006789/0.1501, allocations: 3.636 MB / 0.5215 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.1505, allocations: 203.4 kB / 0.5216 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.1509, allocations: 298.4 kB / 0.5219 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.1553, allocations: 2.428 MB / 0.5243 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1553, allocations: 4 kB / 0.5243 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1553, allocations: 0 / 0.5243 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1553, allocations: 0 / 0.5243 GB, free: 2.645 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.002997/0.1583, allocations: 1.216 MB / 0.5255 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1584, allocations: 8.031 kB / 0.5255 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.1587, allocations: 100.1 kB / 0.5256 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.1595, allocations: 0.5461 MB / 0.5261 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1596, allocations: 37.12 kB / 0.5262 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.1596, allocations: 44 kB / 0.5262 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2358/0.3954, allocations: 0.805 MB / 0.527 GB, free: 31.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3955, allocations: 3.25 kB / 0.527 GB, free: 31.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.3956, allocations: 19.78 kB / 0.527 GB, free: 31.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/0.3957, allocations: 45.5 kB / 0.5271 GB, free: 31.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.3971, allocations: 0.6072 MB / 0.5277 GB, free: 31.19 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.003279/0.4003, allocations: 4.284 MB / 0.5318 GB, free: 27.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.4016, allocations: 0.5472 MB / 0.5324 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.4019, allocations: 195.1 kB / 0.5326 GB, free: 27.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03252/0.4344, allocations: 15.37 MB / 0.5476 GB, free: 18.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.4345, allocations: 35.92 kB / 0.5476 GB, free: 18.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.697e-06/0.4345, allocations: 6.391 kB / 0.5476 GB, free: 18.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002181/0.4367, allocations: 0.7477 MB / 0.5483 GB, free: 17.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.4368, allocations: 58.12 kB / 0.5484 GB, free: 17.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.4373, allocations: 466.1 kB / 0.5488 GB, free: 17.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4374, allocations: 32.88 kB / 0.5489 GB, free: 17.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4376, allocations: 275.1 kB / 0.5491 GB, free: 17.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4377, allocations: 140.3 kB / 0.5493 GB, free: 17.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4378, allocations: 74.02 kB / 0.5493 GB, free: 17.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.4379, allocations: 365.2 kB / 0.5497 GB, free: 17.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.4381, allocations: 131.6 kB / 0.5498 GB, free: 17.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.4384, allocations: 194.2 kB / 0.55 GB, free: 17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.4389, allocations: 380.4 kB / 0.5504 GB, free: 16.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4389, allocations: 6.188 kB / 0.5504 GB, free: 16.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007381/0.4397, allocations: 439.3 kB / 0.5508 GB, free: 16.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4397, allocations: 6.031 kB / 0.5508 GB, free: 16.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4397, allocations: 7.047 kB / 0.5508 GB, free: 16.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.4398, allocations: 5.625 kB / 0.5508 GB, free: 16.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.4401, allocations: 68.67 kB / 0.5509 GB, free: 16.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4402, allocations: 3.453 kB / 0.5509 GB, free: 16.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.4404, allocations: 48.77 kB / 0.5509 GB, free: 16.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.4405, allocations: 11.66 kB / 0.5509 GB, free: 16.63 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.0003667/0.4409, allocations: 262.3 kB / 0.5512 GB, free: 16.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.441, allocations: 46.92 kB / 0.5512 GB, free: 16.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.4429, allocations: 1.772 MB / 0.553 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-05/0.4429, allocations: 25.77 kB / 0.553 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.443, allocations: 3.656 kB / 0.553 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.443, allocations: 3.547 kB / 0.553 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.4442, allocations: 1.009 MB / 0.554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4442, allocations: 1.125 kB / 0.554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.4444, allocations: 47.84 kB / 0.554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4444, allocations: 5.688 kB / 0.554 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4444, allocations: 12.88 kB / 0.554 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4444, allocations: 8.266 kB / 0.554 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4444, allocations: 0 / 0.554 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.4454, allocations: 0.9861 MB / 0.555 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.4455, allocations: 163 kB / 0.5552 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.4455, allocations: 5.5 kB / 0.5552 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4457, allocations: 12.97 kB / 0.5552 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.4458, allocations: 25.69 kB / 0.5552 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.4458, allocations: 11.78 kB / 0.5552 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.4462, allocations: 336.1 kB / 0.5555 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4462, allocations: 3.547 kB / 0.5555 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001732/0.4479, allocations: 0.531 MB / 0.5561 GB, free: 14.2 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.001793/0.4497, allocations: 0.5057 MB / 0.5566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.4506, allocations: 0.5451 MB / 0.5571 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4506, allocations: 1.094 kB / 0.5571 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.451, allocations: 461.5 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.001394/0.4524, allocations: 290.2 kB / 0.5578 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.4547, allocations: 1.731 MB / 0.5595 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.4552, allocations: 1.047 MB / 0.5605 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4554, allocations: 48.08 kB / 0.5606 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4554, allocations: 0 / 0.5606 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Templates: time 0.02373/0.4791, allocations: 16.01 MB / 0.5762 GB, free: 252 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)