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.001406/0.001406, allocations: 115.5 kB / 17.69 MB, free: 5.434 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.001507/0.001507, allocations: 192 kB / 18.63 MB, free: 4.5 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.26/1.26, 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.263/0.263, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001439/0.001439, allocations: 72.7 kB / 391.5 MB, free: 48.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.07691, allocations: 59.16 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01615/0.09309, allocations: 15.53 MB / 466.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.09389, allocations: 0.7087 MB / 466.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.09399, allocations: 7.938 kB / 466.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.09431, allocations: 95.44 kB / 467 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.09475, allocations: 211.1 kB / 467.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.09863, allocations: 2.056 MB / 469.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.09919, allocations: 0.5872 MB / 469.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.09937, allocations: 92.64 kB / 470 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.09989, allocations: 391 kB / 470.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1002, allocations: 274.9 kB / 470.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.1003, allocations: 24 kB / 470.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00524/0.1055, allocations: 3.633 MB / 474.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1057, allocations: 207.3 kB / 474.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.106, allocations: 302.4 kB / 474.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.1086, allocations: 2.424 MB / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1086, allocations: 4 kB / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1086, allocations: 0 / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1086, allocations: 3.938 kB / 477.2 MB, free: 14.44 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.002579/0.1112, allocations: 1.216 MB / 478.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1113, allocations: 12.03 kB / 478.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.1116, allocations: 96.06 kB / 478.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008193/0.1124, allocations: 0.5461 MB / 479.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.1125, allocations: 33.38 kB / 479.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.1125, allocations: 47.94 kB / 479.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1139, allocations: 0.8117 MB / 480 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1139, allocations: 3.984 kB / 480 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.1139, allocations: 23.98 kB / 480 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/0.114, allocations: 40.98 kB / 480 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.1152, allocations: 0.6086 MB / 480.6 MB, free: 10.86 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.003201/0.1184, allocations: 4.285 MB / 484.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1195, allocations: 0.5455 MB / 485.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.1197, allocations: 197.1 kB / 485.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02946/0.1492, allocations: 15.38 MB / 0.4893 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1493, allocations: 42.55 kB / 0.4893 GB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.1493, allocations: 4 kB / 0.4893 GB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001849/0.1511, allocations: 0.7419 MB / 0.4901 GB, free: 3.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1512, allocations: 59.39 kB / 0.4901 GB, free: 3.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.1517, allocations: 465.8 kB / 0.4906 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1517, allocations: 29.7 kB / 0.4906 GB, free: 2.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1519, allocations: 280.2 kB / 0.4909 GB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.152, allocations: 134 kB / 0.491 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1521, allocations: 81.58 kB / 0.4911 GB, free: 2.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1522, allocations: 366.8 kB / 0.4914 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1524, allocations: 132.3 kB / 0.4915 GB, free: 1.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.1527, allocations: 193.4 kB / 0.4917 GB, free: 1.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1532, allocations: 379.8 kB / 0.4921 GB, free: 1.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1532, allocations: 0 / 0.4921 GB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006027/0.1538, allocations: 444.7 kB / 0.4925 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1538, allocations: 4 kB / 0.4925 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1538, allocations: 4 kB / 0.4925 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1538, allocations: 4 kB / 0.4925 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.1541, allocations: 71.84 kB / 0.4926 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1541, allocations: 7.938 kB / 0.4926 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1543, allocations: 39.58 kB / 0.4926 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.1544, allocations: 15.94 kB / 0.4927 GB, free: 0.6055 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.0002522/0.1546, allocations: 257.8 kB / 0.4929 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.1547, allocations: 55.28 kB / 0.493 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.1564, allocations: 1.766 MB / 0.4947 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.1564, allocations: 31.95 kB / 0.4947 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1564, allocations: 3.938 kB / 0.4947 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1565, allocations: 0 / 0.4947 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.1574, allocations: 0.9966 MB / 0.4957 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1574, allocations: 3.938 kB / 0.4957 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.1576, allocations: 51.97 kB / 0.4957 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1576, allocations: 8 kB / 0.4957 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1577, allocations: 4 kB / 0.4957 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1577, allocations: 4 kB / 0.4958 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1577, allocations: 0 / 0.4958 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/0.1586, allocations: 0.9909 MB / 0.4967 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1588, allocations: 171.7 kB / 0.4969 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.1588, allocations: 4 kB / 0.4969 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.159, allocations: 12 kB / 0.4969 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1591, allocations: 23.97 kB / 0.4969 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.1591, allocations: 15.98 kB / 0.4969 GB, free: 12.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003127/0.1594, allocations: 331.1 kB / 0.4973 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1594, allocations: 0 / 0.4973 GB, free: 11.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001058/0.1605, allocations: 0.5308 MB / 0.4978 GB, free: 11.26 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.001493/0.162, allocations: 0.5142 MB / 0.4983 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.1627, allocations: 0.5476 MB / 0.4988 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1627, allocations: 0 / 0.4988 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.1631, allocations: 461.7 kB / 0.4992 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.1644, allocations: 293.8 kB / 0.4995 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1664, allocations: 1.69 MB / 0.5012 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.1671, allocations: 1.052 MB / 0.5022 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004512/0.1675, allocations: 272 kB / 0.5025 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.1676, allocations: 43.44 kB / 0.5025 GB, free: 6.336 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1676, allocations: 4 kB / 0.5025 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Templates: time 0.02755/0.1952, allocations: 20.79 MB / 0.5228 GB, free: 1.512 MB / 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)