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.001225/0.001225, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001395/0.001395, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.185/1.185, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6816/0.6816, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 60.19 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.124, allocations: 80.2 MB / 0.5797 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00152/0.1256, allocations: 0.6035 MB / 0.5803 GB, free: 8.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.1263, allocations: 0.7728 MB / 0.5811 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.011e-05/0.1263, allocations: 4 kB / 0.5811 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.1263, allocations: 0 / 0.5811 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.208e-06/0.1263, allocations: 0 / 0.5811 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1265, allocations: 15.97 kB / 0.5811 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.349e-05/0.1266, allocations: 4 kB / 0.5811 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1266, allocations: 0 / 0.5811 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.1266, allocations: 0 / 0.5811 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1268, allocations: 35.84 kB / 0.5811 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.1268, allocations: 0 / 0.5811 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.1268, allocations: 0 / 0.5811 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-06/0.1268, allocations: 0 / 0.5811 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.1268, allocations: 4 kB / 0.5811 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.788e-05/0.1269, allocations: 0 / 0.5811 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1269, allocations: 0 / 0.5811 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1269, allocations: 4 kB / 0.5811 GB, free: 7.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1269, allocations: 0 / 0.5811 GB, free: 7.527 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.0002537/0.1271, allocations: 315.5 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1272, allocations: 8.031 kB / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.1272, allocations: 30.75 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.604e-05/0.1272, allocations: 0.9375 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.667e-05/0.1273, allocations: 162.2 kB / 0.5816 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.1273, allocations: 384 / 0.5816 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1273, allocations: 4.375 kB / 0.5816 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.064e-05/0.1274, allocations: 41.62 kB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.1274, allocations: 0 / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.1274, allocations: 0 / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1275, allocations: 0 / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.1275, allocations: 7.938 kB / 0.5817 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1277, allocations: 371.5 kB / 0.582 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.1278, allocations: 173.1 kB / 0.5822 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.1279, allocations: 84.17 kB / 0.5823 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1279, allocations: 79.27 kB / 0.5824 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.1279, allocations: 109.8 kB / 0.5825 GB, free: 5.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.128, allocations: 3.938 kB / 0.5825 GB, free: 5.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 4.901e-05/0.128, allocations: 25.7 kB / 0.5825 GB, free: 5.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1281, allocations: 130.7 kB / 0.5826 GB, free: 5.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.1281, allocations: 101.8 kB / 0.5827 GB, free: 5.711 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.1281, allocations: 25.7 kB / 0.5827 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.1282, allocations: 80.14 kB / 0.5828 GB, free: 5.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1282, allocations: 0 / 0.5828 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.1282, allocations: 13.72 kB / 0.5828 GB, free: 5.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.1283, allocations: 318.8 kB / 0.5831 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-06/0.1283, allocations: 128 / 0.5831 GB, free: 5.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.1283, allocations: 4 kB / 0.5831 GB, free: 5.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/0.1283, allocations: 12.8 kB / 0.5831 GB, free: 5.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1284, allocations: 0 / 0.5831 GB, free: 5.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.858e-05/0.1284, allocations: 41.69 kB / 0.5832 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.1284, allocations: 4 kB / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.1284, allocations: 0 / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.1285, allocations: 0 / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.1285, allocations: 4 kB / 0.5832 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.1285, allocations: 96 / 0.5832 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-06/0.1285, allocations: 4 kB / 0.5832 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-06/0.1285, allocations: 0 / 0.5832 GB, free: 5.18 MB / 494.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 7.826e-05/0.1286, allocations: 193.7 kB / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1287, allocations: 104.9 kB / 0.5835 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1287, allocations: 104.1 kB / 0.5836 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.606e-05/0.1288, allocations: 184.2 kB / 0.5838 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-05/0.1288, allocations: 188.2 kB / 0.5839 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-05/0.1289, allocations: 180.2 kB / 0.5841 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1291, allocations: 401.1 kB / 0.5845 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.1291, allocations: 101 kB / 0.5846 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1291, allocations: 116.9 kB / 0.5847 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.297e-05/0.1292, allocations: 180.3 kB / 0.5849 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.1292, allocations: 180.3 kB / 0.585 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.254e-05/0.1293, allocations: 180.4 kB / 0.5852 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.031e-05/0.1294, allocations: 180.3 kB / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.1295, allocations: 319.7 kB / 0.5857 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.1295, allocations: 178.1 kB / 0.5859 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1296, allocations: 184.1 kB / 0.586 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.1297, allocations: 101 kB / 0.5861 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1297, allocations: 192.2 kB / 0.5863 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.1298, allocations: 101 kB / 0.5864 GB, free: 1.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.1298, allocations: 79.28 kB / 0.5865 GB, free: 1.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1298, allocations: 0 / 0.5865 GB, free: 1.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.13, allocations: 0 / 0.5865 GB, free: 1.578 MB / 494.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.0003099/0.1303, allocations: 0.8132 MB / 0.5873 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.055e-05/0.1303, allocations: 8.094 kB / 0.5873 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1303, allocations: 0 / 0.5873 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.1304, allocations: 0 / 0.5873 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.1307, allocations: 455.1 kB / 0.5877 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.1309, allocations: 185.9 kB / 0.5879 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.1311, allocations: 0.6807 MB / 0.5886 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.774e-06/0.1311, allocations: 0 / 0.5886 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.1311, allocations: 7.438 kB / 0.5886 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1312, allocations: 0 / 0.5886 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.344, allocations: 0.8475 MB / 0.5894 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.344, allocations: 261.1 kB / 0.5896 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.991, allocations: 2.344 kB / 0.5896 GB, free: 14.38 MB / 0.4981 GB (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)