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.001401/0.001401, allocations: 106.8 kB / 17.05 MB, free: 6.09 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.00162/0.00162, allocations: 192 kB / 18 MB, free: 5.184 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.302/1.302, allocations: 205.1 MB / 223.9 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.2558/0.2558, allocations: 48.84 MB / 320.1 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.001392/0.001392, allocations: 67.91 kB / 450.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.09026, allocations: 59.16 MB / 0.4978 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01673/0.107, allocations: 15.54 MB / 0.5129 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.108, allocations: 0.7049 MB / 0.5136 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1081, allocations: 4 kB / 0.5136 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1085, allocations: 111.4 kB / 0.5137 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.109, allocations: 207.1 kB / 0.5139 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.1135, allocations: 2.053 MB / 0.5159 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.1141, allocations: 453.6 kB / 0.5164 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1142, allocations: 105 kB / 0.5165 GB, free: 10 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.1148, allocations: 363.1 kB / 0.5168 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1151, allocations: 227.2 kB / 0.517 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.1152, allocations: 20 kB / 0.5171 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005919/0.1211, allocations: 3.632 MB / 0.5206 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1213, allocations: 195.4 kB / 0.5208 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.1216, allocations: 262.6 kB / 0.521 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.1247, allocations: 2.334 MB / 0.5233 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1248, allocations: 0 / 0.5233 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1248, allocations: 0 / 0.5233 GB, free: 2.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1248, allocations: 0 / 0.5233 GB, free: 2.977 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.002419/0.1272, allocations: 1.105 MB / 0.5244 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1272, allocations: 8.031 kB / 0.5244 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.1275, allocations: 72.55 kB / 0.5245 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.1282, allocations: 0.5189 MB / 0.525 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1282, allocations: 29 kB / 0.525 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.1283, allocations: 43.92 kB / 0.5251 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1293, allocations: 0.6014 MB / 0.5256 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1293, allocations: 4 kB / 0.5256 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.1294, allocations: 12 kB / 0.5257 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.1294, allocations: 36.58 kB / 0.5257 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1819/0.3114, allocations: 446.8 kB / 0.5261 GB, free: 31.34 MB / 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.002235/0.3136, allocations: 3.157 MB / 0.5292 GB, free: 28.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.3144, allocations: 378.6 kB / 0.5296 GB, free: 28.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.3147, allocations: 172.8 kB / 0.5297 GB, free: 28.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03006/0.3447, allocations: 15.37 MB / 0.5447 GB, free: 19.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3448, allocations: 42.66 kB / 0.5448 GB, free: 19.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.3448, allocations: 1.312 kB / 0.5448 GB, free: 19.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001364/0.3462, allocations: 0.5385 MB / 0.5453 GB, free: 19.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.3462, allocations: 53.88 kB / 0.5454 GB, free: 19.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.3467, allocations: 420.2 kB / 0.5458 GB, free: 18.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3467, allocations: 31.73 kB / 0.5458 GB, free: 18.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3468, allocations: 247.7 kB / 0.546 GB, free: 18.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.3469, allocations: 109 kB / 0.5461 GB, free: 18.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.347, allocations: 58.52 kB / 0.5462 GB, free: 18.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.3471, allocations: 358.1 kB / 0.5465 GB, free: 18.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.3473, allocations: 105.6 kB / 0.5466 GB, free: 18.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.3475, allocations: 152.9 kB / 0.5468 GB, free: 18.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.3479, allocations: 296.5 kB / 0.5471 GB, free: 18.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3479, allocations: 0.5625 kB / 0.5471 GB, free: 18.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005232/0.3484, allocations: 345.5 kB / 0.5474 GB, free: 18.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3484, allocations: 6.25 kB / 0.5474 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3484, allocations: 1.281 kB / 0.5474 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3485, allocations: 2.531 kB / 0.5474 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.3487, allocations: 43.77 kB / 0.5474 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3487, allocations: 9.797 kB / 0.5474 GB, free: 18.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3489, allocations: 39.19 kB / 0.5475 GB, free: 18.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.3489, allocations: 11.33 kB / 0.5475 GB, free: 18.25 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.0002323/0.3492, allocations: 226.2 kB / 0.5477 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.3492, allocations: 38.98 kB / 0.5477 GB, free: 18.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.3504, allocations: 1.119 MB / 0.5488 GB, free: 17.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/0.3505, allocations: 18.83 kB / 0.5489 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3505, allocations: 0.5156 kB / 0.5489 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3505, allocations: 10.61 kB / 0.5489 GB, free: 17.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000788/0.3513, allocations: 0.7225 MB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3513, allocations: 0.5625 kB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.3515, allocations: 40.02 kB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3515, allocations: 1.156 kB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3515, allocations: 10.83 kB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3515, allocations: 2.562 kB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3515, allocations: 0.5938 kB / 0.5496 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.3525, allocations: 0.7152 MB / 0.5503 GB, free: 16.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/0.3526, allocations: 141.1 kB / 0.5505 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.3526, allocations: 6.297 kB / 0.5505 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3528, allocations: 7.672 kB / 0.5505 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3528, allocations: 17.88 kB / 0.5505 GB, free: 16.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.3529, allocations: 6.125 kB / 0.5505 GB, free: 16.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.3532, allocations: 301.1 kB / 0.5508 GB, free: 16.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3532, allocations: 0 / 0.5508 GB, free: 16.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001176/0.3544, allocations: 0.5002 MB / 0.5513 GB, free: 16.52 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.001843/0.3562, allocations: 0.5102 MB / 0.5518 GB, free: 16.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.3568, allocations: 395.5 kB / 0.5521 GB, free: 16.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3568, allocations: 0 / 0.5521 GB, free: 16.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.3571, allocations: 307.1 kB / 0.5524 GB, free: 16.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3582, allocations: 208.3 kB / 0.5526 GB, free: 16.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3598, allocations: 1.276 MB / 0.5539 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.3603, allocations: 0.952 MB / 0.5548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.3607, allocations: 181.9 kB / 0.555 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.3607, allocations: 37.75 kB / 0.555 GB, free: 14.72 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3608, allocations: 0 / 0.555 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Templates: time 0.02297/0.3837, allocations: 18.21 MB / 0.5728 GB, free: 3.094 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)