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.0008904/0.0008905, allocations: 96.91 kB / 16.3 MB, free: 5.996 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.00086/0.00086, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.231/1.231, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3497/0.3497, allocations: 48.77 MB / 320.4 MB, free: 3.82 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.0004923/0.0004924, allocations: 15.98 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09444, allocations: 60.26 MB / 451.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.1696/0.264, allocations: 13.28 MB / 464.7 MB, free: 43.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006034/0.2647, allocations: 0.6332 MB / 465.3 MB, free: 43.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.2648, allocations: 6.531 kB / 465.3 MB, free: 43.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.2651, allocations: 106.8 kB / 465.4 MB, free: 43.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.2654, allocations: 139.6 kB / 465.6 MB, free: 42.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.2682, allocations: 1.551 MB / 467.1 MB, free: 42.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.2686, allocations: 413.7 kB / 467.5 MB, free: 42.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2687, allocations: 75.72 kB / 467.6 MB, free: 42.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.2691, allocations: 344.9 kB / 467.9 MB, free: 42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2693, allocations: 218.2 kB / 468.1 MB, free: 41.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.2694, allocations: 16.09 kB / 468.2 MB, free: 41.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.2739, allocations: 3.426 MB / 471.6 MB, free: 41.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.274, allocations: 177.4 kB / 471.8 MB, free: 41.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.2741, allocations: 143.3 kB / 471.9 MB, free: 41.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.2759, allocations: 1.63 MB / 473.5 MB, free: 40.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.2759, allocations: 3.938 kB / 473.5 MB, free: 40.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2759, allocations: 3.188 kB / 473.5 MB, free: 40.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2759, allocations: 0 / 473.5 MB, free: 40.78 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002975/0.2789, allocations: 1.121 MB / 474.6 MB, free: 40.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.279, allocations: 9.703 kB / 474.7 MB, free: 40.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.2793, allocations: 92.02 kB / 474.7 MB, free: 40.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.28, allocations: 0.5049 MB / 475.3 MB, free: 39.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.28, allocations: 41.08 kB / 475.3 MB, free: 39.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.2801, allocations: 42.06 kB / 475.3 MB, free: 39.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2814, allocations: 0.8088 MB / 476.1 MB, free: 39.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2814, allocations: 1 kB / 476.1 MB, free: 39.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.2815, allocations: 21.28 kB / 476.2 MB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.2815, allocations: 50.62 kB / 476.2 MB, free: 39.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.2827, allocations: 0.595 MB / 476.8 MB, free: 39.14 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.002549/0.2852, allocations: 4.303 MB / 481.1 MB, free: 35.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2863, allocations: 0.5452 MB / 481.7 MB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02999/0.3163, allocations: 15.42 MB / 497.1 MB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3164, allocations: 37.95 kB / 497.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.3164, allocations: 4 kB / 497.1 MB, free: 24.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001794/0.3182, allocations: 0.9005 MB / 498 MB, free: 23.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.3182, allocations: 58.66 kB / 498.1 MB, free: 23.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.3187, allocations: 466.7 kB / 498.5 MB, free: 23.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3187, allocations: 34.78 kB / 498.6 MB, free: 23.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3188, allocations: 269.7 kB / 498.8 MB, free: 23.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.3189, allocations: 138.8 kB / 499 MB, free: 22.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.3189, allocations: 9.188 kB / 499 MB, free: 22.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.319, allocations: 370.6 kB / 499.3 MB, free: 22.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3192, allocations: 127.7 kB / 499.5 MB, free: 22.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3194, allocations: 196.8 kB / 499.7 MB, free: 22.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3196, allocations: 165.8 kB / 499.8 MB, free: 22.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3196, allocations: 5.156 kB / 499.8 MB, free: 22.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005571/0.3202, allocations: 430.6 kB / 0.4885 GB, free: 22.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3202, allocations: 5.531 kB / 0.4885 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3202, allocations: 3.188 kB / 0.4885 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3203, allocations: 10.41 kB / 0.4885 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.3205, allocations: 75.05 kB / 0.4886 GB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3206, allocations: 7.844 kB / 0.4886 GB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3209, allocations: 58.86 kB / 0.4887 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.3209, allocations: 15.56 kB / 0.4887 GB, free: 22.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.3212, allocations: 259.4 kB / 0.4889 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.3212, allocations: 46.16 kB / 0.489 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.3227, allocations: 1.774 MB / 0.4907 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.3227, allocations: 30.7 kB / 0.4907 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3227, allocations: 0 / 0.4907 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3227, allocations: 3.984 kB / 0.4907 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008734/0.3236, allocations: 0.9958 MB / 0.4917 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3236, allocations: 3.844 kB / 0.4917 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3238, allocations: 54.91 kB / 0.4918 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3239, allocations: 2.312 kB / 0.4918 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3239, allocations: 13.92 kB / 0.4918 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3239, allocations: 2.625 kB / 0.4918 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3239, allocations: 0 / 0.4918 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.3248, allocations: 0.9832 MB / 0.4928 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.3249, allocations: 167.2 kB / 0.4929 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.3249, allocations: 6.062 kB / 0.4929 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3252, allocations: 36.8 kB / 0.493 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3252, allocations: 19.78 kB / 0.493 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3252, allocations: 11.22 kB / 0.493 GB, free: 19.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.3255, allocations: 335.8 kB / 0.4933 GB, free: 19.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3256, allocations: 1.375 kB / 0.4933 GB, free: 19.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001556/0.3271, allocations: 0.5386 MB / 0.4938 GB, free: 19.03 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: 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 (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.001934/0.3291, allocations: 0.4976 MB / 0.4943 GB, free: 18.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.3297, allocations: 0.5379 MB / 0.4948 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3297, allocations: 1.344 kB / 0.4948 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.3301, allocations: 455.6 kB / 0.4953 GB, free: 18.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.3314, allocations: 278 kB / 0.4955 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3333, allocations: 2.037 MB / 0.4975 GB, free: 16.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3336, allocations: 1.079 MB / 0.4986 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000432/0.3341, allocations: 267 kB / 0.4988 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.3341, allocations: 39.44 kB / 0.4989 GB, free: 15.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3342, allocations: 3.938 kB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02322/0.3574, allocations: 20.49 MB / 0.5189 GB, free: 10.94 MB / 398.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: