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.001538/0.001538, allocations: 108.7 kB / 16.41 MB, free: 6.473 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.00158/0.001581, allocations: 187 kB / 17.34 MB, free: 5.754 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.821/0.821, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 62.31 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1854, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002538/0.188, allocations: 1.245 MB / 0.6666 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1895, allocations: 0.8893 MB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.1896, allocations: 11.94 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.1897, allocations: 0 / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.1898, allocations: 23.97 kB / 0.6675 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/0.1907, allocations: 239.4 kB / 0.6677 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.1908, allocations: 31.95 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1909, allocations: 0 / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.1909, allocations: 19.97 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1911, allocations: 47.95 kB / 0.6678 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1911, allocations: 0 / 0.6678 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1916, allocations: 287.5 kB / 0.6681 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.1917, allocations: 19.92 kB / 0.6681 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.1917, allocations: 15.88 kB / 0.6681 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.1921, allocations: 239.4 kB / 0.6683 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1921, allocations: 0 / 0.6683 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1921, allocations: 4 kB / 0.6683 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.1922, allocations: 0 / 0.6683 GB, free: 2.738 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.00046/0.1926, allocations: 387.2 kB / 0.6687 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1927, allocations: 12.03 kB / 0.6687 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1927, allocations: 8.828 kB / 0.6687 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1929, allocations: 172.3 kB / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1929, allocations: 384 / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1929, allocations: 7.938 kB / 0.6689 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.193, allocations: 57.62 kB / 0.6689 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.193, allocations: 4 kB / 0.6689 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.1931, allocations: 0 / 0.6689 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.1931, allocations: 15.98 kB / 0.669 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.1931, allocations: 27.97 kB / 0.669 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.1934, allocations: 173.6 kB / 0.6691 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.1934, allocations: 54.5 kB / 0.6692 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.1935, allocations: 40.88 kB / 0.6692 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.1935, allocations: 4 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1935, allocations: 38.69 kB / 0.6693 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1936, allocations: 0 / 0.6693 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002346/0.1938, allocations: 133.5 kB / 0.6694 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1938, allocations: 55.34 kB / 0.6695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.194, allocations: 125.8 kB / 0.6696 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.194, allocations: 25.7 kB / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.194, allocations: 96.12 kB / 0.6697 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.1941, allocations: 27.59 kB / 0.6697 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1941, allocations: 21.7 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1943, allocations: 318.8 kB / 0.67 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.1943, allocations: 27.92 kB / 0.6701 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.1943, allocations: 27.98 kB / 0.6701 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.513e-05/0.1944, allocations: 72.83 kB / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1944, allocations: 0 / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001228/0.1945, allocations: 109.4 kB / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1946, allocations: 4 kB / 0.6703 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1946, allocations: 4.062 kB / 0.6703 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1946, allocations: 0 / 0.6703 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1946, allocations: 0 / 0.6703 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1946, allocations: 4 kB / 0.6703 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.1946, allocations: 7.906 kB / 0.6703 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1947, allocations: 0 / 0.6703 GB, free: 0.4922 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/0.1948, allocations: 125.8 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1948, allocations: 4.281 kB / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.1948, allocations: 12.36 kB / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.1948, allocations: 16 kB / 0.6704 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1948, allocations: 0 / 0.6704 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1948, allocations: 3.938 kB / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.195, allocations: 181.5 kB / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.195, allocations: 0 / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.195, allocations: 3.938 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.195, allocations: 0 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.195, allocations: 0 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.195, allocations: 0 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.195, allocations: 4 kB / 0.6706 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1952, allocations: 128.9 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.1952, allocations: 85.02 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1953, allocations: 0 / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.1953, allocations: 0 / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1953, allocations: 3.938 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1953, allocations: 4 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.489e-05/0.1954, allocations: 103.2 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.633e-06/0.1954, allocations: 0 / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00033/0.1957, allocations: 79.97 kB / 0.671 GB, free: 15.66 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.0003591/0.1961, allocations: 168.5 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1962, allocations: 63.98 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1962, allocations: 0 / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.1963, allocations: 35.98 kB / 0.6713 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.1964, allocations: 5.812 kB / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.1968, allocations: 239.8 kB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1971, allocations: 0.6924 MB / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.1971, allocations: 11.44 kB / 0.6722 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1971, allocations: 0 / 0.6722 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.003541/0.2007, allocations: 1.52 MB / 0.6737 GB, free: 12.87 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)