Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001245/0.001245, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 278.6 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 94.72 kB / 0.5947 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1497, allocations: 86.97 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00215/0.1518, allocations: 1.336 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.1525, allocations: 452.8 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.1525, allocations: 0 / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.1526, allocations: 0.5625 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.1527, allocations: 0 / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.1529, allocations: 36.52 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.1529, allocations: 41.88 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.153, allocations: 0 / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.153, allocations: 15.92 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1531, allocations: 11.98 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1531, allocations: 0 / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1532, allocations: 43.89 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.1533, allocations: 27.86 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1533, allocations: 11.92 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1534, allocations: 64.03 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1534, allocations: 0 / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1534, allocations: 0 / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.324e-06/0.1534, allocations: 0 / 0.6816 GB, free: 15.01 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002881/0.1537, allocations: 349.1 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1537, allocations: 8.031 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.1538, allocations: 34.75 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.866e-05/0.1538, allocations: 12.84 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1539, allocations: 172.4 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-06/0.1539, allocations: 384 / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.1539, allocations: 4.359 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.623e-05/0.154, allocations: 51.48 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-06/0.154, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.154, allocations: 7.984 kB / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-06/0.154, allocations: 0 / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.154, allocations: 8 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1542, allocations: 174.4 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.534e-05/0.1543, allocations: 41.14 kB / 0.6824 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.1543, allocations: 17.78 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.1543, allocations: 3.938 kB / 0.6824 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1543, allocations: 42.5 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1543, allocations: 3.938 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.1545, allocations: 41.69 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1545, allocations: 81.05 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.1546, allocations: 144.5 kB / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1546, allocations: 25.7 kB / 0.6827 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1547, allocations: 92.39 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.1547, allocations: 3.906 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1547, allocations: 25.7 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1548, allocations: 318.8 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.1549, allocations: 23.98 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.1549, allocations: 31.98 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.155, allocations: 40.84 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.155, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001153/0.1551, allocations: 112.6 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1551, allocations: 4 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.1552, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1552, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.1552, allocations: 4 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1552, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.1553, allocations: 15.78 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1553, allocations: 0 / 0.6834 GB, free: 12.9 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: 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 7.425e-05/0.1553, allocations: 119.1 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.1554, allocations: 3.938 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.1554, allocations: 11.53 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1554, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1554, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1554, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1555, allocations: 165.6 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1555, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.1555, allocations: 11.94 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1555, allocations: 0 / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1556, allocations: 0 / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1556, allocations: 4 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1556, allocations: 4 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.113e-05/0.1556, allocations: 81.86 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.1557, allocations: 84.95 kB / 0.6838 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1557, allocations: 0 / 0.6838 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.1557, allocations: 4 kB / 0.6838 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.1557, allocations: 0 / 0.6838 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1557, allocations: 4.031 kB / 0.6838 GB, free: 12.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.219e-05/0.1558, allocations: 103.2 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1558, allocations: 0 / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.156, allocations: 23.94 kB / 0.684 GB, free: 12.2 MB / 494.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.0003862/0.1564, allocations: 0.6337 MB / 0.6846 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1565, allocations: 81.67 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1565, allocations: 0 / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.1566, allocations: 7.938 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1567, allocations: 4 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1577, allocations: 1.305 MB / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.158, allocations: 0.6964 MB / 0.6866 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.158, allocations: 0 / 0.6866 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.158, allocations: 19.38 kB / 0.6867 GB, free: 9.301 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.158, allocations: 0 / 0.6867 GB, free: 9.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009869/0.1679, allocations: 1.588 MB / 0.6882 GB, free: 7.93 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.1681, allocations: 287.6 kB / 0.6885 GB, free: 7.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.782, allocations: 0 / 0.6885 GB, free: 7.555 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)