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.001338/0.001338, allocations: 103.4 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.001574/0.001574, allocations: 195.4 kB / 16.26 MB, free: 6.621 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8744/0.8744, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.69 kB / 0.505 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1405, allocations: 80.93 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001604/0.1422, allocations: 0.5957 MB / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.1429, allocations: 0.7805 MB / 0.5854 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.1429, allocations: 4 kB / 0.5854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.1429, allocations: 0 / 0.5854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.143, allocations: 0 / 0.5854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1432, allocations: 15.92 kB / 0.5854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.145e-05/0.1432, allocations: 4 kB / 0.5854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1433, allocations: 0 / 0.5854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.1433, allocations: 7.938 kB / 0.5854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1434, allocations: 23.97 kB / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-06/0.1434, allocations: 0 / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/0.1434, allocations: 0 / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-06/0.1435, allocations: 0 / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.261e-05/0.1435, allocations: 0 / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.747e-05/0.1435, allocations: 0 / 0.5854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1435, allocations: 4 kB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1435, allocations: 0 / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1435, allocations: 0 / 0.5854 GB, free: 3.312 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.0002202/0.1437, allocations: 311.5 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1438, allocations: 16.06 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.1438, allocations: 34.75 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.53e-05/0.1438, allocations: 0.9375 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.94e-05/0.1439, allocations: 160.4 kB / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.1439, allocations: 384 / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.1439, allocations: 384 / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.144, allocations: 39.23 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.144, allocations: 0 / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.144, allocations: 0 / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1441, allocations: 0 / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.1441, allocations: 7.984 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.1443, allocations: 379.5 kB / 0.5863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.1444, allocations: 165.1 kB / 0.5865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.1444, allocations: 84.08 kB / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1445, allocations: 83.22 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1445, allocations: 109.9 kB / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1445, allocations: 0 / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.807e-05/0.1446, allocations: 33.69 kB / 0.5868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1446, allocations: 126.7 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.1447, allocations: 93.86 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.1447, allocations: 25.83 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.1447, allocations: 88.05 kB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1447, allocations: 0 / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.1448, allocations: 9.719 kB / 0.5871 GB, free: 1.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.1449, allocations: 322.8 kB / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.1449, allocations: 3.938 kB / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-06/0.1449, allocations: 0 / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.1449, allocations: 8.844 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1449, allocations: 8.062 kB / 0.5874 GB, free: 1.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.394e-05/0.145, allocations: 29.7 kB / 0.5875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.145, allocations: 4 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.145, allocations: 0 / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.145, allocations: 3.984 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.1451, allocations: 4 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1451, allocations: 0 / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.1451, allocations: 0 / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.1451, allocations: 3.938 kB / 0.5875 GB, free: 0.9648 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.793e-05/0.1452, allocations: 193.1 kB / 0.5877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.1453, allocations: 109 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.1453, allocations: 104.1 kB / 0.5879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/0.1454, allocations: 184.2 kB / 0.5881 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.054e-05/0.1454, allocations: 180.2 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.767e-05/0.1455, allocations: 184.2 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1457, allocations: 409.2 kB / 0.5888 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.1457, allocations: 101 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1457, allocations: 108.9 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.7e-05/0.1458, allocations: 180.3 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.1459, allocations: 184.2 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.1459, allocations: 180.5 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.988e-05/0.146, allocations: 184.3 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1461, allocations: 311.6 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1461, allocations: 186 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.1462, allocations: 184.3 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1463, allocations: 101 kB / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.1463, allocations: 184.2 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.1464, allocations: 105 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.1464, allocations: 75.28 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002021/0.1466, allocations: 0 / 0.5908 GB, free: 13.37 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 (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.00032/0.1469, allocations: 0.8166 MB / 0.5916 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.918e-05/0.147, allocations: 4 kB / 0.5916 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.147, allocations: 0 / 0.5916 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.147, allocations: 0 / 0.5916 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1473, allocations: 464 kB / 0.592 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.1476, allocations: 184.1 kB / 0.5922 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.1478, allocations: 0.669 MB / 0.5929 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.1478, allocations: 3.984 kB / 0.5929 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.1478, allocations: 7.438 kB / 0.5929 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1478, allocations: 0 / 0.5929 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09804/0.2459, allocations: 0.8544 MB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.2461, allocations: 268.2 kB / 0.594 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.961, allocations: 6.812 kB / 0.594 GB, free: 10.14 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/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)