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.001333/0.001333, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001693/0.001693, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.152/2.152, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.241/1.241, allocations: 132.3 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006676/0.0006678, allocations: 8 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7279, allocations: 81.58 MB / 0.583 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0009485/0.7289, allocations: 273 kB / 0.5833 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.7303, allocations: 0.7644 MB / 0.584 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.296e-05/0.7303, allocations: 0 / 0.584 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.7304, allocations: 0 / 0.584 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.7304, allocations: 0.625 kB / 0.584 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.7307, allocations: 20.11 kB / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.7308, allocations: 3.281 kB / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.7308, allocations: 0.6562 kB / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.7309, allocations: 1.094 kB / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.7311, allocations: 21.19 kB / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.7311, allocations: 3.75 kB / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.488e-06/0.7311, allocations: 0 / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.7311, allocations: 0 / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.7312, allocations: 26.5 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.007e-05/0.7312, allocations: 0.7188 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7312, allocations: 0 / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7312, allocations: 0.7188 kB / 0.5841 GB, free: 3.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.7312, allocations: 4 kB / 0.5841 GB, free: 3.082 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.0002339/0.7315, allocations: 310.9 kB / 0.5844 GB, free: 2.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.7316, allocations: 9.438 kB / 0.5844 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.7316, allocations: 31.22 kB / 0.5844 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.7317, allocations: 0.8125 kB / 0.5844 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.7317, allocations: 168.3 kB / 0.5846 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.7318, allocations: 4.719 kB / 0.5846 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.7318, allocations: 1 kB / 0.5846 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.7319, allocations: 31.31 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7319, allocations: 0.9688 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.732, allocations: 0 / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.732, allocations: 0.7031 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.732, allocations: 2.094 kB / 0.5846 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.7323, allocations: 379.6 kB / 0.585 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.7324, allocations: 178 kB / 0.5852 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.7324, allocations: 75.94 kB / 0.5852 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.7325, allocations: 109.8 kB / 0.5853 GB, free: 1.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.7325, allocations: 0 / 0.5853 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.049e-05/0.7326, allocations: 28.02 kB / 0.5854 GB, free: 1.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.7327, allocations: 127.6 kB / 0.5855 GB, free: 1.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.7328, allocations: 108.9 kB / 0.5856 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.7328, allocations: 29.64 kB / 0.5856 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.7328, allocations: 81.33 kB / 0.5857 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.7328, allocations: 0 / 0.5857 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.7328, allocations: 3.938 kB / 0.5857 GB, free: 1.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.7329, allocations: 312.3 kB / 0.586 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.7329, allocations: 5.656 kB / 0.586 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.733, allocations: 1.219 kB / 0.586 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.733, allocations: 5.344 kB / 0.586 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.733, allocations: 0 / 0.586 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001224/0.7331, allocations: 40.16 kB / 0.586 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7332, allocations: 5.172 kB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.7332, allocations: 1.125 kB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7332, allocations: 0.6094 kB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.7333, allocations: 1.031 kB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7333, allocations: 1.672 kB / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.7333, allocations: 0 / 0.5861 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.7333, allocations: 4.859 kB / 0.5861 GB, free: 0.8984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/0.7334, allocations: 191.2 kB / 0.5862 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.7335, allocations: 103.4 kB / 0.5863 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.7335, allocations: 105.5 kB / 0.5864 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/0.7336, allocations: 186 kB / 0.5866 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/0.7336, allocations: 182.4 kB / 0.5868 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/0.7338, allocations: 186.1 kB / 0.587 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.7341, allocations: 400.4 kB / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.005e-05/0.7342, allocations: 102.9 kB / 0.5875 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.7343, allocations: 106.7 kB / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.7344, allocations: 181.9 kB / 0.5877 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.7346, allocations: 185.5 kB / 0.5879 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001028/0.7347, allocations: 177.6 kB / 0.5881 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-05/0.7348, allocations: 178.4 kB / 0.5882 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.735, allocations: 309.6 kB / 0.5885 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.7352, allocations: 184.3 kB / 0.5887 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.7353, allocations: 182.8 kB / 0.5889 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.7355, allocations: 101.7 kB / 0.589 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.7356, allocations: 183 kB / 0.5892 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.7357, allocations: 105.7 kB / 0.5893 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.7358, allocations: 80.58 kB / 0.5893 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7358, allocations: 1.062 kB / 0.5893 GB, free: 13.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.7362, allocations: 4.094 kB / 0.5893 GB, free: 13.35 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 (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.0006361/0.7368, allocations: 0.8195 MB / 0.5901 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.7369, allocations: 2.719 kB / 0.5901 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7369, allocations: 0 / 0.5901 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.7369, allocations: 5.062 kB / 0.5902 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.7374, allocations: 0.5216 MB / 0.5907 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.7379, allocations: 179 kB / 0.5908 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.7383, allocations: 0.6743 MB / 0.5915 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.7384, allocations: 0 / 0.5915 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.7384, allocations: 12.09 kB / 0.5915 GB, free: 11.09 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7384, allocations: 0 / 0.5915 GB, free: 11.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.7524, allocations: 0.7384 MB / 0.5922 GB, free: 11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.7527, allocations: 241.1 kB / 0.5925 GB, free: 10.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/4.287, allocations: 3.938 kB / 0.5925 GB, free: 10.76 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/linux/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) Environment - environmentSimulation: