Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.0008332/0.0008332, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0008383/0.0008384, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9496/0.9496, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 11.94 kB / 0.5071 GB, free: 4.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 82.3 MB / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005888/0.1656, allocations: 270.8 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.1664, allocations: 0.7729 MB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-06/0.1664, allocations: 0 / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.1664, allocations: 0 / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.1664, allocations: 3.938 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.1666, allocations: 19.92 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.833e-05/0.1666, allocations: 0 / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.1667, allocations: 4 kB / 0.5885 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.1667, allocations: 3.984 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1668, allocations: 19.98 kB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.1668, allocations: 0 / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.1669, allocations: 3.938 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.1669, allocations: 4 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1669, allocations: 25.7 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 1.854e-05/0.1669, allocations: 0 / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1669, allocations: 0 / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1669, allocations: 0 / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.1669, allocations: 0 / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002394/0.1672, allocations: 307.4 kB / 0.5889 GB, free: 1.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1672, allocations: 8.031 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.1673, allocations: 30.56 kB / 0.5889 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.682e-05/0.1673, allocations: 0 / 0.5889 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.1674, allocations: 171 kB / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1674, allocations: 4 kB / 0.5891 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1674, allocations: 7.922 kB / 0.5891 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.536e-05/0.1675, allocations: 29.7 kB / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1675, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.1675, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1675, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.45e-05/0.1675, allocations: 4 kB / 0.5891 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.1678, allocations: 379.5 kB / 0.5895 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.1679, allocations: 177.1 kB / 0.5897 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.1679, allocations: 81.8 kB / 0.5897 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1679, allocations: 75.28 kB / 0.5898 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.168, allocations: 109.8 kB / 0.5899 GB, free: 140 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.168, allocations: 0 / 0.5899 GB, free: 140 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.981e-05/0.168, allocations: 25.7 kB / 0.5899 GB, free: 108 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1681, allocations: 130.6 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.1682, allocations: 109.7 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1682, allocations: 25.7 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.1682, allocations: 84.08 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.1682, allocations: 0 / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.1683, allocations: 4.125 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.1684, allocations: 310.8 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-06/0.1684, allocations: 4 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.1684, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.273e-05/0.1684, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1684, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.683e-05/0.1685, allocations: 33.7 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1685, allocations: 4 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1685, allocations: 4.094 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1685, allocations: 0 / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.1686, allocations: 3.984 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.1686, allocations: 15.92 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.1686, allocations: 7.938 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1686, allocations: 3.953 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 8.17e-05/0.1687, allocations: 181.1 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1688, allocations: 101 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.1688, allocations: 112.1 kB / 0.591 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-05/0.1689, allocations: 180.2 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-05/0.1689, allocations: 180.2 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001169/0.1691, allocations: 184.2 kB / 0.5915 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1693, allocations: 401.2 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/0.1694, allocations: 109 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.1694, allocations: 104.9 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.509e-05/0.1695, allocations: 180.3 kB / 0.5923 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.1696, allocations: 184.2 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001059/0.1697, allocations: 180.3 kB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001089/0.1698, allocations: 176.5 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.17, allocations: 319.7 kB / 0.5931 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.1701, allocations: 182 kB / 0.5933 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.1702, allocations: 180.3 kB / 0.5935 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.1702, allocations: 105 kB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.1703, allocations: 184.2 kB / 0.5937 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.1704, allocations: 101 kB / 0.5938 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.1704, allocations: 79.28 kB / 0.5939 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1704, allocations: 3.938 kB / 0.5939 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002586/0.1707, allocations: 4 kB / 0.5939 GB, free: 11.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003456/0.171, allocations: 0.8129 MB / 0.5947 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.71e-05/0.1711, allocations: 4 kB / 0.5947 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1711, allocations: 4 kB / 0.5947 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.1711, allocations: 0 / 0.5947 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1714, allocations: 0.5224 MB / 0.5952 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.1717, allocations: 175.7 kB / 0.5954 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.172, allocations: 0.6692 MB / 0.5961 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.172, allocations: 0 / 0.5961 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.1721, allocations: 11.44 kB / 0.5961 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1721, allocations: 0 / 0.5961 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00954/0.1816, allocations: 0.7587 MB / 0.5968 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.1819, allocations: 246.4 kB / 0.597 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.862, allocations: 4 kB / 0.597 GB, free: 8.602 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) Environment - environmentSimulation: