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.001642/0.001642, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001278/0.001278, allocations: 196.1 kB / 16.14 MB, free: 6.707 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7056/0.7056, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.16 kB / 0.5012 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3313, allocations: 80.19 MB / 0.5795 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001696/0.3331, allocations: 0.6103 MB / 0.5801 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.3339, allocations: 0.7758 MB / 0.5809 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-06/0.3339, allocations: 0 / 0.5809 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.3339, allocations: 0.7188 kB / 0.5809 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.334, allocations: 0 / 0.5809 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3342, allocations: 15.92 kB / 0.5809 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.3342, allocations: 1.219 kB / 0.5809 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.3343, allocations: 6.547 kB / 0.5809 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.3343, allocations: 4.719 kB / 0.5809 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3344, allocations: 19.2 kB / 0.5809 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.3344, allocations: 3.938 kB / 0.5809 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-06/0.3344, allocations: 1.281 kB / 0.5809 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.3345, allocations: 7.984 kB / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.3345, allocations: 0 / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.909e-05/0.3345, allocations: 0.9375 kB / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3345, allocations: 0.6562 kB / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3345, allocations: 1.25 kB / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3345, allocations: 0 / 0.5809 GB, free: 3.602 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.0001813/0.3347, allocations: 308.5 kB / 0.5812 GB, free: 3.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3348, allocations: 8.906 kB / 0.5812 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.3348, allocations: 35.45 kB / 0.5813 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.645e-05/0.3348, allocations: 2.312 kB / 0.5813 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.685e-05/0.3349, allocations: 165.1 kB / 0.5814 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.3349, allocations: 384 / 0.5814 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.3349, allocations: 2.453 kB / 0.5814 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.02e-05/0.335, allocations: 34.23 kB / 0.5815 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.335, allocations: 0 / 0.5815 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.335, allocations: 1.375 kB / 0.5815 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.335, allocations: 0 / 0.5815 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.335, allocations: 5.25 kB / 0.5815 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3352, allocations: 384.5 kB / 0.5819 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.3353, allocations: 167 kB / 0.582 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.3353, allocations: 80.14 kB / 0.5821 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3353, allocations: 75.28 kB / 0.5822 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3353, allocations: 120.3 kB / 0.5823 GB, free: 2.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.3353, allocations: 3.984 kB / 0.5823 GB, free: 2.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.94e-05/0.3354, allocations: 30.22 kB / 0.5823 GB, free: 2.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.3354, allocations: 128.9 kB / 0.5824 GB, free: 1.926 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.182e-05/0.3355, allocations: 95.81 kB / 0.5825 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.3355, allocations: 26.31 kB / 0.5825 GB, free: 1.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.3355, allocations: 81.39 kB / 0.5826 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3355, allocations: 0 / 0.5826 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.3355, allocations: 15.92 kB / 0.5826 GB, free: 1.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.3356, allocations: 321 kB / 0.5829 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.3356, allocations: 0 / 0.5829 GB, free: 1.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-06/0.3356, allocations: 1.375 kB / 0.5829 GB, free: 1.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.3356, allocations: 12.36 kB / 0.583 GB, free: 1.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3356, allocations: 0 / 0.583 GB, free: 1.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.335e-05/0.3357, allocations: 32.3 kB / 0.583 GB, free: 1.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3357, allocations: 14.16 kB / 0.583 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3357, allocations: 1.859 kB / 0.583 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3358, allocations: 0 / 0.583 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.3358, allocations: 1.469 kB / 0.583 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.3358, allocations: 0.5156 kB / 0.583 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.3358, allocations: 9.062 kB / 0.583 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3358, allocations: 0.75 kB / 0.583 GB, free: 1.312 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 4.642e-05/0.3359, allocations: 192.6 kB / 0.5832 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.3359, allocations: 111.1 kB / 0.5833 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.336, allocations: 105.8 kB / 0.5834 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.336, allocations: 182.1 kB / 0.5836 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/0.336, allocations: 177.8 kB / 0.5837 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.336, allocations: 178.4 kB / 0.5839 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3362, allocations: 409 kB / 0.5843 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/0.3362, allocations: 106.7 kB / 0.5844 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.3363, allocations: 105.5 kB / 0.5845 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.3363, allocations: 177.9 kB / 0.5847 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.3364, allocations: 178.1 kB / 0.5849 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-05/0.3365, allocations: 181.8 kB / 0.585 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.208e-05/0.3365, allocations: 186 kB / 0.5852 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3367, allocations: 306 kB / 0.5855 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.3367, allocations: 184.4 kB / 0.5857 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.3368, allocations: 190.7 kB / 0.5859 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.3369, allocations: 102.8 kB / 0.5859 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.3369, allocations: 185.8 kB / 0.5861 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.337, allocations: 106.9 kB / 0.5862 GB, free: 13.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.337, allocations: 76.91 kB / 0.5863 GB, free: 13.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.337, allocations: 0 / 0.5863 GB, free: 13.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3372, allocations: 1.312 kB / 0.5863 GB, free: 13.76 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.0003853/0.3376, allocations: 0.8149 MB / 0.5871 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.312e-05/0.3377, allocations: 3.438 kB / 0.5871 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3377, allocations: 0 / 0.5871 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.3377, allocations: 0.9062 kB / 0.5871 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3381, allocations: 0.5272 MB / 0.5876 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.3384, allocations: 173.1 kB / 0.5878 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.3386, allocations: 0.6753 MB / 0.5884 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.154e-05/0.3386, allocations: 0 / 0.5884 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.3386, allocations: 8.594 kB / 0.5885 GB, free: 11.5 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3386, allocations: 0 / 0.5885 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5576/0.8962, allocations: 0.8146 MB / 0.5892 GB, free: 11.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.8965, allocations: 271.4 kB / 0.5895 GB, free: 10.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.858, allocations: 0 / 0.5895 GB, free: 10.97 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)