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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 107.5 kB / 15.99 MB, free: 6.359 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.0009946/0.0009947, allocations: 199.5 kB / 16.91 MB, free: 6.199 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.233/1.233, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 291.9 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9092/0.9092, allocations: 169.2 MB / 0.4985 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 89.02 kB / 0.5954 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.179, allocations: 86.97 MB / 0.6803 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002528/0.1815, allocations: 1.351 MB / 0.6816 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.1823, allocations: 439.7 kB / 0.682 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.1823, allocations: 0 / 0.682 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.039e-05/0.1824, allocations: 7.984 kB / 0.6821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.1825, allocations: 4 kB / 0.6821 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1828, allocations: 39.89 kB / 0.6821 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.1829, allocations: 15.94 kB / 0.6821 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1829, allocations: 3.984 kB / 0.6821 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.1829, allocations: 15.98 kB / 0.6821 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.183, allocations: 7.938 kB / 0.6821 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.183, allocations: 4 kB / 0.6821 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1831, allocations: 47.88 kB / 0.6822 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1832, allocations: 15.92 kB / 0.6822 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.1832, allocations: 15.94 kB / 0.6822 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.1833, allocations: 44.16 kB / 0.6823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1833, allocations: 0 / 0.6823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1834, allocations: 0 / 0.6823 GB, free: 6.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1834, allocations: 3.938 kB / 0.6823 GB, free: 6.492 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.0003631/0.1837, allocations: 347.4 kB / 0.6826 GB, free: 6.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1838, allocations: 12.03 kB / 0.6826 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1838, allocations: 4.844 kB / 0.6826 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1839, allocations: 168.4 kB / 0.6828 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.184, allocations: 384 / 0.6828 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.184, allocations: 8.375 kB / 0.6828 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.1841, allocations: 51.67 kB / 0.6828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1841, allocations: 0 / 0.6828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1841, allocations: 0 / 0.6828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1841, allocations: 0 / 0.6828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.1841, allocations: 7.984 kB / 0.6828 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1843, allocations: 174.5 kB / 0.683 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.1844, allocations: 37.09 kB / 0.683 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.1844, allocations: 25.83 kB / 0.6831 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1844, allocations: 0 / 0.6831 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1844, allocations: 34.5 kB / 0.6831 GB, free: 5.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1845, allocations: 8 kB / 0.6831 GB, free: 5.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.1846, allocations: 53.53 kB / 0.6832 GB, free: 5.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1846, allocations: 77.11 kB / 0.6832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.1847, allocations: 140.7 kB / 0.6834 GB, free: 5.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1848, allocations: 29.7 kB / 0.6834 GB, free: 5.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.1848, allocations: 80.14 kB / 0.6835 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1848, allocations: 7.844 kB / 0.6835 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1849, allocations: 37.89 kB / 0.6835 GB, free: 4.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.185, allocations: 314.8 kB / 0.6838 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.185, allocations: 23.98 kB / 0.6838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.185, allocations: 27.98 kB / 0.6839 GB, free: 4.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.1851, allocations: 44.84 kB / 0.6839 GB, free: 4.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1851, allocations: 0 / 0.6839 GB, free: 4.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001143/0.1852, allocations: 101.6 kB / 0.684 GB, free: 4.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1852, allocations: 11.88 kB / 0.684 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1853, allocations: 0 / 0.684 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1853, allocations: 8 kB / 0.684 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.509e-05/0.1853, allocations: 0 / 0.684 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1853, allocations: 3.938 kB / 0.684 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.1854, allocations: 11.84 kB / 0.684 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1854, allocations: 4 kB / 0.684 GB, free: 4.426 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 6.934e-05/0.1855, allocations: 113.8 kB / 0.6841 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.1855, allocations: 7.938 kB / 0.6842 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.1855, allocations: 3.625 kB / 0.6842 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1855, allocations: 3.984 kB / 0.6842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1855, allocations: 4 kB / 0.6842 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1855, allocations: 4 kB / 0.6842 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.1856, allocations: 161.7 kB / 0.6843 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1856, allocations: 3.984 kB / 0.6843 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.1857, allocations: 0 / 0.6843 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1857, allocations: 7.938 kB / 0.6843 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1857, allocations: 0 / 0.6843 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1857, allocations: 0 / 0.6843 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1857, allocations: 0 / 0.6843 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.67e-05/0.1858, allocations: 81.83 kB / 0.6844 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.1858, allocations: 84.95 kB / 0.6845 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1858, allocations: 4 kB / 0.6845 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.1858, allocations: 0 / 0.6845 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.1859, allocations: 0 / 0.6845 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1859, allocations: 4 kB / 0.6845 GB, free: 3.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.1859, allocations: 106.4 kB / 0.6846 GB, free: 3.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1859, allocations: 4.031 kB / 0.6846 GB, free: 3.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1861, allocations: 16 kB / 0.6846 GB, free: 3.73 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.0001653/0.1863, allocations: 120.1 kB / 0.6847 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.1865, allocations: 93.61 kB / 0.6848 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1865, allocations: 0 / 0.6848 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.1865, allocations: 4 kB / 0.6848 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1866, allocations: 7.453 kB / 0.6848 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.1869, allocations: 180.2 kB / 0.685 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1872, allocations: 0.6961 MB / 0.6857 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.1872, allocations: 7.438 kB / 0.6857 GB, free: 2.559 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1872, allocations: 0 / 0.6857 GB, free: 2.559 MB / 494.1 MB Notification: Performance of Templates: time 0.002055/0.1892, allocations: 0.7421 MB / 0.6864 GB, free: 1.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)