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.00154/0.00154, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001751/0.001751, allocations: 192 kB / 17.35 MB, free: 5.738 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 289.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.00182, allocations: 95.84 kB / 0.6822 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3829, allocations: 86.98 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002277/0.3853, allocations: 1.273 MB / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.386, allocations: 452.8 kB / 0.7688 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.3861, allocations: 0 / 0.7688 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.17e-05/0.3862, allocations: 3.938 kB / 0.7688 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.3862, allocations: 7.984 kB / 0.7688 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.3865, allocations: 35.89 kB / 0.7688 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.3866, allocations: 23.86 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.3866, allocations: 4 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.3867, allocations: 8 kB / 0.7689 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.3867, allocations: 23.84 kB / 0.7689 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.3867, allocations: 0 / 0.7689 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3869, allocations: 39.95 kB / 0.7689 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.3869, allocations: 11.98 kB / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.387, allocations: 19.86 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3871, allocations: 55.53 kB / 0.769 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3871, allocations: 4 kB / 0.769 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3871, allocations: 0 / 0.769 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3871, allocations: 0 / 0.769 GB, free: 2.016 MB / 0.5294 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.0003421/0.3875, allocations: 353.9 kB / 0.7693 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3875, allocations: 8.031 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.3875, allocations: 12.78 kB / 0.7694 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3877, allocations: 172.3 kB / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-06/0.3877, allocations: 384 / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3877, allocations: 384 / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3878, allocations: 51.67 kB / 0.7696 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3878, allocations: 0 / 0.7696 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3879, allocations: 11.98 kB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3879, allocations: 0 / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.3879, allocations: 7.938 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3881, allocations: 166.5 kB / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.3882, allocations: 45.2 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.3882, allocations: 21.72 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.3882, allocations: 0 / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3882, allocations: 38.5 kB / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3883, allocations: 0 / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.3884, allocations: 49.62 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3884, allocations: 77.11 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3886, allocations: 148.5 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3886, allocations: 25.7 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.3886, allocations: 88.14 kB / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3886, allocations: 7.844 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3887, allocations: 25.7 kB / 0.7703 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3888, allocations: 323.1 kB / 0.7706 GB, free: 184 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.3889, allocations: 23.98 kB / 0.7706 GB, free: 160 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.3889, allocations: 27.98 kB / 0.7706 GB, free: 132 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.389, allocations: 40.84 kB / 0.7706 GB, free: 88 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.389, allocations: 4 kB / 0.7707 GB, free: 84 kB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001371/0.3891, allocations: 101.5 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3891, allocations: 7.938 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3892, allocations: 0 / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3892, allocations: 0 / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.3892, allocations: 4 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3892, allocations: 7.938 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.3893, allocations: 11.84 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3893, allocations: 0 / 0.7708 GB, free: 15.95 MB / 0.545 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 7.36e-05/0.3894, allocations: 120.2 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.3894, allocations: 7.938 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.3894, allocations: 11.52 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3894, allocations: 0 / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3894, allocations: 0 / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.3895, allocations: 81.09 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3895, allocations: 8 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.3895, allocations: 0 / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3895, allocations: 0 / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001098/0.3896, allocations: 204.1 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001429/0.3898, allocations: 294 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.037e-05/0.3898, allocations: 7.938 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.3899, allocations: 109 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Backend: time 3.11e-07/0.3899, allocations: 0 / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.3904, allocations: 178.7 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004323/0.3909, allocations: 0.5766 MB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Templates: time 0.002944/0.3938, allocations: 0.5967 MB / 0.7729 GB, free: 13.72 MB / 0.545 GB 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)