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.006609/0.006609, allocations: 105.8 kB / 15.74 MB, free: 5.578 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.001473/0.001473, allocations: 188.5 kB / 16.67 MB, free: 5.52 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7557/0.7557, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.2 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 80.93 MB / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002163/0.1518, allocations: 1.242 MB / 0.6659 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1532, allocations: 0.8854 MB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.1532, allocations: 0 / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.1532, allocations: 3.938 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1533, allocations: 31.94 kB / 0.6668 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.1541, allocations: 243.4 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.1542, allocations: 23.97 kB / 0.6671 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.1542, allocations: 11.98 kB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.1543, allocations: 11.98 kB / 0.6671 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1544, allocations: 51.94 kB / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.1544, allocations: 0 / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.1548, allocations: 279.6 kB / 0.6674 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.1549, allocations: 23.91 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.1549, allocations: 15.86 kB / 0.6674 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1552, allocations: 243.4 kB / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1552, allocations: 0 / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1552, allocations: 0 / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1552, allocations: 0 / 0.6677 GB, free: 2.695 MB / 0.4981 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.0003556/0.1556, allocations: 391.2 kB / 0.668 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1556, allocations: 8.031 kB / 0.668 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1557, allocations: 12.84 kB / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1558, allocations: 168.3 kB / 0.6682 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1558, allocations: 384 / 0.6682 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1558, allocations: 7.922 kB / 0.6682 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1559, allocations: 53.62 kB / 0.6683 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1559, allocations: 0 / 0.6683 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.1559, allocations: 4 kB / 0.6683 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.156, allocations: 8 kB / 0.6683 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.156, allocations: 31.98 kB / 0.6683 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.1562, allocations: 177.6 kB / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.295e-05/0.1563, allocations: 54.69 kB / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.1563, allocations: 44.83 kB / 0.6686 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.1564, allocations: 0 / 0.6686 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1564, allocations: 30.56 kB / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.1564, allocations: 0 / 0.6686 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001908/0.1566, allocations: 133.8 kB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1566, allocations: 59.34 kB / 0.6688 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.1567, allocations: 125.8 kB / 0.6689 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1567, allocations: 25.7 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.1568, allocations: 96.12 kB / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1568, allocations: 27.55 kB / 0.6691 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1569, allocations: 17.72 kB / 0.6691 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.157, allocations: 322.8 kB / 0.6694 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.157, allocations: 35.95 kB / 0.6694 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.157, allocations: 31.98 kB / 0.6694 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.1571, allocations: 68.83 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1571, allocations: 3.938 kB / 0.6695 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001038/0.1572, allocations: 101.5 kB / 0.6696 GB, free: 484 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1573, allocations: 4 kB / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1573, allocations: 0 / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1573, allocations: 0 / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1573, allocations: 4 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1573, allocations: 64 / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.1573, allocations: 7.906 kB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1573, allocations: 4 kB / 0.6696 GB, free: 464 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/0.1574, allocations: 121.8 kB / 0.6697 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1574, allocations: 7.906 kB / 0.6698 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.1574, allocations: 8.312 kB / 0.6698 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.1575, allocations: 15.98 kB / 0.6698 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1575, allocations: 0 / 0.6698 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1575, allocations: 96 / 0.6698 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1576, allocations: 185.5 kB / 0.67 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1576, allocations: 4 kB / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1576, allocations: 0 / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1576, allocations: 0 / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1576, allocations: 4 kB / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1577, allocations: 0 / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1577, allocations: 0 / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1578, allocations: 124.9 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.1579, allocations: 85.02 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1579, allocations: 8.016 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.1579, allocations: 0 / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.1579, allocations: 3.984 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1579, allocations: 4 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.158, allocations: 103.6 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.563e-06/0.158, allocations: 0 / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002786/0.1583, allocations: 83.91 kB / 0.6704 GB, free: 15.61 MB / 0.5137 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.0002851/0.1586, allocations: 164.5 kB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1587, allocations: 71.97 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1587, allocations: 0 / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.1587, allocations: 35.94 kB / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1589, allocations: 11.92 kB / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.1592, allocations: 195.8 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1594, allocations: 0.6963 MB / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.1595, allocations: 11.62 kB / 0.6715 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.1595, allocations: 11.44 kB / 0.6715 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1595, allocations: 0 / 0.6715 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.003715/0.1632, allocations: 1.477 MB / 0.673 GB, free: 12.93 MB / 0.5137 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)