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.0007932/0.0007933, allocations: 87.98 kB / 16.31 MB, free: 5.676 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.0008546/0.0008547, allocations: 181 kB / 17.21 MB, free: 5.59 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.493/1.493, allocations: 205.4 MB / 223.4 MB, free: 5.297 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4414/0.4414, allocations: 48.78 MB / 320.4 MB, free: 3.871 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.0004888/0.0004888, allocations: 24 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 60.26 MB / 451.5 MB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.2189/0.322, allocations: 14.38 MB / 465.9 MB, free: 42.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.3228, allocations: 0.6546 MB / 466.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3229, allocations: 7.031 kB / 466.6 MB, free: 41.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.3233, allocations: 95.38 kB / 466.7 MB, free: 41.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.3237, allocations: 193.5 kB / 466.9 MB, free: 41.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.328, allocations: 1.558 MB / 468.4 MB, free: 41.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000611/0.3286, allocations: 0.718 MB / 469.1 MB, free: 40.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3288, allocations: 78.84 kB / 469.2 MB, free: 40.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.3293, allocations: 402.7 kB / 469.6 MB, free: 40.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.3296, allocations: 317.3 kB / 469.9 MB, free: 40.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.3297, allocations: 16.81 kB / 469.9 MB, free: 40.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005996/0.3357, allocations: 3.361 MB / 473.3 MB, free: 39.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.336, allocations: 211.9 kB / 473.5 MB, free: 39.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3362, allocations: 142.4 kB / 473.6 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.3394, allocations: 1.632 MB / 475.3 MB, free: 39.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3394, allocations: 4 kB / 475.3 MB, free: 39.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3394, allocations: 3.938 kB / 475.3 MB, free: 39.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3394, allocations: 0 / 475.3 MB, free: 39.46 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003496/0.3429, allocations: 1.119 MB / 476.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.343, allocations: 12.91 kB / 476.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.3431, allocations: 97.45 kB / 476.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.3434, allocations: 92.25 kB / 476.6 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.3441, allocations: 0.5061 MB / 477.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.3441, allocations: 35.91 kB / 477.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3442, allocations: 41.97 kB / 477.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.3457, allocations: 0.8123 MB / 478 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3457, allocations: 5.312 kB / 478 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3458, allocations: 22.03 kB / 478 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/0.3458, allocations: 43.81 kB / 478.1 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3471, allocations: 0.5984 MB / 478.7 MB, free: 37.75 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.002943/0.3501, allocations: 4.305 MB / 483 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3512, allocations: 0.5388 MB / 483.5 MB, free: 33.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.3515, allocations: 190.4 kB / 483.7 MB, free: 33.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02868/0.3802, allocations: 15.43 MB / 499.1 MB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3803, allocations: 35.91 kB / 499.2 MB, free: 22.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.737e-06/0.3803, allocations: 0 / 499.2 MB, free: 22.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002115/0.3825, allocations: 0.7413 MB / 499.9 MB, free: 22.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.3825, allocations: 55.47 kB / 499.9 MB, free: 22.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.383, allocations: 482 kB / 0.4887 GB, free: 21.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3831, allocations: 30.86 kB / 0.4887 GB, free: 21.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3832, allocations: 265.7 kB / 0.489 GB, free: 21.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.3833, allocations: 142.2 kB / 0.4891 GB, free: 21.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.3834, allocations: 6.031 kB / 0.4891 GB, free: 21.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3835, allocations: 362.5 kB / 0.4895 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.3837, allocations: 130.9 kB / 0.4896 GB, free: 21.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3839, allocations: 198 kB / 0.4898 GB, free: 20.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3842, allocations: 174.1 kB / 0.4899 GB, free: 20.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3842, allocations: 1.031 kB / 0.4899 GB, free: 20.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006476/0.3849, allocations: 435 kB / 0.4904 GB, free: 20.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3849, allocations: 9.688 kB / 0.4904 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3849, allocations: 2.312 kB / 0.4904 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3849, allocations: 9.984 kB / 0.4904 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3852, allocations: 72.02 kB / 0.4904 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3853, allocations: 5.062 kB / 0.4904 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.3857, allocations: 59.83 kB / 0.4905 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.3857, allocations: 14.34 kB / 0.4905 GB, free: 20.62 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.3861, allocations: 259.1 kB / 0.4908 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.3862, allocations: 51.41 kB / 0.4908 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.3882, allocations: 1.767 MB / 0.4925 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.3882, allocations: 30.11 kB / 0.4926 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3882, allocations: 5.188 kB / 0.4926 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3883, allocations: 0 / 0.4926 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.3897, allocations: 1 MB / 0.4936 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3897, allocations: 7.312 kB / 0.4936 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3899, allocations: 50.53 kB / 0.4936 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.39, allocations: 2.25 kB / 0.4936 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.39, allocations: 6.188 kB / 0.4936 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.39, allocations: 2.188 kB / 0.4936 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.39, allocations: 3.938 kB / 0.4936 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3912, allocations: 0.9901 MB / 0.4946 GB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3913, allocations: 166.7 kB / 0.4947 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.3914, allocations: 10.08 kB / 0.4948 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3916, allocations: 33.98 kB / 0.4948 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3917, allocations: 22.44 kB / 0.4948 GB, free: 17.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3917, allocations: 8.406 kB / 0.4948 GB, free: 17.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.392, allocations: 336.1 kB / 0.4951 GB, free: 17.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.392, allocations: 0 / 0.4951 GB, free: 17.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002908/0.395, allocations: 0.5269 MB / 0.4957 GB, free: 17.58 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: 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 (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.003707/0.3987, allocations: 1.948 MB / 0.4976 GB, free: 16.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008595/0.3996, allocations: 0.5348 MB / 0.4981 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3996, allocations: 0 / 0.4981 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.4, allocations: 462 kB / 0.4985 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.4015, allocations: 291.6 kB / 0.4988 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.4084, allocations: 4.134 MB / 0.5028 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4089, allocations: 1.052 MB / 0.5039 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005246/0.4094, allocations: 268.8 kB / 0.5041 GB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.4097, allocations: 276.8 kB / 0.5044 GB, free: 9.695 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4097, allocations: 0 / 0.5044 GB, free: 9.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/0.4526, allocations: 27.72 MB / 0.5315 GB, free: 14.01 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.4528, allocations: 235.5 kB / 0.5317 GB, free: 13.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.836, allocations: 64 / 0.5317 GB, free: 13.76 MB / 414.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/linux/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) Environment - environmentSimulation: