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.0007703/0.0007703, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.0009507/0.0009508, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.282/1.282, allocations: 205.4 MB / 223.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3772/0.3772, allocations: 48.78 MB / 320.4 MB, free: 3.816 MB / 254.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.0004882/0.0004884, allocations: 12 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.0987, allocations: 60.27 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.183/0.2817, allocations: 14.39 MB / 465.8 MB, free: 42.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.2824, allocations: 0.66 MB / 466.5 MB, free: 42.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2826, allocations: 4.688 kB / 466.5 MB, free: 42.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.2829, allocations: 95.2 kB / 466.6 MB, free: 42.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.2833, allocations: 189.8 kB / 466.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.2868, allocations: 1.568 MB / 468.3 MB, free: 41.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.2873, allocations: 0.5813 MB / 468.9 MB, free: 41.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.2874, allocations: 94.03 kB / 469 MB, free: 41.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.2879, allocations: 358.1 kB / 469.4 MB, free: 41.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.2882, allocations: 264.9 kB / 469.6 MB, free: 41.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.2883, allocations: 17.69 kB / 469.6 MB, free: 41.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/0.2938, allocations: 3.362 MB / 473 MB, free: 40.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.2941, allocations: 199.2 kB / 473.2 MB, free: 40.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2942, allocations: 123.3 kB / 473.3 MB, free: 40.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.2966, allocations: 1.581 MB / 474.9 MB, free: 40.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2966, allocations: 0 / 474.9 MB, free: 40.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2966, allocations: 0 / 474.9 MB, free: 40.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.2966, allocations: 3.938 kB / 474.9 MB, free: 40.09 MB / 382.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.002588/0.2992, allocations: 0.9954 MB / 475.9 MB, free: 39.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2993, allocations: 9.219 kB / 475.9 MB, free: 39.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.2995, allocations: 74.12 kB / 476 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.3003, allocations: 486.6 kB / 476.5 MB, free: 39.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.3003, allocations: 27.19 kB / 476.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.3004, allocations: 31.75 kB / 476.5 MB, free: 39.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3017, allocations: 0.5958 MB / 477.1 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3017, allocations: 3.938 kB / 477.1 MB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.3018, allocations: 24.97 kB / 477.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.3018, allocations: 31.23 kB / 477.2 MB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.3028, allocations: 460.6 kB / 477.6 MB, free: 38.63 MB / 382.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.002194/0.305, allocations: 3.148 MB / 480.8 MB, free: 35.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.3058, allocations: 378 kB / 481.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3061, allocations: 179.2 kB / 481.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02745/0.3336, allocations: 15.43 MB / 496.7 MB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3337, allocations: 31.41 kB / 496.8 MB, free: 24.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.524e-06/0.3337, allocations: 1.219 kB / 496.8 MB, free: 24.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001381/0.3351, allocations: 0.5323 MB / 497.3 MB, free: 24.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.3351, allocations: 59.3 kB / 497.4 MB, free: 24.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.3355, allocations: 408.4 kB / 497.8 MB, free: 23.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3356, allocations: 34.92 kB / 497.8 MB, free: 23.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3357, allocations: 255.7 kB / 498 MB, free: 23.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.3358, allocations: 111.6 kB / 498.1 MB, free: 23.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.3358, allocations: 1.031 kB / 498.2 MB, free: 23.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.3359, allocations: 360.8 kB / 498.5 MB, free: 23.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.336, allocations: 99.62 kB / 498.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3362, allocations: 151.4 kB / 498.7 MB, free: 23.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3364, allocations: 138.3 kB / 498.9 MB, free: 23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3364, allocations: 0 / 498.9 MB, free: 23 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004443/0.3368, allocations: 345.8 kB / 499.2 MB, free: 22.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3369, allocations: 5.906 kB / 499.2 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3369, allocations: 1.031 kB / 499.2 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3369, allocations: 2.125 kB / 499.2 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3371, allocations: 46.86 kB / 499.3 MB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3371, allocations: 11.52 kB / 499.3 MB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3374, allocations: 29.53 kB / 499.3 MB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.3374, allocations: 16.22 kB / 499.3 MB, free: 22.77 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.3377, allocations: 239.2 kB / 499.6 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.3377, allocations: 50.92 kB / 499.6 MB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.3388, allocations: 1.105 MB / 0.489 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.3388, allocations: 15.77 kB / 0.489 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3389, allocations: 0 / 0.489 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3389, allocations: 8.703 kB / 0.489 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.3396, allocations: 0.7259 MB / 0.4897 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3396, allocations: 2.812 kB / 0.4897 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3397, allocations: 36.17 kB / 0.4898 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3397, allocations: 1 kB / 0.4898 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3398, allocations: 6.031 kB / 0.4898 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3398, allocations: 5.031 kB / 0.4898 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3398, allocations: 5.047 kB / 0.4898 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.3404, allocations: 0.6985 MB / 0.4905 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.3405, allocations: 140.4 kB / 0.4906 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3405, allocations: 5.281 kB / 0.4906 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3407, allocations: 21.86 kB / 0.4906 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.3408, allocations: 23.69 kB / 0.4906 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3408, allocations: 6.156 kB / 0.4906 GB, free: 20.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.3411, allocations: 296.4 kB / 0.4909 GB, free: 20.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3411, allocations: 1.312 kB / 0.4909 GB, free: 20.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001907/0.343, allocations: 0.497 MB / 0.4914 GB, free: 20.5 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002382/0.3454, allocations: 0.5128 MB / 0.4919 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.3459, allocations: 390.7 kB / 0.4923 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3459, allocations: 0 / 0.4923 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.3462, allocations: 301.2 kB / 0.4926 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/0.3471, allocations: 189.4 kB / 0.4928 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3486, allocations: 1.513 MB / 0.4942 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.349, allocations: 0.9525 MB / 0.4952 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.3493, allocations: 187.8 kB / 0.4953 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.3494, allocations: 32.62 kB / 0.4954 GB, free: 17.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3494, allocations: 0 / 0.4954 GB, free: 17.99 MB / 382.1 MB Notification: Performance of Templates: time 0.02015/0.3696, allocations: 18.01 MB / 0.513 GB, free: 1.227 MB / 382.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: