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.001088/0.001088, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001028/0.001028, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 286.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9106/0.9106, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 101.7 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1417, allocations: 86.97 MB / 0.6816 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002177/0.1439, allocations: 1.287 MB / 0.6829 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.1446, allocations: 454.9 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.1446, allocations: 0 / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6e-05/0.1447, allocations: 0 / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.1448, allocations: 3.938 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.145, allocations: 35.89 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.791e-05/0.1451, allocations: 19.92 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.1451, allocations: 7.984 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.1452, allocations: 11.94 kB / 0.6834 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.1452, allocations: 7.984 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1452, allocations: 0 / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1454, allocations: 47.95 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.1454, allocations: 15.86 kB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.1454, allocations: 23.86 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1456, allocations: 51.83 kB / 0.6835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1456, allocations: 4 kB / 0.6836 GB, free: 5.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1456, allocations: 0 / 0.6836 GB, free: 5.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1456, allocations: 0 / 0.6836 GB, free: 5.434 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.0003576/0.1459, allocations: 355.3 kB / 0.6839 GB, free: 5.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.146, allocations: 8.031 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.146, allocations: 8.844 kB / 0.6839 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1462, allocations: 168.4 kB / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1462, allocations: 4.375 kB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.1462, allocations: 384 / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.1463, allocations: 51.72 kB / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1463, allocations: 3.938 kB / 0.6841 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.1463, allocations: 3.938 kB / 0.6841 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1463, allocations: 3.938 kB / 0.6841 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.1463, allocations: 8 kB / 0.6841 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1465, allocations: 182.5 kB / 0.6843 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.1466, allocations: 41.14 kB / 0.6844 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.1466, allocations: 17.77 kB / 0.6844 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.1466, allocations: 8 kB / 0.6844 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1466, allocations: 38.5 kB / 0.6844 GB, free: 4.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1467, allocations: 0 / 0.6844 GB, free: 4.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001169/0.1468, allocations: 49.53 kB / 0.6845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1468, allocations: 81.11 kB / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.1469, allocations: 133.7 kB / 0.6847 GB, free: 4.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1469, allocations: 25.95 kB / 0.6847 GB, free: 4.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.147, allocations: 92.12 kB / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.147, allocations: 7.906 kB / 0.6848 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.147, allocations: 25.7 kB / 0.6848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.1472, allocations: 318.8 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.1472, allocations: 23.98 kB / 0.6851 GB, free: 3.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.1472, allocations: 31.92 kB / 0.6852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/0.1473, allocations: 43.97 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1473, allocations: 0 / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001205/0.1474, allocations: 93.59 kB / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1474, allocations: 11.94 kB / 0.6853 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.1475, allocations: 3.984 kB / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1475, allocations: 0 / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.1475, allocations: 4 kB / 0.6853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1475, allocations: 0 / 0.6853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.1476, allocations: 7.844 kB / 0.6853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1476, allocations: 4 kB / 0.6853 GB, free: 3.363 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.7e-05/0.1477, allocations: 121.8 kB / 0.6854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.1477, allocations: 7.938 kB / 0.6855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.1477, allocations: 3.531 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1477, allocations: 4 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1477, allocations: 0 / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1477, allocations: 0 / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1478, allocations: 165.6 kB / 0.6856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1478, allocations: 0 / 0.6856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.1479, allocations: 4 kB / 0.6856 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1479, allocations: 3.938 kB / 0.6856 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.1479, allocations: 0 / 0.6856 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1479, allocations: 0 / 0.6856 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1479, allocations: 11.98 kB / 0.6856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.148, allocations: 65.91 kB / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.148, allocations: 100.8 kB / 0.6858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.148, allocations: 0 / 0.6858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.148, allocations: 0 / 0.6858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1481, allocations: 4 kB / 0.6858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1481, allocations: 8.031 kB / 0.6858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.1481, allocations: 95.27 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 0 / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1484, allocations: 27.98 kB / 0.6859 GB, free: 2.652 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.0001425/0.1485, allocations: 120.3 kB / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1486, allocations: 77.67 kB / 0.6861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1487, allocations: 0 / 0.6861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.1487, allocations: 19.92 kB / 0.6861 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.1488, allocations: 4.938 kB / 0.6861 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.1491, allocations: 142.4 kB / 0.6863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1493, allocations: 0.6883 MB / 0.6869 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.865e-05/0.1493, allocations: 3.984 kB / 0.687 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.1494, allocations: 7.438 kB / 0.687 GB, free: 1.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1494, allocations: 128 / 0.687 GB, free: 1.527 MB / 494.1 MB Notification: Performance of Templates: time 0.002455/0.1518, allocations: 0.55 MB / 0.6875 GB, free: 1.027 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)