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.001184/0.001184, allocations: 111 kB / 17.74 MB, free: 5.34 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.001129/0.001129, allocations: 192.4 kB / 18.67 MB, free: 4.414 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.346/1.346, 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.2833/0.2833, allocations: 48.85 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.001486/0.001486, allocations: 71.89 kB / 451.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1096, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.0184/0.1281, allocations: 15.53 MB / 0.5136 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.1291, allocations: 0.7127 MB / 0.5143 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1292, allocations: 7.938 kB / 0.5143 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.1296, allocations: 111.3 kB / 0.5144 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.1302, allocations: 203.1 kB / 0.5146 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.1353, allocations: 2.052 MB / 0.5166 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.1358, allocations: 461.6 kB / 0.517 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.136, allocations: 105 kB / 0.5171 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.1366, allocations: 363.1 kB / 0.5175 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.1368, allocations: 235.2 kB / 0.5177 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.1369, allocations: 20 kB / 0.5177 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006214/0.1431, allocations: 3.621 MB / 0.5213 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.1434, allocations: 195.4 kB / 0.5215 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.1437, allocations: 262.6 kB / 0.5217 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.1478, allocations: 2.342 MB / 0.524 GB, free: 2.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1478, allocations: 0 / 0.524 GB, free: 2.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1478, allocations: 0 / 0.524 GB, free: 2.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1478, allocations: 0 / 0.524 GB, free: 2.961 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.002456/0.1503, allocations: 1.076 MB / 0.525 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1503, allocations: 8.031 kB / 0.5251 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.1505, allocations: 72.27 kB / 0.5251 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.1513, allocations: 0.5108 MB / 0.5256 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1513, allocations: 28.98 kB / 0.5256 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.1514, allocations: 43.94 kB / 0.5257 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1524, allocations: 0.5936 MB / 0.5263 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1524, allocations: 3.984 kB / 0.5263 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.1525, allocations: 20 kB / 0.5263 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.1525, allocations: 28.64 kB / 0.5263 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.1534, allocations: 458.1 kB / 0.5268 GB, free: 8 kB / 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.2125/0.3659, allocations: 3.15 MB / 0.5298 GB, free: 28.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.3667, allocations: 381 kB / 0.5302 GB, free: 28.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.367, allocations: 175.3 kB / 0.5304 GB, free: 28.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03155/0.3985, allocations: 15.37 MB / 0.5454 GB, free: 19.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3986, allocations: 35.75 kB / 0.5454 GB, free: 19.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 4.007e-06/0.3986, allocations: 1.375 kB / 0.5454 GB, free: 19.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001458/0.4001, allocations: 0.5447 MB / 0.5459 GB, free: 19.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.4001, allocations: 53 kB / 0.546 GB, free: 19.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.4006, allocations: 415.3 kB / 0.5464 GB, free: 19.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4006, allocations: 36.3 kB / 0.5464 GB, free: 19.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4008, allocations: 241.3 kB / 0.5467 GB, free: 18.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/0.4009, allocations: 110.5 kB / 0.5468 GB, free: 18.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.401, allocations: 53.62 kB / 0.5468 GB, free: 18.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.4011, allocations: 361 kB / 0.5472 GB, free: 18.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4013, allocations: 106.4 kB / 0.5473 GB, free: 18.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.4015, allocations: 158.4 kB / 0.5474 GB, free: 18.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.4019, allocations: 286.1 kB / 0.5477 GB, free: 18.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4019, allocations: 1.125 kB / 0.5477 GB, free: 18.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005402/0.4024, allocations: 350.3 kB / 0.548 GB, free: 18.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4025, allocations: 5.375 kB / 0.548 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4025, allocations: 1.547 kB / 0.548 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4025, allocations: 2.25 kB / 0.548 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.4027, allocations: 50.41 kB / 0.5481 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4028, allocations: 1.891 kB / 0.5481 GB, free: 18.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.4029, allocations: 27.02 kB / 0.5481 GB, free: 18.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.403, allocations: 14.02 kB / 0.5481 GB, free: 18.33 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.0002524/0.4032, allocations: 225.5 kB / 0.5483 GB, free: 18.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4033, allocations: 45.89 kB / 0.5484 GB, free: 18.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.4045, allocations: 1.123 MB / 0.5495 GB, free: 17.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/0.4045, allocations: 17.22 kB / 0.5495 GB, free: 17.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4045, allocations: 1.984 kB / 0.5495 GB, free: 17.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4046, allocations: 1.875 kB / 0.5495 GB, free: 17.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.4054, allocations: 0.7251 MB / 0.5502 GB, free: 17.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4054, allocations: 0 / 0.5502 GB, free: 17.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.4056, allocations: 36.19 kB / 0.5502 GB, free: 17.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4056, allocations: 1.219 kB / 0.5502 GB, free: 17.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4056, allocations: 8.562 kB / 0.5502 GB, free: 17.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4057, allocations: 4.5 kB / 0.5502 GB, free: 17.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4057, allocations: 1.5 kB / 0.5502 GB, free: 17.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.4066, allocations: 0.7087 MB / 0.5509 GB, free: 16.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.4067, allocations: 139.4 kB / 0.5511 GB, free: 16.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.4068, allocations: 5.156 kB / 0.5511 GB, free: 16.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4069, allocations: 3.938 kB / 0.5511 GB, free: 16.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.407, allocations: 18.17 kB / 0.5511 GB, free: 16.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.407, allocations: 11.23 kB / 0.5511 GB, free: 16.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.4074, allocations: 304.6 kB / 0.5514 GB, free: 16.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4074, allocations: 0 / 0.5514 GB, free: 16.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4089, allocations: 0.4937 MB / 0.5519 GB, free: 16.54 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.001745/0.4106, allocations: 0.5056 MB / 0.5524 GB, free: 16.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006306/0.4113, allocations: 395 kB / 0.5528 GB, free: 16.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4113, allocations: 4.25 kB / 0.5528 GB, free: 16.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.4116, allocations: 306.4 kB / 0.553 GB, free: 16.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4127, allocations: 203.7 kB / 0.5532 GB, free: 16.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4145, allocations: 1.308 MB / 0.5545 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.415, allocations: 0.9513 MB / 0.5554 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.4152, allocations: 33.72 kB / 0.5555 GB, free: 14.77 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4152, allocations: 1.406 kB / 0.5555 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Templates: time 0.02184/0.437, allocations: 13.9 MB / 0.5691 GB, free: 7.645 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)