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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",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.0009588/0.0009588, allocations: 87.14 kB / 16.31 MB, free: 6.453 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.001017/0.001017, allocations: 184 kB / 17.21 MB, free: 6.324 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.505/1.505, allocations: 205.4 MB / 223.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4253/0.4253, allocations: 48.77 MB / 320.4 MB, free: 3.805 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.000488/0.0004881, allocations: 16 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 60.26 MB / 451.5 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2185/0.3227, allocations: 14.39 MB / 465.9 MB, free: 42.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.3235, allocations: 0.6618 MB / 466.6 MB, free: 42.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3236, allocations: 6.75 kB / 466.6 MB, free: 42.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3239, allocations: 97.56 kB / 466.7 MB, free: 42.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.3243, allocations: 193 kB / 466.9 MB, free: 42.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00394/0.3283, allocations: 1.559 MB / 468.4 MB, free: 41.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.3288, allocations: 0.5875 MB / 469 MB, free: 41.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.329, allocations: 91.97 kB / 469.1 MB, free: 41.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.3294, allocations: 354.9 kB / 469.5 MB, free: 41.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.3297, allocations: 268.9 kB / 469.7 MB, free: 41.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.3298, allocations: 13.41 kB / 469.7 MB, free: 41.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/0.3358, allocations: 3.367 MB / 473.1 MB, free: 40.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.3362, allocations: 193.4 kB / 473.3 MB, free: 40.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3364, allocations: 121.2 kB / 473.4 MB, free: 40.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3392, allocations: 1.585 MB / 475 MB, free: 39.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3393, allocations: 0.6094 kB / 475 MB, free: 39.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3393, allocations: 0 / 475 MB, free: 39.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3393, allocations: 0 / 475 MB, free: 39.98 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002863/0.3422, allocations: 0.9911 MB / 476 MB, free: 39.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3422, allocations: 10.62 kB / 476 MB, free: 39.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.3423, allocations: 84.16 kB / 476.1 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.3425, allocations: 74.36 kB / 476.2 MB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.3432, allocations: 489.9 kB / 476.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3432, allocations: 26.28 kB / 476.7 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.3433, allocations: 36.62 kB / 476.7 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3444, allocations: 0.5988 MB / 477.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3444, allocations: 5.734 kB / 477.3 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.3444, allocations: 11.94 kB / 477.3 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.3445, allocations: 37.39 kB / 477.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.3454, allocations: 449.9 kB / 477.8 MB, free: 38.47 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.002413/0.3478, allocations: 3.162 MB / 481 MB, free: 35.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.3486, allocations: 376.8 kB / 481.3 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.3489, allocations: 183.3 kB / 481.5 MB, free: 35.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02984/0.3788, allocations: 15.42 MB / 496.9 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3789, allocations: 32.53 kB / 497 MB, free: 24.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.3789, allocations: 0 / 497 MB, free: 24.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001329/0.3802, allocations: 0.5328 MB / 497.5 MB, free: 24.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.3803, allocations: 54.91 kB / 497.5 MB, free: 24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.3807, allocations: 424.1 kB / 498 MB, free: 23.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3807, allocations: 35.02 kB / 498 MB, free: 23.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3809, allocations: 240.8 kB / 498.2 MB, free: 23.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.381, allocations: 111.5 kB / 498.3 MB, free: 23.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.381, allocations: 2.031 kB / 498.3 MB, free: 23.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.3811, allocations: 356 kB / 498.7 MB, free: 23.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3812, allocations: 101.3 kB / 498.8 MB, free: 23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.3814, allocations: 144.6 kB / 498.9 MB, free: 22.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.3816, allocations: 145 kB / 499.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3816, allocations: 0 / 499.1 MB, free: 22.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000501/0.3821, allocations: 345.4 kB / 499.4 MB, free: 22.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3822, allocations: 9.391 kB / 499.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3822, allocations: 2.812 kB / 499.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3822, allocations: 7.469 kB / 499.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3824, allocations: 50.52 kB / 499.5 MB, free: 22.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3824, allocations: 2.531 kB / 499.5 MB, free: 22.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3827, allocations: 34.14 kB / 499.5 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.3828, allocations: 15.55 kB / 499.5 MB, free: 22.61 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.3831, allocations: 231.6 kB / 499.7 MB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.3831, allocations: 42.88 kB / 499.8 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.3844, allocations: 1.105 MB / 0.4892 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.3844, allocations: 19.59 kB / 0.4892 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3844, allocations: 0 / 0.4892 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3844, allocations: 0 / 0.4892 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.3854, allocations: 0.7305 MB / 0.4899 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3854, allocations: 0 / 0.4899 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.3856, allocations: 36.02 kB / 0.4899 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.3856, allocations: 0.9688 kB / 0.4899 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3856, allocations: 9.906 kB / 0.4899 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3856, allocations: 2.062 kB / 0.4899 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3857, allocations: 2.188 kB / 0.4899 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.3865, allocations: 0.6988 MB / 0.4906 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3867, allocations: 145.1 kB / 0.4908 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.3867, allocations: 5.281 kB / 0.4908 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3869, allocations: 25.2 kB / 0.4908 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.387, allocations: 15.86 kB / 0.4908 GB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.387, allocations: 14.44 kB / 0.4908 GB, free: 20.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.3874, allocations: 296.3 kB / 0.4911 GB, free: 20.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 0 / 0.4911 GB, free: 20.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003306/0.3907, allocations: 0.4981 MB / 0.4916 GB, free: 20.34 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: 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 (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.003491/0.3942, allocations: 1.653 MB / 0.4932 GB, free: 19.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.3949, allocations: 394 kB / 0.4936 GB, free: 19.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3949, allocations: 0 / 0.4936 GB, free: 19.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.3952, allocations: 298.3 kB / 0.4939 GB, free: 18.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3963, allocations: 206.3 kB / 0.4941 GB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.4015, allocations: 3.305 MB / 0.4973 GB, free: 16.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4019, allocations: 0.9539 MB / 0.4982 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.4024, allocations: 183.1 kB / 0.4984 GB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.4026, allocations: 203.4 kB / 0.4986 GB, free: 15.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4026, allocations: 0 / 0.4986 GB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.4392, allocations: 23.82 MB / 0.5218 GB, free: 8.059 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.4394, allocations: 220 kB / 0.522 GB, free: 7.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.736, allocations: 7.938 kB / 0.5221 GB, free: 7.816 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) Environment - environmentSimulation: