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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 112.9 kB / 17.06 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.001528/0.001528, allocations: 198.9 kB / 18 MB, free: 5.078 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.356/1.356, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2668/0.2668, allocations: 48.85 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.001392/0.001392, allocations: 63.91 kB / 450 MB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09687, allocations: 59.17 MB / 0.4973 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01671/0.1136, allocations: 15.52 MB / 0.5124 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.1146, allocations: 0.7126 MB / 0.5131 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1147, allocations: 3.938 kB / 0.5131 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.1151, allocations: 107.4 kB / 0.5132 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.1156, allocations: 207 kB / 0.5134 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.1205, allocations: 2.053 MB / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.1212, allocations: 0.5871 MB / 0.516 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1214, allocations: 104.6 kB / 0.5161 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.122, allocations: 395 kB / 0.5165 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1224, allocations: 274.9 kB / 0.5167 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.1224, allocations: 24 kB / 0.5168 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005833/0.1283, allocations: 3.629 MB / 0.5203 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.1285, allocations: 207.3 kB / 0.5205 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.1288, allocations: 302.4 kB / 0.5208 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.132, allocations: 2.432 MB / 0.5232 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.132, allocations: 0 / 0.5232 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.132, allocations: 0 / 0.5232 GB, free: 3.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.132, allocations: 8 kB / 0.5232 GB, free: 3.121 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.002819/0.1348, allocations: 1.208 MB / 0.5244 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1349, allocations: 12.03 kB / 0.5244 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.135, allocations: 94.7 kB / 0.5245 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.1353, allocations: 100.1 kB / 0.5245 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.136, allocations: 0.5343 MB / 0.5251 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.1361, allocations: 44.92 kB / 0.5251 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.1361, allocations: 44 kB / 0.5252 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1375, allocations: 0.8117 MB / 0.5259 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1375, allocations: 8 kB / 0.526 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.1376, allocations: 19.94 kB / 0.526 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.1376, allocations: 44.92 kB / 0.526 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1939/0.3315, allocations: 0.6019 MB / 0.5266 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.002687/0.3343, allocations: 4.286 MB / 0.5308 GB, free: 27.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3353, allocations: 0.5415 MB / 0.5313 GB, free: 27.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.3356, allocations: 190.8 kB / 0.5315 GB, free: 27.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02926/0.3649, allocations: 15.38 MB / 0.5465 GB, free: 18.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3649, allocations: 36.09 kB / 0.5466 GB, free: 18.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.337e-06/0.3649, allocations: 0.7969 kB / 0.5466 GB, free: 18.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002036/0.367, allocations: 0.7455 MB / 0.5473 GB, free: 17.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.367, allocations: 63.95 kB / 0.5473 GB, free: 17.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.3676, allocations: 469.3 kB / 0.5478 GB, free: 17.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3676, allocations: 33.89 kB / 0.5478 GB, free: 17.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3678, allocations: 273.2 kB / 0.5481 GB, free: 17.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.3679, allocations: 144.8 kB / 0.5482 GB, free: 17.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.368, allocations: 73.19 kB / 0.5483 GB, free: 17.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.3681, allocations: 360.8 kB / 0.5486 GB, free: 17.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3683, allocations: 139.8 kB / 0.5488 GB, free: 17.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.3686, allocations: 194.6 kB / 0.549 GB, free: 17.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.369, allocations: 381.6 kB / 0.5493 GB, free: 16.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.369, allocations: 0 / 0.5493 GB, free: 16.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006062/0.3697, allocations: 437.7 kB / 0.5497 GB, free: 16.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3697, allocations: 9.75 kB / 0.5497 GB, free: 16.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3697, allocations: 2.375 kB / 0.5497 GB, free: 16.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3697, allocations: 3.875 kB / 0.5497 GB, free: 16.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.37, allocations: 70.81 kB / 0.5498 GB, free: 16.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3701, allocations: 8.281 kB / 0.5498 GB, free: 16.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.3703, allocations: 44.95 kB / 0.5499 GB, free: 16.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.3703, allocations: 15.08 kB / 0.5499 GB, free: 16.73 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.0002869/0.3706, allocations: 254.7 kB / 0.5501 GB, free: 16.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.3707, allocations: 50.97 kB / 0.5502 GB, free: 16.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.3725, allocations: 1.773 MB / 0.5519 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/0.3726, allocations: 30.53 kB / 0.5519 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3726, allocations: 1.969 kB / 0.5519 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3726, allocations: 2.062 kB / 0.5519 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.3735, allocations: 1.002 MB / 0.5529 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3736, allocations: 1.625 kB / 0.5529 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3738, allocations: 50.36 kB / 0.553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3738, allocations: 1.562 kB / 0.553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3738, allocations: 10.31 kB / 0.553 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3738, allocations: 10.11 kB / 0.553 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3738, allocations: 1.406 kB / 0.553 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.3747, allocations: 0.9901 MB / 0.554 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.3748, allocations: 169.3 kB / 0.5541 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3748, allocations: 5.75 kB / 0.5541 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.375, allocations: 11.25 kB / 0.5541 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3751, allocations: 29.95 kB / 0.5542 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3751, allocations: 10.91 kB / 0.5542 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.3754, allocations: 337.4 kB / 0.5545 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3754, allocations: 0 / 0.5545 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001355/0.3767, allocations: 0.5312 MB / 0.555 GB, free: 14.29 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.002729/0.3795, allocations: 1.945 MB / 0.5569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.3802, allocations: 0.5421 MB / 0.5574 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3802, allocations: 0 / 0.5574 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.3806, allocations: 468.9 kB / 0.5579 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.3819, allocations: 291.2 kB / 0.5582 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.3877, allocations: 5.459 MB / 0.5635 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.3882, allocations: 1.051 MB / 0.5645 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004841/0.3887, allocations: 272.2 kB / 0.5648 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.3889, allocations: 273.2 kB / 0.565 GB, free: 8.336 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3889, allocations: 0 / 0.565 GB, free: 8.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.4338, allocations: 28.8 MB / 0.5932 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.138/9.572, allocations: 15.91 kB / 0.5932 GB, free: 13.73 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)