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.004445/0.004445, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001048/0.001048, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 275 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 95.92 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.98 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001969/0.1513, allocations: 1.275 MB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.152, allocations: 446.8 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.152, allocations: 0 / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.1521, allocations: 0 / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.1522, allocations: 7.922 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1524, allocations: 39.89 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.1525, allocations: 27.91 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1525, allocations: 0 / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.1525, allocations: 8 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.1526, allocations: 15.92 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1526, allocations: 3.938 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1527, allocations: 47.89 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.1528, allocations: 11.98 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1528, allocations: 19.86 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.153, allocations: 64.03 kB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.153, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.153, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.153, allocations: 0 / 0.7679 GB, free: 6.926 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.0003281/0.1533, allocations: 351.3 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1533, allocations: 12.03 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.1534, allocations: 30.75 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.1534, allocations: 4.938 kB / 0.7682 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1535, allocations: 179.3 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1536, allocations: 384 / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1536, allocations: 4.375 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.1537, allocations: 47.48 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1537, allocations: 0 / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1537, allocations: 8 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1537, allocations: 0 / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.1537, allocations: 7.984 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.1539, allocations: 171 kB / 0.7686 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.1539, allocations: 37.16 kB / 0.7687 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.154, allocations: 29.77 kB / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.154, allocations: 0 / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.154, allocations: 34.5 kB / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.154, allocations: 0 / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.1541, allocations: 53.53 kB / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1542, allocations: 81.05 kB / 0.7689 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.1543, allocations: 146.1 kB / 0.769 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1543, allocations: 25.7 kB / 0.769 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.1543, allocations: 95.97 kB / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.1544, allocations: 7.906 kB / 0.7691 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1544, allocations: 25.7 kB / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.1545, allocations: 314.8 kB / 0.7694 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.1545, allocations: 27.98 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.1546, allocations: 23.98 kB / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.1546, allocations: 47.47 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1546, allocations: 0 / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001214/0.1548, allocations: 105.6 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1548, allocations: 7.938 kB / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.1548, allocations: 0 / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1548, allocations: 0 / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.1549, allocations: 7.938 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1549, allocations: 3.984 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.1549, allocations: 11.84 kB / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1549, allocations: 96 / 0.7697 GB, free: 4.809 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 6.371e-05/0.155, allocations: 118.5 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.155, allocations: 11.83 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.155, allocations: 11.53 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.155, allocations: 0 / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.155, allocations: 0 / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.155, allocations: 0 / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.304e-05/0.1551, allocations: 157.7 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1552, allocations: 0 / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.1552, allocations: 11.92 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1552, allocations: 0 / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1552, allocations: 4 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1552, allocations: 4 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1552, allocations: 0 / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.564e-05/0.1553, allocations: 77.83 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.1553, allocations: 85.05 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1554, allocations: 0 / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.1554, allocations: 8.031 kB / 0.7701 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.1554, allocations: 0 / 0.7701 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1554, allocations: 0 / 0.7701 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.718e-05/0.1555, allocations: 107.2 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1555, allocations: 3.938 kB / 0.7702 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002101/0.1557, allocations: 15.94 kB / 0.7703 GB, free: 4.105 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.0003566/0.156, allocations: 0.6366 MB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1562, allocations: 81.67 kB / 0.771 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1562, allocations: 0 / 0.771 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.1562, allocations: 7.938 kB / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1563, allocations: 11.94 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.1573, allocations: 1.319 MB / 0.7723 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.1576, allocations: 0.6807 MB / 0.7729 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.1576, allocations: 4 kB / 0.7729 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1576, allocations: 15.42 kB / 0.7729 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1576, allocations: 0 / 0.7729 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3002/0.4579, allocations: 1.719 MB / 0.7746 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.752, allocations: 7.703 kB / 0.7746 GB, free: 14.26 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)