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.001314/0.001314, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001211/0.001211, allocations: 193.4 kB / 18 MB, free: 5.172 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2973/0.2973, allocations: 48.84 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.003237/0.003237, allocations: 68.47 kB / 450 MB, free: 9.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1493, allocations: 59.16 MB / 0.4973 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01994/0.1693, allocations: 15.52 MB / 0.5124 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1705, allocations: 0.7126 MB / 0.5131 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1706, allocations: 3.938 kB / 0.5131 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.1711, allocations: 103.4 kB / 0.5132 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.1718, allocations: 203.1 kB / 0.5134 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.1772, allocations: 2.056 MB / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.178, allocations: 0.5871 MB / 0.516 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1782, allocations: 104.6 kB / 0.5161 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.1788, allocations: 391 kB / 0.5165 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.1792, allocations: 278.9 kB / 0.5167 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.1793, allocations: 20 kB / 0.5168 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007348/0.1867, allocations: 3.633 MB / 0.5203 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.187, allocations: 203.3 kB / 0.5205 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.1874, allocations: 302.4 kB / 0.5208 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.1918, allocations: 2.431 MB / 0.5232 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1918, allocations: 0 / 0.5232 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1918, allocations: 0 / 0.5232 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1918, allocations: 0 / 0.5232 GB, free: 3.133 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.003137/0.195, allocations: 1.245 MB / 0.5244 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.195, allocations: 8.031 kB / 0.5244 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.1952, allocations: 94.7 kB / 0.5245 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.1955, allocations: 100.5 kB / 0.5246 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.1964, allocations: 0.5541 MB / 0.5251 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.1964, allocations: 36.94 kB / 0.5252 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.1965, allocations: 47.98 kB / 0.5252 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.1981, allocations: 0.8117 MB / 0.526 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1981, allocations: 0 / 0.526 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.1981, allocations: 19.98 kB / 0.526 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.1982, allocations: 44.98 kB / 0.5261 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1862/0.3844, allocations: 0.611 MB / 0.5266 GB, free: 31.4 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.002751/0.3872, allocations: 4.287 MB / 0.5308 GB, free: 27.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.3884, allocations: 0.5408 MB / 0.5314 GB, free: 27.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.3887, allocations: 194.1 kB / 0.5315 GB, free: 27.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03263/0.4213, allocations: 15.38 MB / 0.5466 GB, free: 18.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.4214, allocations: 35.41 kB / 0.5466 GB, free: 18.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.925e-06/0.4215, allocations: 1.125 kB / 0.5466 GB, free: 18.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.0021/0.4236, allocations: 0.7437 MB / 0.5473 GB, free: 18.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.4236, allocations: 58.47 kB / 0.5474 GB, free: 18.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.4242, allocations: 474.5 kB / 0.5478 GB, free: 17.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4242, allocations: 32.52 kB / 0.5479 GB, free: 17.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4244, allocations: 275.5 kB / 0.5481 GB, free: 17.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.4245, allocations: 143.8 kB / 0.5483 GB, free: 17.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4247, allocations: 79.77 kB / 0.5483 GB, free: 17.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4248, allocations: 361.2 kB / 0.5487 GB, free: 17.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.425, allocations: 129.2 kB / 0.5488 GB, free: 17.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.4253, allocations: 204.1 kB / 0.549 GB, free: 17.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.4258, allocations: 379.6 kB / 0.5494 GB, free: 17.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4258, allocations: 4.219 kB / 0.5494 GB, free: 17.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006972/0.4265, allocations: 440.3 kB / 0.5498 GB, free: 16.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4266, allocations: 6.125 kB / 0.5498 GB, free: 16.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4266, allocations: 1.188 kB / 0.5498 GB, free: 16.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4266, allocations: 8.031 kB / 0.5498 GB, free: 16.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4269, allocations: 72.52 kB / 0.5499 GB, free: 16.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.427, allocations: 4.297 kB / 0.5499 GB, free: 16.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.4272, allocations: 42.45 kB / 0.5499 GB, free: 16.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.4273, allocations: 18.75 kB / 0.5499 GB, free: 16.88 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.0003489/0.4276, allocations: 259.5 kB / 0.5502 GB, free: 16.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.4277, allocations: 50.8 kB / 0.5502 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.4296, allocations: 1.775 MB / 0.552 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/0.4297, allocations: 34.55 kB / 0.552 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4297, allocations: 0 / 0.552 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4297, allocations: 6.969 kB / 0.552 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4307, allocations: 0.9943 MB / 0.553 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4307, allocations: 4.719 kB / 0.553 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.431, allocations: 52.56 kB / 0.553 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.431, allocations: 1.875 kB / 0.553 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.431, allocations: 7.469 kB / 0.553 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.431, allocations: 5.094 kB / 0.553 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.431, allocations: 3.375 kB / 0.5531 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.432, allocations: 0.9948 MB / 0.554 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4321, allocations: 174.6 kB / 0.5542 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.4321, allocations: 6.344 kB / 0.5542 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.4323, allocations: 16.42 kB / 0.5542 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4324, allocations: 21.91 kB / 0.5542 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.4324, allocations: 9.75 kB / 0.5542 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003237/0.4327, allocations: 334.2 kB / 0.5546 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4328, allocations: 4 kB / 0.5546 GB, free: 14.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00138/0.4341, allocations: 0.537 MB / 0.5551 GB, free: 14.4 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.002894/0.437, allocations: 1.952 MB / 0.557 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007651/0.4378, allocations: 0.5421 MB / 0.5575 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4378, allocations: 0 / 0.5575 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.4383, allocations: 469.5 kB / 0.558 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4398, allocations: 292.1 kB / 0.5582 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.4465, allocations: 5.492 MB / 0.5636 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.447, allocations: 1.044 MB / 0.5646 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005701/0.4476, allocations: 274.1 kB / 0.5649 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.4478, allocations: 274.3 kB / 0.5652 GB, free: 8.363 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4479, allocations: 0 / 0.5652 GB, free: 8.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06082/0.5087, allocations: 28.61 MB / 0.5931 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.713/10.22, allocations: 11.91 kB / 0.5931 GB, free: 13.92 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)