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.005429/0.005429, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001254/0.001254, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 292.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9124/0.9124, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 95.84 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3873, allocations: 86.98 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002005/0.3894, allocations: 1.284 MB / 0.7677 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.3901, allocations: 444.8 kB / 0.7681 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.3901, allocations: 0 / 0.7681 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.733e-05/0.3902, allocations: 7.984 kB / 0.7681 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.3902, allocations: 7.922 kB / 0.7681 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3905, allocations: 35.84 kB / 0.7681 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.3905, allocations: 23.91 kB / 0.7682 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.3906, allocations: 0 / 0.7682 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.3906, allocations: 15.98 kB / 0.7682 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.3907, allocations: 11.92 kB / 0.7682 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.3907, allocations: 0 / 0.7682 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3908, allocations: 43.89 kB / 0.7682 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.3909, allocations: 11.98 kB / 0.7683 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.3909, allocations: 19.88 kB / 0.7683 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.391, allocations: 55.53 kB / 0.7683 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.391, allocations: 4 kB / 0.7683 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.391, allocations: 0 / 0.7683 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3911, allocations: 4 kB / 0.7683 GB, free: 1.961 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.0003156/0.3914, allocations: 349.9 kB / 0.7687 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3914, allocations: 12.02 kB / 0.7687 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.3915, allocations: 4.844 kB / 0.7687 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3916, allocations: 172.3 kB / 0.7688 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.3916, allocations: 384 / 0.7688 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.3916, allocations: 8.375 kB / 0.7689 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.3917, allocations: 47.72 kB / 0.7689 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3917, allocations: 3.938 kB / 0.7689 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3917, allocations: 4 kB / 0.7689 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3917, allocations: 0 / 0.7689 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.3918, allocations: 4 kB / 0.7689 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.3919, allocations: 178.5 kB / 0.7691 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.392, allocations: 41.03 kB / 0.7691 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.392, allocations: 17.84 kB / 0.7691 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.392, allocations: 0 / 0.7691 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3921, allocations: 50.48 kB / 0.7692 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3921, allocations: 0 / 0.7692 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.3922, allocations: 41.64 kB / 0.7692 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.3922, allocations: 81.09 kB / 0.7693 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3923, allocations: 145 kB / 0.7694 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3924, allocations: 25.7 kB / 0.7695 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.3924, allocations: 84.14 kB / 0.7695 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.3924, allocations: 11.84 kB / 0.7696 GB, free: 496 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3925, allocations: 29.95 kB / 0.7696 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.3926, allocations: 318.8 kB / 0.7699 GB, free: 132 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.3926, allocations: 20 kB / 0.7699 GB, free: 112 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.3926, allocations: 39.91 kB / 0.7699 GB, free: 72 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.3927, allocations: 40.84 kB / 0.77 GB, free: 28 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3927, allocations: 0 / 0.77 GB, free: 28 kB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001301/0.3928, allocations: 97.66 kB / 0.7701 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3929, allocations: 7.938 kB / 0.7701 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3929, allocations: 4 kB / 0.7701 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.3929, allocations: 7.938 kB / 0.7701 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.683e-05/0.393, allocations: 0 / 0.7701 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.393, allocations: 7.984 kB / 0.7701 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.393, allocations: 7.844 kB / 0.7701 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.393, allocations: 0 / 0.7701 GB, free: 15.89 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 6.881e-05/0.3931, allocations: 124.2 kB / 0.7702 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.3931, allocations: 7.844 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.3931, allocations: 7.516 kB / 0.7702 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3931, allocations: 0 / 0.7702 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3931, allocations: 8 kB / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3931, allocations: 0 / 0.7703 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/0.3932, allocations: 157.7 kB / 0.7704 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3933, allocations: 0 / 0.7704 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.3933, allocations: 4 kB / 0.7704 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3933, allocations: 3.938 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.3933, allocations: 0 / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3933, allocations: 0 / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3933, allocations: 0 / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.3934, allocations: 81.92 kB / 0.7705 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.3934, allocations: 88.95 kB / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.3934, allocations: 0 / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.3935, allocations: 0 / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3935, allocations: 7.922 kB / 0.7706 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.3935, allocations: 4 kB / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.3936, allocations: 97.14 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3936, allocations: 4.031 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002055/0.3938, allocations: 20 kB / 0.7707 GB, free: 15.19 MB / 0.545 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.0001496/0.3939, allocations: 115.8 kB / 0.7708 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.3941, allocations: 81.67 kB / 0.7709 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3941, allocations: 0 / 0.7709 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.3941, allocations: 7.938 kB / 0.7709 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.3943, allocations: 12.22 kB / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.3945, allocations: 146.4 kB / 0.771 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3947, allocations: 0.6846 MB / 0.7717 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.3948, allocations: 7.938 kB / 0.7717 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.3948, allocations: 7.438 kB / 0.7717 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3948, allocations: 0 / 0.7717 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002397/0.3972, allocations: 0.5677 MB / 0.7723 GB, free: 13.55 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)