Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.000905/0.000905, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005523/0.005523, allocations: 171.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7104/0.7104, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 16.55 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3341, allocations: 81.57 MB / 0.5838 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005364/0.3347, allocations: 280.2 kB / 0.584 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007257/0.3354, allocations: 0.7873 MB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-06/0.3354, allocations: 0 / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.3354, allocations: 0 / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.617e-06/0.3354, allocations: 0.7812 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3356, allocations: 8.031 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.751e-05/0.3357, allocations: 1.156 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.3357, allocations: 7.531 kB / 0.5848 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.192e-05/0.3357, allocations: 5.422 kB / 0.5848 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3358, allocations: 19.92 kB / 0.5849 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.3358, allocations: 2.219 kB / 0.5849 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-06/0.3358, allocations: 3.938 kB / 0.5849 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.3359, allocations: 1.156 kB / 0.5849 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.3359, allocations: 25.7 kB / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.296e-05/0.3359, allocations: 0 / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3359, allocations: 1.875 kB / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3359, allocations: 0.9062 kB / 0.5849 GB, free: 3.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.3359, allocations: 0 / 0.5849 GB, free: 3.074 MB / 430.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.0001392/0.3361, allocations: 308 kB / 0.5852 GB, free: 2.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3361, allocations: 9.688 kB / 0.5852 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.928e-05/0.3361, allocations: 32.47 kB / 0.5852 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.439e-05/0.3362, allocations: 0.9375 kB / 0.5852 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.063e-05/0.3362, allocations: 169.1 kB / 0.5854 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-06/0.3362, allocations: 1.25 kB / 0.5854 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.3362, allocations: 5.562 kB / 0.5854 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.933e-05/0.3363, allocations: 31.59 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.3363, allocations: 0 / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-06/0.3363, allocations: 1.125 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3363, allocations: 0 / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.3363, allocations: 5.625 kB / 0.5854 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3365, allocations: 384.5 kB / 0.5858 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.359e-05/0.3365, allocations: 171.4 kB / 0.586 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.3365, allocations: 80.14 kB / 0.586 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.3366, allocations: 75.28 kB / 0.5861 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.3366, allocations: 111.5 kB / 0.5862 GB, free: 1.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3366, allocations: 0 / 0.5862 GB, free: 1.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.034e-05/0.3366, allocations: 31.61 kB / 0.5862 GB, free: 1.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.3367, allocations: 132.4 kB / 0.5864 GB, free: 1.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.481e-05/0.3367, allocations: 95.77 kB / 0.5865 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-06/0.3367, allocations: 29.64 kB / 0.5865 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/0.3368, allocations: 81.14 kB / 0.5866 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.3368, allocations: 4.547 kB / 0.5866 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.3368, allocations: 10.59 kB / 0.5866 GB, free: 1.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.3368, allocations: 320.9 kB / 0.5869 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.3368, allocations: 0 / 0.5869 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.3368, allocations: 1.906 kB / 0.5869 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.62e-05/0.3369, allocations: 14.5 kB / 0.5869 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3369, allocations: 0.9375 kB / 0.5869 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.528e-05/0.3369, allocations: 31.45 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3369, allocations: 5.062 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.337, allocations: 0.7031 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.337, allocations: 1.125 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.748e-05/0.337, allocations: 5.375 kB / 0.5869 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.337, allocations: 5.453 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-06/0.337, allocations: 0 / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.337, allocations: 0.6875 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.3371, allocations: 189.3 kB / 0.5871 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.3371, allocations: 110.7 kB / 0.5872 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.3371, allocations: 110.2 kB / 0.5873 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.3372, allocations: 185.5 kB / 0.5875 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.3372, allocations: 178.8 kB / 0.5877 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.374e-05/0.3373, allocations: 177.4 kB / 0.5879 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3374, allocations: 408.4 kB / 0.5882 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/0.3375, allocations: 106.7 kB / 0.5883 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.3375, allocations: 110.6 kB / 0.5885 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-05/0.3376, allocations: 182.1 kB / 0.5886 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.3376, allocations: 177.8 kB / 0.5888 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.17e-05/0.3377, allocations: 181.9 kB / 0.589 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-05/0.3377, allocations: 177.7 kB / 0.5891 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.3379, allocations: 314 kB / 0.5894 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3379, allocations: 180.9 kB / 0.5896 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.338, allocations: 181.6 kB / 0.5898 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.338, allocations: 107.6 kB / 0.5899 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3381, allocations: 185.8 kB / 0.5901 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.3381, allocations: 110.2 kB / 0.5902 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.3382, allocations: 80.81 kB / 0.5902 GB, free: 13.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 0 / 0.5902 GB, free: 13.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.3384, allocations: 0.9375 kB / 0.5902 GB, free: 13.23 MB / 446.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: 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 (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.0002875/0.3387, allocations: 0.8159 MB / 0.591 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.112e-05/0.3387, allocations: 2.125 kB / 0.591 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3387, allocations: 0 / 0.591 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3387, allocations: 5.062 kB / 0.5911 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.339, allocations: 0.5212 MB / 0.5916 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.3393, allocations: 185.9 kB / 0.5917 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.3395, allocations: 0.6707 MB / 0.5924 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.586e-06/0.3395, allocations: 1.094 kB / 0.5924 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.3395, allocations: 9.312 kB / 0.5924 GB, free: 10.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3395, allocations: 0 / 0.5924 GB, free: 10.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.422/2.761, allocations: 0.7481 MB / 0.5931 GB, free: 10.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/2.762, allocations: 260.9 kB / 0.5934 GB, free: 10.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/4.308, allocations: 6.094 kB / 0.5934 GB, free: 10.54 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)