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.00176/0.00176, allocations: 108.4 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.002031/0.002031, allocations: 200 kB / 18.01 MB, free: 5.051 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.404/1.404, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2862/0.2862, 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.002227/0.002227, allocations: 71.89 kB / 450.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1117, allocations: 59.16 MB / 0.4973 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.0209/0.1326, allocations: 15.53 MB / 0.5125 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1338, allocations: 0.7166 MB / 0.5132 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.134, allocations: 4 kB / 0.5132 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.1345, allocations: 103.4 kB / 0.5133 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.1352, allocations: 207.1 kB / 0.5135 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005701/0.1409, allocations: 2.052 MB / 0.5155 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.1416, allocations: 453.7 kB / 0.5159 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1418, allocations: 108.9 kB / 0.516 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.1426, allocations: 351.1 kB / 0.5163 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.1431, allocations: 235.1 kB / 0.5166 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.1432, allocations: 24 kB / 0.5166 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007368/0.1506, allocations: 3.625 MB / 0.5201 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.1509, allocations: 199.4 kB / 0.5203 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.1513, allocations: 258.6 kB / 0.5206 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.1559, allocations: 2.342 MB / 0.5229 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1559, allocations: 4 kB / 0.5229 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1559, allocations: 0 / 0.5229 GB, free: 3.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.156, allocations: 0 / 0.5229 GB, free: 3.441 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002815/0.1588, allocations: 1.093 MB / 0.5239 GB, free: 2.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1588, allocations: 12.03 kB / 0.5239 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.159, allocations: 82.72 kB / 0.524 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.1592, allocations: 80.53 kB / 0.5241 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.1601, allocations: 0.5148 MB / 0.5246 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.1601, allocations: 32.94 kB / 0.5246 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.1602, allocations: 32 kB / 0.5247 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1614, allocations: 0.5975 MB / 0.5252 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.1614, allocations: 4 kB / 0.5252 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.1615, allocations: 19.98 kB / 0.5253 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/0.1615, allocations: 28.64 kB / 0.5253 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.1625, allocations: 466.1 kB / 0.5257 GB, free: 368 kB / 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.1935/0.356, allocations: 3.146 MB / 0.5288 GB, free: 28.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.3568, allocations: 378.2 kB / 0.5292 GB, free: 28.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.357, allocations: 176.6 kB / 0.5293 GB, free: 28.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03051/0.3875, allocations: 15.37 MB / 0.5444 GB, free: 19.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3876, allocations: 35.47 kB / 0.5444 GB, free: 19.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 3.286e-06/0.3876, allocations: 0 / 0.5444 GB, free: 19.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001399/0.389, allocations: 0.5447 MB / 0.5449 GB, free: 18.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.389, allocations: 61.16 kB / 0.545 GB, free: 18.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.3895, allocations: 412.3 kB / 0.5454 GB, free: 18.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3895, allocations: 26.73 kB / 0.5454 GB, free: 18.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3896, allocations: 249.7 kB / 0.5456 GB, free: 18.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.3897, allocations: 111.9 kB / 0.5457 GB, free: 18.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3898, allocations: 56.53 kB / 0.5458 GB, free: 18.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.3899, allocations: 359.6 kB / 0.5461 GB, free: 18.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3901, allocations: 102.9 kB / 0.5462 GB, free: 18.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3903, allocations: 163 kB / 0.5464 GB, free: 18.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.3907, allocations: 285.3 kB / 0.5467 GB, free: 18.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3907, allocations: 5.688 kB / 0.5467 GB, free: 18.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004987/0.3912, allocations: 347.6 kB / 0.547 GB, free: 18.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3912, allocations: 5.719 kB / 0.547 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3912, allocations: 1.781 kB / 0.547 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3912, allocations: 2.625 kB / 0.547 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.3915, allocations: 45.14 kB / 0.5471 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3915, allocations: 3.812 kB / 0.5471 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3916, allocations: 29.31 kB / 0.5471 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3917, allocations: 18.48 kB / 0.5471 GB, free: 18.08 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.3919, allocations: 232.5 kB / 0.5473 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.392, allocations: 43.16 kB / 0.5474 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3932, allocations: 1.119 MB / 0.5485 GB, free: 17.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.3932, allocations: 18.53 kB / 0.5485 GB, free: 17.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3932, allocations: 0 / 0.5485 GB, free: 17.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3932, allocations: 2.5 kB / 0.5485 GB, free: 17.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.394, allocations: 0.7234 MB / 0.5492 GB, free: 17.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.394, allocations: 3.75 kB / 0.5492 GB, free: 17.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3942, allocations: 43.28 kB / 0.5492 GB, free: 17.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3942, allocations: 1.219 kB / 0.5492 GB, free: 17.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3942, allocations: 1.938 kB / 0.5492 GB, free: 17.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3942, allocations: 1.281 kB / 0.5492 GB, free: 17.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3942, allocations: 5.062 kB / 0.5492 GB, free: 17.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.3951, allocations: 0.7102 MB / 0.5499 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.3952, allocations: 145.9 kB / 0.5501 GB, free: 16.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.3953, allocations: 5.75 kB / 0.5501 GB, free: 16.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3954, allocations: 12.77 kB / 0.5501 GB, free: 16.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.3955, allocations: 12.98 kB / 0.5501 GB, free: 16.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3955, allocations: 10.25 kB / 0.5501 GB, free: 16.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.3959, allocations: 295.7 kB / 0.5504 GB, free: 16.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3959, allocations: 0.5 kB / 0.5504 GB, free: 16.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001288/0.3972, allocations: 0.5119 MB / 0.5509 GB, free: 16.39 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: 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 (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.002504/0.3997, allocations: 1.654 MB / 0.5525 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.4003, allocations: 396.1 kB / 0.5529 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4003, allocations: 0 / 0.5529 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.4006, allocations: 315.7 kB / 0.5532 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4017, allocations: 199.9 kB / 0.5534 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.4071, allocations: 4.516 MB / 0.5578 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4075, allocations: 0.9543 MB / 0.5587 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004468/0.408, allocations: 182 kB / 0.5589 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.4082, allocations: 208.2 kB / 0.5591 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4082, allocations: 1.094 kB / 0.5591 GB, free: 11.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/0.4599, allocations: 24.4 MB / 0.5829 GB, free: 8.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.308/9.768, allocations: 8.438 kB / 0.5829 GB, free: 8.371 MB / 430.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/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)