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.005142/0.005142, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001313/0.001313, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 282.3 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 96.28 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.163, allocations: 86.97 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002194/0.1652, allocations: 1.278 MB / 0.7672 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.166, allocations: 450.8 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.166, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.447e-05/0.1661, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.1662, allocations: 11.92 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1664, allocations: 31.89 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.1665, allocations: 27.92 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.1665, allocations: 7.938 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1665, allocations: 4 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.1666, allocations: 15.91 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.1666, allocations: 0 / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1668, allocations: 51.89 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.1668, allocations: 11.98 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.1668, allocations: 19.86 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.167, allocations: 59.98 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.167, allocations: 0 / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.167, allocations: 0 / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.167, allocations: 4 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB 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.0003992/0.1674, allocations: 351.2 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1674, allocations: 8.031 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1675, allocations: 34.73 kB / 0.7682 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.1675, allocations: 4.938 kB / 0.7682 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1677, allocations: 172.3 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1677, allocations: 4.375 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1677, allocations: 8.312 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1678, allocations: 51.53 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1678, allocations: 0 / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.1678, allocations: 4 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1678, allocations: 0 / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.1679, allocations: 4 kB / 0.7685 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1681, allocations: 175 kB / 0.7686 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.1681, allocations: 41.2 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.1682, allocations: 21.78 kB / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.1682, allocations: 0 / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1682, allocations: 42.42 kB / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1682, allocations: 0 / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001256/0.1684, allocations: 53.59 kB / 0.7688 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.1684, allocations: 81.09 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1685, allocations: 141.3 kB / 0.769 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1686, allocations: 25.7 kB / 0.769 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.1687, allocations: 88.09 kB / 0.7691 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.1687, allocations: 15.83 kB / 0.7691 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1687, allocations: 25.7 kB / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1689, allocations: 323.1 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.1689, allocations: 24 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.169, allocations: 23.98 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.169, allocations: 40.84 kB / 0.7695 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.169, allocations: 0 / 0.7695 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001391/0.1692, allocations: 109.5 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1692, allocations: 7.938 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1692, allocations: 0 / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.1692, allocations: 0 / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.1693, allocations: 4 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1693, allocations: 7.984 kB / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.1693, allocations: 11.89 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.1693, allocations: 0 / 0.7697 GB, free: 4.793 MB / 0.5606 GB 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 8.197e-05/0.1694, allocations: 110.5 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1694, allocations: 3.938 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.1695, allocations: 15.61 kB / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1695, allocations: 3.984 kB / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.1695, allocations: 0 / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1695, allocations: 0 / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1696, allocations: 165.6 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1696, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.1697, allocations: 7.938 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1697, allocations: 0 / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1697, allocations: 4 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1697, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1697, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/0.1698, allocations: 77.92 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1698, allocations: 85 kB / 0.7701 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1699, allocations: 4 kB / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.1699, allocations: 4 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.1699, allocations: 3.984 kB / 0.7701 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.1699, allocations: 0 / 0.7701 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.885e-05/0.17, allocations: 110.8 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.873e-06/0.17, allocations: 0 / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002723/0.1703, allocations: 19.94 kB / 0.7703 GB, free: 4.094 MB / 0.5606 GB 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.0004465/0.1707, allocations: 0.6386 MB / 0.7709 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.1709, allocations: 81.67 kB / 0.771 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1709, allocations: 0 / 0.771 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.1709, allocations: 15.97 kB / 0.771 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.1711, allocations: 7.516 kB / 0.771 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1723, allocations: 1.312 MB / 0.7723 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1726, allocations: 0.6885 MB / 0.7729 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.1726, allocations: 0 / 0.7729 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1727, allocations: 17.61 kB / 0.773 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1727, allocations: 4 kB / 0.773 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/0.4841, allocations: 1.708 MB / 0.7746 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.229, allocations: 6.062 kB / 0.7746 GB, free: 14.27 MB / 0.5606 GB (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)