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.0007212/0.0007212, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004254/0.004254, allocations: 169 kB / 16.26 MB, free: 6.652 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7178/0.7178, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002886, allocations: 8 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3416, allocations: 81.57 MB / 0.5838 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001206/0.3428, allocations: 1.015 MB / 0.5848 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.3435, allocations: 443.3 kB / 0.5852 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.3435, allocations: 5.594 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.98e-05/0.3436, allocations: 0.6094 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.3437, allocations: 4.234 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3439, allocations: 35.53 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.344, allocations: 42.02 kB / 0.5853 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.344, allocations: 2.594 kB / 0.5853 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.344, allocations: 17.97 kB / 0.5853 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.3441, allocations: 9.078 kB / 0.5853 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.3441, allocations: 5.031 kB / 0.5853 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3443, allocations: 44.19 kB / 0.5854 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.3443, allocations: 19.5 kB / 0.5854 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3443, allocations: 42.17 kB / 0.5854 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3445, allocations: 52.5 kB / 0.5855 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3445, allocations: 0 / 0.5855 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3445, allocations: 0.9688 kB / 0.5855 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3445, allocations: 0 / 0.5855 GB, free: 2.879 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.0002543/0.3448, allocations: 357.5 kB / 0.5858 GB, free: 2.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3448, allocations: 9.969 kB / 0.5858 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.487e-05/0.3448, allocations: 35.75 kB / 0.5858 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.3449, allocations: 2.75 kB / 0.5859 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.345, allocations: 171.2 kB / 0.586 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.345, allocations: 384 / 0.586 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.345, allocations: 4.719 kB / 0.586 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.3451, allocations: 46.89 kB / 0.5861 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.3451, allocations: 4 kB / 0.5861 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.3451, allocations: 0 / 0.5861 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3451, allocations: 0.625 kB / 0.5861 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.3451, allocations: 6.781 kB / 0.5861 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.3453, allocations: 175.8 kB / 0.5862 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.3453, allocations: 45.98 kB / 0.5863 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.3453, allocations: 30.44 kB / 0.5863 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3454, allocations: 0.875 kB / 0.5863 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.3454, allocations: 33.08 kB / 0.5863 GB, free: 1.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.674e-06/0.3454, allocations: 0 / 0.5863 GB, free: 1.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001217/0.3455, allocations: 53.47 kB / 0.5864 GB, free: 1.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3455, allocations: 86.66 kB / 0.5865 GB, free: 1.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.3456, allocations: 136.8 kB / 0.5866 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.3457, allocations: 26.73 kB / 0.5866 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.3457, allocations: 90.12 kB / 0.5867 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.3457, allocations: 10.91 kB / 0.5867 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3457, allocations: 21.08 kB / 0.5868 GB, free: 1.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3458, allocations: 315.2 kB / 0.5871 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.3458, allocations: 27.17 kB / 0.5871 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.3459, allocations: 23.36 kB / 0.5871 GB, free: 1.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.3459, allocations: 45.95 kB / 0.5871 GB, free: 1.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.346, allocations: 1.125 kB / 0.5871 GB, free: 1.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001271/0.3461, allocations: 104.4 kB / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3461, allocations: 8.656 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3461, allocations: 2.141 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3461, allocations: 0 / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.3462, allocations: 3.797 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3462, allocations: 4.594 kB / 0.5873 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.3462, allocations: 5.688 kB / 0.5873 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3463, allocations: 5.625 kB / 0.5873 GB, free: 1.047 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.3463, allocations: 126.7 kB / 0.5874 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.3463, allocations: 5.219 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.3464, allocations: 9.594 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3464, allocations: 1.5 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3464, allocations: 0.8125 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3464, allocations: 1.031 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.566e-05/0.3465, allocations: 161.5 kB / 0.5876 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3465, allocations: 1.859 kB / 0.5876 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.3465, allocations: 2.312 kB / 0.5876 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3465, allocations: 4.938 kB / 0.5876 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3465, allocations: 2.625 kB / 0.5876 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3465, allocations: 0 / 0.5876 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3465, allocations: 1.969 kB / 0.5876 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.807e-05/0.3466, allocations: 79.11 kB / 0.5877 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.3466, allocations: 79.55 kB / 0.5877 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3467, allocations: 6.734 kB / 0.5877 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.3467, allocations: 0 / 0.5877 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.3467, allocations: 2.344 kB / 0.5877 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3467, allocations: 2.562 kB / 0.5877 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.3468, allocations: 101.9 kB / 0.5878 GB, free: 456 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3468, allocations: 0 / 0.5878 GB, free: 456 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.347, allocations: 15.59 kB / 0.5879 GB, free: 456 kB / 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 (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.0003295/0.3474, allocations: 0.6322 MB / 0.5885 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.3475, allocations: 82.86 kB / 0.5886 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3476, allocations: 0 / 0.5886 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.3476, allocations: 10.17 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.3478, allocations: 5.438 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3489, allocations: 1.305 MB / 0.5898 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3491, allocations: 0.6858 MB / 0.5905 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.991e-05/0.3491, allocations: 1.75 kB / 0.5905 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.3492, allocations: 18.03 kB / 0.5905 GB, free: 13.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3492, allocations: 0 / 0.5905 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.574/1.923, allocations: 1.5 MB / 0.592 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/1.924, allocations: 262.8 kB / 0.5922 GB, free: 13.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.881/5.805, allocations: 3.125 kB / 0.5922 GB, free: 13.44 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/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)