Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001279/0.001279, allocations: 99.78 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.001467/0.001468, 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.085/2.085, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.151/1.151, allocations: 132.3 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005091, allocations: 13.62 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6048/0.6054, allocations: 81.57 MB / 0.583 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001849/0.6073, allocations: 0.9896 MB / 0.584 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.6083, allocations: 426.2 kB / 0.5844 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.6084, allocations: 3.938 kB / 0.5844 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.007e-05/0.6085, allocations: 1.562 kB / 0.5844 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.465e-05/0.6085, allocations: 0.6562 kB / 0.5844 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.6088, allocations: 25.48 kB / 0.5844 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.6089, allocations: 11.61 kB / 0.5844 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.6089, allocations: 6.062 kB / 0.5844 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.609, allocations: 12.53 kB / 0.5844 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.6091, allocations: 4.578 kB / 0.5844 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.6091, allocations: 1.25 kB / 0.5844 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.6092, allocations: 29.92 kB / 0.5845 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.6093, allocations: 15.36 kB / 0.5845 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.6094, allocations: 28.77 kB / 0.5845 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.6095, allocations: 39.86 kB / 0.5846 GB, free: 3.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.6095, allocations: 0 / 0.5846 GB, free: 3.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6095, allocations: 3.938 kB / 0.5846 GB, free: 3.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.6095, allocations: 0 / 0.5846 GB, free: 3.164 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003428/0.6099, allocations: 354 kB / 0.5849 GB, free: 2.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.61, allocations: 10.5 kB / 0.5849 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.61, allocations: 39.2 kB / 0.5849 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.6101, allocations: 1.438 kB / 0.5849 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.6102, allocations: 169.4 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.6102, allocations: 1.469 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.6103, allocations: 1.781 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.6104, allocations: 48.3 kB / 0.5852 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6104, allocations: 1.031 kB / 0.5852 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.6104, allocations: 0 / 0.5852 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6104, allocations: 0.8438 kB / 0.5852 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.6105, allocations: 10.47 kB / 0.5852 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.6107, allocations: 178.9 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.6108, allocations: 39.66 kB / 0.5854 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.6108, allocations: 3.938 kB / 0.5854 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.6108, allocations: 33.38 kB / 0.5854 GB, free: 2.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.6108, allocations: 0 / 0.5854 GB, free: 2.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.611, allocations: 54.05 kB / 0.5855 GB, free: 2.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.6111, allocations: 77.11 kB / 0.5855 GB, free: 2.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.6112, allocations: 145.2 kB / 0.5857 GB, free: 1.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.6112, allocations: 26.73 kB / 0.5857 GB, free: 1.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.6113, allocations: 94.98 kB / 0.5858 GB, free: 1.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.6113, allocations: 5.641 kB / 0.5858 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.6113, allocations: 0 / 0.5858 GB, free: 1.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.6114, allocations: 318.5 kB / 0.5861 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.6115, allocations: 27.78 kB / 0.5861 GB, free: 1.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.6115, allocations: 23.31 kB / 0.5861 GB, free: 1.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.6116, allocations: 29.62 kB / 0.5862 GB, free: 1.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6116, allocations: 4 kB / 0.5862 GB, free: 1.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002011/0.6118, allocations: 96.45 kB / 0.5863 GB, free: 1.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6119, allocations: 6.812 kB / 0.5863 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6119, allocations: 0 / 0.5863 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6119, allocations: 1.094 kB / 0.5863 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.612, allocations: 7.578 kB / 0.5863 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.612, allocations: 0 / 0.5863 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.6121, allocations: 10.95 kB / 0.5863 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.6121, allocations: 1.219 kB / 0.5863 GB, free: 1.391 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.092e-05/0.6122, allocations: 120.2 kB / 0.5864 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.6122, allocations: 6.469 kB / 0.5864 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.6123, allocations: 9.094 kB / 0.5864 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6123, allocations: 4.719 kB / 0.5864 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6123, allocations: 1.281 kB / 0.5864 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6123, allocations: 4.781 kB / 0.5864 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.6124, allocations: 165.8 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6124, allocations: 0.9688 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.6125, allocations: 3.422 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6125, allocations: 1.031 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.6125, allocations: 0.875 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6125, allocations: 5.516 kB / 0.5866 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6125, allocations: 0.7188 kB / 0.5866 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.6127, allocations: 89.89 kB / 0.5867 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.6127, allocations: 84.33 kB / 0.5868 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.6127, allocations: 1.125 kB / 0.5868 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.6128, allocations: 5.719 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.6128, allocations: 1.688 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.6128, allocations: 0.8438 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.824e-05/0.6129, allocations: 101.9 kB / 0.5869 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6129, allocations: 0 / 0.5869 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000402/0.6133, allocations: 19.38 kB / 0.5869 GB, free: 0.7617 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004152/0.6138, allocations: 0.7086 MB / 0.5876 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.614, allocations: 82.27 kB / 0.5877 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.614, allocations: 0.9062 kB / 0.5877 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.614, allocations: 9.844 kB / 0.5877 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.6142, allocations: 6.844 kB / 0.5877 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007499/0.615, allocations: 352.3 kB / 0.588 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.6153, allocations: 0.6886 MB / 0.5887 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.6153, allocations: 6.031 kB / 0.5887 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.6154, allocations: 13.28 kB / 0.5887 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.6154, allocations: 0 / 0.5887 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.6797, allocations: 1.431 MB / 0.5901 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003834/0.6802, allocations: 233.1 kB / 0.5903 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.29, allocations: 3.562 kB / 0.5903 GB, free: 14.59 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) Environment - environmentSimulation: