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.001365/0.001365, allocations: 113 kB / 17.05 MB, free: 6.086 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.001578/0.001578, allocations: 188 kB / 17.99 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.309/1.309, 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.2556/0.2556, allocations: 48.85 MB / 320.1 MB, free: 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.00141/0.00141, allocations: 67.91 kB / 450.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09136, allocations: 59.16 MB / 0.4978 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01711/0.1085, allocations: 15.52 MB / 0.5129 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.1094, allocations: 0.7048 MB / 0.5136 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1096, allocations: 7.938 kB / 0.5136 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1099, allocations: 99.38 kB / 0.5137 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.1104, allocations: 211.1 kB / 0.5139 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004526/0.115, allocations: 2.056 MB / 0.5159 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.1156, allocations: 0.5871 MB / 0.5165 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1158, allocations: 96.62 kB / 0.5166 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.1163, allocations: 398.9 kB / 0.517 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.1166, allocations: 275 kB / 0.5172 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.1167, allocations: 20 kB / 0.5172 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.1224, allocations: 3.636 MB / 0.5208 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.1226, allocations: 199.4 kB / 0.521 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.1229, allocations: 302.4 kB / 0.5213 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.1257, allocations: 2.423 MB / 0.5236 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1258, allocations: 0 / 0.5236 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1258, allocations: 0 / 0.5236 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1258, allocations: 3.938 kB / 0.5236 GB, free: 2.641 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002692/0.1285, allocations: 1.253 MB / 0.5249 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1285, allocations: 8.031 kB / 0.5249 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.1288, allocations: 96.48 kB / 0.525 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.1296, allocations: 0.5502 MB / 0.5255 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1296, allocations: 45.11 kB / 0.5255 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.1297, allocations: 44 kB / 0.5256 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1836/0.3133, allocations: 0.8015 MB / 0.5264 GB, free: 31.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3134, allocations: 6.906 kB / 0.5264 GB, free: 31.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.3134, allocations: 20.66 kB / 0.5264 GB, free: 31.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-05/0.3135, allocations: 42.83 kB / 0.5264 GB, free: 31.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3147, allocations: 0.6087 MB / 0.527 GB, free: 31.12 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.002431/0.3171, allocations: 4.295 MB / 0.5312 GB, free: 27.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3181, allocations: 0.5444 MB / 0.5318 GB, free: 27.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.3184, allocations: 192.4 kB / 0.5319 GB, free: 27.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0294/0.3478, allocations: 15.38 MB / 0.547 GB, free: 18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3479, allocations: 35.66 kB / 0.547 GB, free: 17.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.3479, allocations: 3.828 kB / 0.547 GB, free: 17.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001923/0.3498, allocations: 0.744 MB / 0.5477 GB, free: 17.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.3498, allocations: 55.39 kB / 0.5478 GB, free: 17.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.3503, allocations: 474.7 kB / 0.5482 GB, free: 17.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3504, allocations: 29.17 kB / 0.5483 GB, free: 17.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3505, allocations: 276.8 kB / 0.5485 GB, free: 17.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.3506, allocations: 142.1 kB / 0.5487 GB, free: 17.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.3507, allocations: 76.11 kB / 0.5487 GB, free: 17.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.3508, allocations: 361.5 kB / 0.5491 GB, free: 17.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.351, allocations: 132.7 kB / 0.5492 GB, free: 17.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3512, allocations: 200.8 kB / 0.5494 GB, free: 16.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.3517, allocations: 381.5 kB / 0.5498 GB, free: 16.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3517, allocations: 3.938 kB / 0.5498 GB, free: 16.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000644/0.3524, allocations: 440.7 kB / 0.5502 GB, free: 16.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3524, allocations: 6.406 kB / 0.5502 GB, free: 16.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3524, allocations: 6 kB / 0.5502 GB, free: 16.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3524, allocations: 3.875 kB / 0.5502 GB, free: 16.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.3528, allocations: 69.17 kB / 0.5503 GB, free: 16.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3528, allocations: 4.328 kB / 0.5503 GB, free: 16.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.353, allocations: 50.8 kB / 0.5503 GB, free: 16.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.353, allocations: 15.5 kB / 0.5503 GB, free: 16.54 MB / 414.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.0002848/0.3533, allocations: 265.2 kB / 0.5506 GB, free: 16.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.3534, allocations: 51.61 kB / 0.5506 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.3551, allocations: 1.776 MB / 0.5524 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/0.3551, allocations: 25.66 kB / 0.5524 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3551, allocations: 0.5625 kB / 0.5524 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.3551, allocations: 1.875 kB / 0.5524 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.3561, allocations: 1.001 MB / 0.5534 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3561, allocations: 3.938 kB / 0.5534 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.3563, allocations: 50.25 kB / 0.5534 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3563, allocations: 1.219 kB / 0.5534 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.3563, allocations: 15.3 kB / 0.5534 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3563, allocations: 1.625 kB / 0.5534 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3563, allocations: 4 kB / 0.5534 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.3572, allocations: 0.9995 MB / 0.5544 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.3573, allocations: 171.2 kB / 0.5546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.3573, allocations: 8.828 kB / 0.5546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3575, allocations: 7.969 kB / 0.5546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3576, allocations: 21.8 kB / 0.5546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3576, allocations: 17.28 kB / 0.5546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003003/0.3579, allocations: 335.9 kB / 0.555 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3579, allocations: 0 / 0.555 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001262/0.3592, allocations: 0.5346 MB / 0.5555 GB, free: 14.11 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: 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.001507/0.3607, allocations: 0.5094 MB / 0.556 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.3613, allocations: 0.5431 MB / 0.5565 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3614, allocations: 4.438 kB / 0.5565 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.3617, allocations: 463.1 kB / 0.5569 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.363, allocations: 281.7 kB / 0.5572 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3648, allocations: 1.717 MB / 0.5589 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3653, allocations: 1.05 MB / 0.5599 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004473/0.3657, allocations: 270.5 kB / 0.5602 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.3658, allocations: 43.73 kB / 0.5602 GB, free: 11.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3658, allocations: 0 / 0.5602 GB, free: 11.56 MB / 414.1 MB Notification: Performance of Templates: time 0.02416/0.39, allocations: 20.96 MB / 0.5807 GB, free: 10.89 MB / 430.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)