Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001027/0.001027, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001148/0.001148, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9178/0.9178, allocations: 135.3 MB / 426.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 8 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1651, allocations: 82.32 MB / 0.5874 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001491/0.1666, allocations: 0.9535 MB / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1681, allocations: 0.8291 MB / 0.5892 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.1682, allocations: 8 kB / 0.5892 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.1682, allocations: 0 / 0.5892 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1684, allocations: 31.97 kB / 0.5892 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.1691, allocations: 183.6 kB / 0.5894 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.1692, allocations: 23.95 kB / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.1693, allocations: 0 / 0.5894 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.1693, allocations: 15.98 kB / 0.5894 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1695, allocations: 51.94 kB / 0.5895 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1695, allocations: 3.938 kB / 0.5895 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.1699, allocations: 235.6 kB / 0.5897 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.1699, allocations: 19.97 kB / 0.5897 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.17, allocations: 33.64 kB / 0.5897 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1702, allocations: 152 kB / 0.5899 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1703, allocations: 0 / 0.5899 GB, free: 440 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1703, allocations: 4 kB / 0.5899 GB, free: 436 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1703, allocations: 4 kB / 0.5899 GB, free: 432 kB / 494.1 MB 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.0004388/0.1707, allocations: 379.1 kB / 0.5903 GB, free: 4 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.1708, allocations: 8.078 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.1708, allocations: 7.906 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.171, allocations: 171 kB / 0.5904 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.171, allocations: 0 / 0.5904 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.171, allocations: 0 / 0.5904 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1711, allocations: 61.58 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1712, allocations: 4 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1712, allocations: 0 / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.1712, allocations: 11.98 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.1713, allocations: 31.98 kB / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.1715, allocations: 185.5 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.348e-05/0.1716, allocations: 46.61 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.1716, allocations: 40.88 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1717, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1717, allocations: 42.5 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1717, allocations: 0 / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002476/0.1719, allocations: 133.5 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.172, allocations: 51.41 kB / 0.591 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1721, allocations: 130.9 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1721, allocations: 29.7 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.1722, allocations: 84.14 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.1722, allocations: 35.53 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.1722, allocations: 4.031 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1724, allocations: 326.8 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1724, allocations: 24 kB / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.1724, allocations: 27.98 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.1725, allocations: 31.98 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1725, allocations: 0 / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.1726, allocations: 101.5 kB / 0.5918 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1727, allocations: 4 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1727, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1727, allocations: 4.062 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1727, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1727, allocations: 3.984 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1727, allocations: 4 kB / 0.5918 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1727, allocations: 3.984 kB / 0.5918 GB, free: 14.26 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.087e-05/0.1728, allocations: 121.8 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.1729, allocations: 7.891 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.1729, allocations: 12.38 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.1729, allocations: 8 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1729, allocations: 8.359 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1729, allocations: 4 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1731, allocations: 177.5 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1731, allocations: 0 / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.1731, allocations: 7.922 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1731, allocations: 0 / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1731, allocations: 3.984 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1731, allocations: 3.938 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1731, allocations: 0 / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1733, allocations: 125 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.1733, allocations: 85 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1733, allocations: 7.938 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.1733, allocations: 0 / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1734, allocations: 0 / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1734, allocations: 4 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.1735, allocations: 110.9 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1735, allocations: 0 / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000312/0.1738, allocations: 63.98 kB / 0.5925 GB, free: 13.43 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003196/0.1741, allocations: 171.2 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1742, allocations: 63.97 kB / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1742, allocations: 0 / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.1743, allocations: 35.98 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1744, allocations: 7.938 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.1748, allocations: 209.4 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.175, allocations: 0.6965 MB / 0.5937 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1751, allocations: 15.81 kB / 0.5937 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.1751, allocations: 11.44 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1751, allocations: 0 / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.004161/0.1793, allocations: 1.452 MB / 0.5951 GB, free: 10.75 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)