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.001448/0.001448, allocations: 104 kB / 17.06 MB, free: 6.027 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.001641/0.001641, allocations: 195 kB / 18 MB, free: 5.105 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.314/1.314, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2791/0.2791, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.002294/0.002294, allocations: 71.91 kB / 450.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 59.16 MB / 0.4973 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01818/0.1455, allocations: 15.53 MB / 0.5125 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000965/0.1465, allocations: 0.7127 MB / 0.5132 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1467, allocations: 4 kB / 0.5132 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.1472, allocations: 107.4 kB / 0.5133 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1477, allocations: 199.1 kB / 0.5134 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.153, allocations: 2.06 MB / 0.5155 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.1536, allocations: 457.6 kB / 0.5159 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1538, allocations: 105 kB / 0.516 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.1543, allocations: 367.1 kB / 0.5163 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1546, allocations: 231.2 kB / 0.5166 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1547, allocations: 20 kB / 0.5166 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.1607, allocations: 3.625 MB / 0.5201 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.161, allocations: 199.4 kB / 0.5203 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.1612, allocations: 254.6 kB / 0.5206 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.1643, allocations: 2.335 MB / 0.5228 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1643, allocations: 4 kB / 0.5228 GB, free: 3.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1643, allocations: 0 / 0.5228 GB, free: 3.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1643, allocations: 3.938 kB / 0.5228 GB, free: 3.469 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.002278/0.1666, allocations: 1.072 MB / 0.5239 GB, free: 2.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1667, allocations: 8.031 kB / 0.5239 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.1668, allocations: 86.7 kB / 0.524 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.167, allocations: 72.27 kB / 0.5241 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.1677, allocations: 0.5222 MB / 0.5246 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1677, allocations: 28.98 kB / 0.5246 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1677, allocations: 32 kB / 0.5246 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.1687, allocations: 0.6015 MB / 0.5252 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1687, allocations: 3.938 kB / 0.5252 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.1688, allocations: 16 kB / 0.5252 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.1688, allocations: 28.64 kB / 0.5253 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.1696, allocations: 462.1 kB / 0.5257 GB, free: 428 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.199/0.3686, allocations: 3.148 MB / 0.5288 GB, free: 28.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.3693, allocations: 374.7 kB / 0.5291 GB, free: 28.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.3696, allocations: 174.7 kB / 0.5293 GB, free: 28.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03023/0.3998, allocations: 15.38 MB / 0.5443 GB, free: 19.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3999, allocations: 35.16 kB / 0.5443 GB, free: 19.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.385e-06/0.3999, allocations: 0 / 0.5443 GB, free: 19.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001422/0.4013, allocations: 0.5425 MB / 0.5449 GB, free: 18.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.4014, allocations: 61.38 kB / 0.5449 GB, free: 18.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.4019, allocations: 408.8 kB / 0.5453 GB, free: 18.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4019, allocations: 31.62 kB / 0.5454 GB, free: 18.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.4021, allocations: 247.2 kB / 0.5456 GB, free: 18.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.4021, allocations: 110.5 kB / 0.5457 GB, free: 18.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.4022, allocations: 51.28 kB / 0.5457 GB, free: 18.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.4023, allocations: 359.5 kB / 0.5461 GB, free: 18.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.4025, allocations: 107 kB / 0.5462 GB, free: 18.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4027, allocations: 154.6 kB / 0.5463 GB, free: 18.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.4031, allocations: 289.1 kB / 0.5466 GB, free: 18.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4032, allocations: 4.562 kB / 0.5466 GB, free: 18.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004868/0.4036, allocations: 342 kB / 0.5469 GB, free: 18.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4037, allocations: 5.531 kB / 0.5469 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4037, allocations: 1.797 kB / 0.5469 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4037, allocations: 2.125 kB / 0.5469 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.4039, allocations: 47.92 kB / 0.547 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4039, allocations: 3.594 kB / 0.547 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.4041, allocations: 35.94 kB / 0.547 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4041, allocations: 12.62 kB / 0.547 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.0002248/0.4044, allocations: 228.8 kB / 0.5473 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.4044, allocations: 42.81 kB / 0.5473 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.4056, allocations: 1.111 MB / 0.5484 GB, free: 17.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/0.4056, allocations: 20.7 kB / 0.5484 GB, free: 17.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4056, allocations: 0 / 0.5484 GB, free: 17.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4056, allocations: 2.609 kB / 0.5484 GB, free: 17.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/0.4064, allocations: 0.7271 MB / 0.5491 GB, free: 17.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4064, allocations: 9.781 kB / 0.5491 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.4066, allocations: 35.31 kB / 0.5492 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4066, allocations: 1.453 kB / 0.5492 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.4066, allocations: 7.625 kB / 0.5492 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4066, allocations: 1.344 kB / 0.5492 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4066, allocations: 0 / 0.5492 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.4075, allocations: 0.7071 MB / 0.5499 GB, free: 16.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.4076, allocations: 139.8 kB / 0.55 GB, free: 16.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.4077, allocations: 10.02 kB / 0.55 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4078, allocations: 7.891 kB / 0.55 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.4079, allocations: 16.28 kB / 0.55 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4079, allocations: 10.91 kB / 0.55 GB, free: 16.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.4083, allocations: 295.9 kB / 0.5503 GB, free: 16.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4083, allocations: 0 / 0.5503 GB, free: 16.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001359/0.4096, allocations: 0.5024 MB / 0.5508 GB, free: 16.43 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.002408/0.412, allocations: 1.658 MB / 0.5524 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.4126, allocations: 399.2 kB / 0.5528 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4126, allocations: 1.969 kB / 0.5528 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.4129, allocations: 306.8 kB / 0.5531 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.4139, allocations: 205.1 kB / 0.5533 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.4189, allocations: 4.493 MB / 0.5577 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.4193, allocations: 0.9582 MB / 0.5586 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003968/0.4197, allocations: 178.5 kB / 0.5588 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.4199, allocations: 208.3 kB / 0.559 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4199, allocations: 0 / 0.559 GB, free: 12.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04489/0.4648, allocations: 24.53 MB / 0.583 GB, free: 8.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/9.331, allocations: 4.375 kB / 0.583 GB, free: 8.422 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)