Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.00154/0.00154, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 289.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9754/0.9754, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 91.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5347, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002151/0.5369, allocations: 1.245 MB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.5383, allocations: 0.8908 MB / 0.7692 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.5383, allocations: 3.938 kB / 0.7692 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.5383, allocations: 0 / 0.7692 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.5385, allocations: 31.94 kB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.5392, allocations: 235.5 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.5393, allocations: 27.97 kB / 0.7695 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.5394, allocations: 11.94 kB / 0.7695 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.5394, allocations: 23.91 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.5396, allocations: 43.94 kB / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.5396, allocations: 0 / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.54, allocations: 287.6 kB / 0.7698 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.54, allocations: 15.92 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.5401, allocations: 11.88 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.5404, allocations: 247.2 kB / 0.7701 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5404, allocations: 0 / 0.7701 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5404, allocations: 0 / 0.7701 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5404, allocations: 0 / 0.7701 GB, free: 0.8516 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003687/0.5408, allocations: 381.8 kB / 0.7704 GB, free: 444 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5408, allocations: 8.031 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.5409, allocations: 8.844 kB / 0.7705 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.541, allocations: 180.2 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.541, allocations: 384 / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.541, allocations: 4.312 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.5411, allocations: 62 kB / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5411, allocations: 0 / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.5412, allocations: 3.984 kB / 0.7707 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.5412, allocations: 8 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.5412, allocations: 27.98 kB / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.5414, allocations: 185.5 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.5415, allocations: 46.58 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.5416, allocations: 44.88 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.5416, allocations: 0 / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5416, allocations: 38.5 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.5416, allocations: 0 / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0001882/0.5418, allocations: 133.6 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.5418, allocations: 55.41 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.5419, allocations: 125.8 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.542, allocations: 29.7 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.542, allocations: 92.17 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.5421, allocations: 27.55 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.5421, allocations: 17.72 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.5422, allocations: 322.8 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.5422, allocations: 23.98 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.5423, allocations: 31.94 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.5423, allocations: 68.83 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5423, allocations: 3.984 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.687e-05/0.5424, allocations: 101.6 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5425, allocations: 7.938 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5425, allocations: 3.984 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5425, allocations: 4 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.5425, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5425, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.5425, allocations: 3.938 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.5426, allocations: 4 kB / 0.772 GB, free: 14.62 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 prepare postOptimizeDAE: time 7.493e-05/0.5426, allocations: 118.2 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.5426, allocations: 19.81 kB / 0.7722 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.5427, allocations: 4.375 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.5427, allocations: 15.98 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5427, allocations: 3.938 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5427, allocations: 0 / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.5428, allocations: 173.7 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5429, allocations: 0 / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.5429, allocations: 0 / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5429, allocations: 7.922 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.5429, allocations: 4 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5429, allocations: 0 / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5429, allocations: 4 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.543, allocations: 124.9 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.5431, allocations: 92.89 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.5431, allocations: 0 / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.5431, allocations: 0 / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.5431, allocations: 7.984 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.5431, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.5432, allocations: 103.3 kB / 0.7727 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5432, allocations: 0 / 0.7727 GB, free: 13.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002856/0.5435, allocations: 75.98 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003066/0.5438, allocations: 171.2 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.5439, allocations: 63.92 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5439, allocations: 4 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.5439, allocations: 35.98 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.5441, allocations: 6.375 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.5444, allocations: 219.9 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.5447, allocations: 0.6963 MB / 0.7739 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.5447, allocations: 15.38 kB / 0.7739 GB, free: 12.51 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5447, allocations: 0 / 0.7739 GB, free: 12.51 MB / 0.545 GB Notification: Performance of Templates: time 0.003438/0.5482, allocations: 1.516 MB / 0.7754 GB, free: 11 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)