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.001296/0.001296, allocations: 112.2 kB / 17.06 MB, free: 5.969 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.001098/0.001098, allocations: 200 kB / 18.01 MB, free: 5.055 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.268/1.268, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2565/0.2565, allocations: 48.84 MB / 320.1 MB, free: 11.01 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.001479/0.00148, allocations: 67.89 kB / 450.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09603, allocations: 59.16 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01739/0.1135, allocations: 15.52 MB / 0.5129 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.1145, allocations: 0.7126 MB / 0.5136 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1147, allocations: 7.938 kB / 0.5136 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1151, allocations: 107.4 kB / 0.5137 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.1156, allocations: 207.1 kB / 0.5139 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.1205, allocations: 2.056 MB / 0.5159 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.1212, allocations: 0.5832 MB / 0.5165 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1213, allocations: 88.69 kB / 0.5166 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.1219, allocations: 399 kB / 0.517 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.1224, allocations: 274.9 kB / 0.5172 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.1224, allocations: 24 kB / 0.5172 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.1284, allocations: 3.633 MB / 0.5208 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.1287, allocations: 207.2 kB / 0.521 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.129, allocations: 298.4 kB / 0.5213 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.1326, allocations: 2.432 MB / 0.5236 GB, free: 2.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1326, allocations: 0 / 0.5236 GB, free: 2.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1326, allocations: 0 / 0.5236 GB, free: 2.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1326, allocations: 0 / 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.003263/0.1359, allocations: 1.216 MB / 0.5248 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1359, allocations: 12.03 kB / 0.5248 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.1363, allocations: 96.06 kB / 0.5249 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/0.1372, allocations: 0.5382 MB / 0.5255 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1372, allocations: 45.12 kB / 0.5255 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.1373, allocations: 44 kB / 0.5255 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1954/0.3327, allocations: 0.8069 MB / 0.5263 GB, free: 31.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.3328, allocations: 5.375 kB / 0.5263 GB, free: 31.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.3328, allocations: 17.38 kB / 0.5264 GB, free: 31.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.3329, allocations: 41.72 kB / 0.5264 GB, free: 31.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.3343, allocations: 0.6095 MB / 0.527 GB, free: 31.21 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.002892/0.3372, allocations: 4.294 MB / 0.5312 GB, free: 27.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3383, allocations: 0.5417 MB / 0.5317 GB, free: 27.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.3386, allocations: 195.4 kB / 0.5319 GB, free: 27.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03088/0.3695, allocations: 15.37 MB / 0.5469 GB, free: 18.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3695, allocations: 34.92 kB / 0.5469 GB, free: 18.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.3696, allocations: 1.094 kB / 0.5469 GB, free: 18.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001931/0.3715, allocations: 0.7505 MB / 0.5477 GB, free: 17.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.3715, allocations: 59.25 kB / 0.5477 GB, free: 17.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.3721, allocations: 469.1 kB / 0.5482 GB, free: 17.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3721, allocations: 31.11 kB / 0.5482 GB, free: 17.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3723, allocations: 272.8 kB / 0.5485 GB, free: 17.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3724, allocations: 141.8 kB / 0.5486 GB, free: 17.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3725, allocations: 77.7 kB / 0.5487 GB, free: 17.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.3726, allocations: 360.6 kB / 0.549 GB, free: 17.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.3728, allocations: 128.8 kB / 0.5492 GB, free: 17.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.3731, allocations: 204.8 kB / 0.5493 GB, free: 16.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.3736, allocations: 375.5 kB / 0.5497 GB, free: 16.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3736, allocations: 6.188 kB / 0.5497 GB, free: 16.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007231/0.3743, allocations: 436.2 kB / 0.5501 GB, free: 16.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3744, allocations: 6.625 kB / 0.5501 GB, free: 16.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3744, allocations: 6 kB / 0.5501 GB, free: 16.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3744, allocations: 4.516 kB / 0.5501 GB, free: 16.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.3747, allocations: 71.52 kB / 0.5502 GB, free: 16.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3747, allocations: 4.266 kB / 0.5502 GB, free: 16.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.375, allocations: 44.81 kB / 0.5503 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.375, allocations: 16.45 kB / 0.5503 GB, free: 16.61 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.0003296/0.3754, allocations: 254.1 kB / 0.5505 GB, free: 16.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3755, allocations: 46.34 kB / 0.5506 GB, free: 16.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.3773, allocations: 1.774 MB / 0.5523 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.3774, allocations: 30.02 kB / 0.5523 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3774, allocations: 5.656 kB / 0.5523 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3774, allocations: 1.922 kB / 0.5523 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.3784, allocations: 1.006 MB / 0.5533 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3784, allocations: 3.031 kB / 0.5533 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3786, allocations: 55 kB / 0.5534 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3786, allocations: 1.594 kB / 0.5534 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3787, allocations: 6.594 kB / 0.5534 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3787, allocations: 4.688 kB / 0.5534 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3787, allocations: 5.156 kB / 0.5534 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.3796, allocations: 0.9905 MB / 0.5544 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3797, allocations: 169 kB / 0.5545 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.3798, allocations: 4 kB / 0.5545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.38, allocations: 17.41 kB / 0.5545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.38, allocations: 23.17 kB / 0.5546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.38, allocations: 9.25 kB / 0.5546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.3804, allocations: 336.4 kB / 0.5549 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3804, allocations: 1.312 kB / 0.5549 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001373/0.3818, allocations: 0.5271 MB / 0.5554 GB, free: 14.19 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.001945/0.3837, allocations: 0.5095 MB / 0.5559 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.3845, allocations: 0.5417 MB / 0.5564 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3845, allocations: 5.406 kB / 0.5564 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.3849, allocations: 460.2 kB / 0.5569 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.3863, allocations: 288.8 kB / 0.5571 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3884, allocations: 1.684 MB / 0.5588 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.3889, allocations: 1.049 MB / 0.5598 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.3893, allocations: 272.1 kB / 0.5601 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3894, allocations: 44.59 kB / 0.5601 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3895, allocations: 0 / 0.5601 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Templates: time 0.0286/0.4181, allocations: 21.09 MB / 0.5807 GB, free: 10.93 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)