Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.1 kB / 17.74 MB, free: 5.32 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.001132/0.001133, allocations: 188.2 kB / 18.67 MB, free: 4.398 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.368/1.368, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2804/0.2804, allocations: 48.84 MB / 320.7 MB, free: 11 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.001657/0.001657, allocations: 71.89 kB / 451.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1131, allocations: 59.16 MB / 0.4984 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01954/0.1327, allocations: 15.54 MB / 0.5136 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1338, allocations: 0.7127 MB / 0.5143 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.134, allocations: 3.938 kB / 0.5143 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.1345, allocations: 111.4 kB / 0.5144 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.1352, allocations: 207.1 kB / 0.5146 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.1407, allocations: 2.049 MB / 0.5166 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.1414, allocations: 457.6 kB / 0.517 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.1416, allocations: 105 kB / 0.5171 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.1423, allocations: 371.1 kB / 0.5175 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.1427, allocations: 231.2 kB / 0.5177 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.1427, allocations: 20 kB / 0.5177 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/0.1496, allocations: 3.629 MB / 0.5213 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.1499, allocations: 195.4 kB / 0.5215 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.1503, allocations: 258.6 kB / 0.5217 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.1549, allocations: 2.346 MB / 0.524 GB, free: 2.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1549, allocations: 0 / 0.524 GB, free: 2.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1549, allocations: 0 / 0.524 GB, free: 2.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.155, allocations: 0 / 0.524 GB, free: 2.938 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002859/0.1578, allocations: 1.076 MB / 0.5251 GB, free: 1.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1579, allocations: 8.031 kB / 0.5251 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.1581, allocations: 68.27 kB / 0.5251 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.1589, allocations: 0.5147 MB / 0.5256 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1589, allocations: 28.98 kB / 0.5257 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.159, allocations: 39.94 kB / 0.5257 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.16, allocations: 0.5975 MB / 0.5263 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1601, allocations: 4 kB / 0.5263 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.1601, allocations: 16 kB / 0.5263 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.1602, allocations: 36.64 kB / 0.5263 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2234/0.3836, allocations: 454.3 kB / 0.5268 GB, free: 31.33 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.002379/0.386, allocations: 3.143 MB / 0.5298 GB, free: 28.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.3868, allocations: 378 kB / 0.5302 GB, free: 28.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.387, allocations: 179.9 kB / 0.5304 GB, free: 28.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/0.4173, allocations: 15.37 MB / 0.5454 GB, free: 19.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4174, allocations: 32.36 kB / 0.5454 GB, free: 19.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.4174, allocations: 1.312 kB / 0.5454 GB, free: 19.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001391/0.4188, allocations: 0.5423 MB / 0.5459 GB, free: 19.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.4189, allocations: 55.64 kB / 0.546 GB, free: 19.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.4193, allocations: 419.6 kB / 0.5464 GB, free: 18.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4193, allocations: 32.95 kB / 0.5464 GB, free: 18.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4195, allocations: 241.4 kB / 0.5467 GB, free: 18.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.4195, allocations: 106.3 kB / 0.5468 GB, free: 18.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.4196, allocations: 55.06 kB / 0.5468 GB, free: 18.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.4197, allocations: 354.1 kB / 0.5471 GB, free: 18.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4199, allocations: 106.4 kB / 0.5472 GB, free: 18.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.4201, allocations: 158 kB / 0.5474 GB, free: 18.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.4205, allocations: 293.1 kB / 0.5477 GB, free: 18.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4205, allocations: 1.062 kB / 0.5477 GB, free: 18.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000528/0.421, allocations: 344.4 kB / 0.548 GB, free: 18.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4211, allocations: 6.328 kB / 0.548 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4211, allocations: 2.469 kB / 0.548 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4211, allocations: 2.25 kB / 0.548 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4213, allocations: 47.95 kB / 0.5481 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4213, allocations: 6.812 kB / 0.5481 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.4215, allocations: 31.41 kB / 0.5481 GB, free: 18.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4215, allocations: 12.17 kB / 0.5481 GB, free: 18.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (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 (27): * Single equations (assignments): 25 * 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.0002406/0.4218, allocations: 226.7 kB / 0.5483 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.4219, allocations: 37.69 kB / 0.5484 GB, free: 18.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.423, allocations: 1.128 MB / 0.5495 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/0.4231, allocations: 17.78 kB / 0.5495 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4231, allocations: 2.125 kB / 0.5495 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4231, allocations: 4.875 kB / 0.5495 GB, free: 17.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.4239, allocations: 0.7211 MB / 0.5502 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.424, allocations: 1.297 kB / 0.5502 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.4241, allocations: 32 kB / 0.5502 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4242, allocations: 2.938 kB / 0.5502 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4242, allocations: 11.73 kB / 0.5502 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4242, allocations: 1.656 kB / 0.5502 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4242, allocations: 0.7969 kB / 0.5502 GB, free: 17.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.4251, allocations: 0.7117 MB / 0.5509 GB, free: 16.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.4252, allocations: 134.3 kB / 0.5511 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.4253, allocations: 8.656 kB / 0.5511 GB, free: 16.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4254, allocations: 9.109 kB / 0.5511 GB, free: 16.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.4255, allocations: 17.22 kB / 0.5511 GB, free: 16.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.4255, allocations: 11.33 kB / 0.5511 GB, free: 16.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003234/0.4259, allocations: 298.9 kB / 0.5514 GB, free: 16.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4259, allocations: 0 / 0.5514 GB, free: 16.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00147/0.4273, allocations: 0.4961 MB / 0.5519 GB, free: 16.42 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.001633/0.429, allocations: 0.4997 MB / 0.5524 GB, free: 16.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.4296, allocations: 397.9 kB / 0.5527 GB, free: 16.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4296, allocations: 4.062 kB / 0.5528 GB, free: 16.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.4299, allocations: 306.6 kB / 0.553 GB, free: 16.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4309, allocations: 205.9 kB / 0.5532 GB, free: 16.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4326, allocations: 1.305 MB / 0.5545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.4331, allocations: 0.9524 MB / 0.5554 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.4332, allocations: 38.69 kB / 0.5555 GB, free: 14.65 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4332, allocations: 0 / 0.5555 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Templates: time 0.02051/0.4537, allocations: 13.81 MB / 0.569 GB, free: 7.578 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)