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.0007535/0.0007536, allocations: 92.42 kB / 16.65 MB, free: 6.59 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.0007778/0.0007778, allocations: 180.4 kB / 17.56 MB, free: 6.203 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.245/1.245, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2449/0.2449, allocations: 48.78 MB / 320.8 MB, free: 11.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.0004808/0.0004808, allocations: 14.77 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.081/0.08149, allocations: 60.26 MB / 452.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01666/0.09818, allocations: 15.8 MB / 467.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.09912, allocations: 0.6972 MB / 468.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.09926, allocations: 11.88 kB / 468.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.09962, allocations: 103.4 kB / 468.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.1001, allocations: 195.2 kB / 468.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.1039, allocations: 1.604 MB / 470.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008146/0.1047, allocations: 0.868 MB / 471.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1049, allocations: 72.73 kB / 471.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.1054, allocations: 391 kB / 471.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.1059, allocations: 303 kB / 472.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.1059, allocations: 19.94 kB / 472.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005542/0.1115, allocations: 3.543 MB / 475.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.1117, allocations: 191.4 kB / 475.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.112, allocations: 320.1 kB / 476.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.1151, allocations: 2.404 MB / 478.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1151, allocations: 0 / 478.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1151, allocations: 0 / 478.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1151, allocations: 0 / 478.6 MB, free: 14.59 MB / 366.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.002698/0.1178, allocations: 1.111 MB / 479.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1179, allocations: 8.031 kB / 479.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.1182, allocations: 92.16 kB / 479.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.1188, allocations: 0.5263 MB / 480.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.1189, allocations: 37.38 kB / 480.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.1189, allocations: 43.94 kB / 480.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1203, allocations: 0.8118 MB / 481.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1204, allocations: 3.938 kB / 481.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.1204, allocations: 27.98 kB / 481.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/0.1205, allocations: 40.98 kB / 481.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.1217, allocations: 0.6048 MB / 481.9 MB, free: 11.14 MB / 366.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.00311/0.1248, allocations: 4.296 MB / 486.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.1259, allocations: 0.5378 MB / 486.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.1262, allocations: 189.1 kB / 486.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03109/0.1573, allocations: 15.44 MB / 0.4906 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1573, allocations: 38.5 kB / 0.4906 GB, free: 4.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 4.458e-06/0.1574, allocations: 3.984 kB / 0.4906 GB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001822/0.1592, allocations: 0.7457 MB / 0.4913 GB, free: 3.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1592, allocations: 55.41 kB / 0.4914 GB, free: 3.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.1597, allocations: 477.8 kB / 0.4918 GB, free: 3.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1598, allocations: 29.7 kB / 0.4919 GB, free: 3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1599, allocations: 272.2 kB / 0.4921 GB, free: 2.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.581e-05/0.16, allocations: 138 kB / 0.4923 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.1601, allocations: 41.69 kB / 0.4923 GB, free: 2.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1602, allocations: 362.8 kB / 0.4926 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1604, allocations: 128.3 kB / 0.4928 GB, free: 2.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.1607, allocations: 209.3 kB / 0.493 GB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.1612, allocations: 375.9 kB / 0.4933 GB, free: 1.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1612, allocations: 0 / 0.4933 GB, free: 1.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000621/0.1618, allocations: 444.5 kB / 0.4937 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1618, allocations: 8 kB / 0.4938 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1619, allocations: 0 / 0.4938 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1619, allocations: 4.219 kB / 0.4938 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1622, allocations: 75.89 kB / 0.4938 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1622, allocations: 4 kB / 0.4938 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.1625, allocations: 55.45 kB / 0.4939 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.1625, allocations: 20 kB / 0.4939 GB, free: 0.832 MB / 382.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.0002684/0.1628, allocations: 264.4 kB / 0.4942 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.1629, allocations: 51.38 kB / 0.4942 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.1646, allocations: 1.774 MB / 0.4959 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.1646, allocations: 31.95 kB / 0.496 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1646, allocations: 0 / 0.496 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1646, allocations: 0 / 0.496 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1656, allocations: 1.001 MB / 0.4969 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1657, allocations: 3.938 kB / 0.497 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1659, allocations: 55.91 kB / 0.497 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1659, allocations: 0 / 0.497 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1659, allocations: 12 kB / 0.497 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1659, allocations: 0 / 0.497 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1659, allocations: 0 / 0.497 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.1669, allocations: 0.991 MB / 0.498 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.167, allocations: 171.7 kB / 0.4981 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.1671, allocations: 8 kB / 0.4982 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.1673, allocations: 31.83 kB / 0.4982 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.1674, allocations: 23.97 kB / 0.4982 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1674, allocations: 8 kB / 0.4982 GB, free: 12.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.1678, allocations: 335.1 kB / 0.4985 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1678, allocations: 7.875 kB / 0.4985 GB, free: 11.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001169/0.1689, allocations: 0.5308 MB / 0.4991 GB, free: 11.45 MB / 398.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.001622/0.1706, allocations: 0.5143 MB / 0.4996 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.1712, allocations: 0.5437 MB / 0.5001 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1713, allocations: 0 / 0.5001 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1717, allocations: 457.7 kB / 0.5005 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.1732, allocations: 285.9 kB / 0.5008 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.1754, allocations: 2.09 MB / 0.5028 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.176, allocations: 1.045 MB / 0.5039 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.1765, allocations: 272.1 kB / 0.5041 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1766, allocations: 47.44 kB / 0.5042 GB, free: 6.145 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1766, allocations: 0 / 0.5042 GB, free: 6.145 MB / 398.1 MB Notification: Performance of Templates: time 0.02827/0.2049, allocations: 20.4 MB / 0.5241 GB, free: 1.711 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: