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.004554/0.004554, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001069/0.001069, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 275.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001716, allocations: 99.84 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 86.97 MB / 0.7664 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002101/0.1441, allocations: 1.237 MB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1455, allocations: 0.8856 MB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.1455, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.1456, allocations: 7.938 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1457, allocations: 23.97 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.1464, allocations: 247.5 kB / 0.7688 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.1465, allocations: 27.95 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.1466, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.1466, allocations: 19.97 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1467, allocations: 55.83 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1467, allocations: 0 / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1472, allocations: 283.6 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1472, allocations: 23.86 kB / 0.7692 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.1472, allocations: 15.88 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1476, allocations: 239.5 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1476, allocations: 0 / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1476, allocations: 0 / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1476, allocations: 0 / 0.7694 GB, free: 5.316 MB / 0.5606 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.0003517/0.148, allocations: 391.1 kB / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.148, allocations: 12.03 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.148, allocations: 8.828 kB / 0.7698 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1481, allocations: 184.2 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1482, allocations: 384 / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1482, allocations: 4.375 kB / 0.77 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1483, allocations: 58 kB / 0.77 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.1483, allocations: 0 / 0.77 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.1483, allocations: 0 / 0.77 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.1483, allocations: 19.97 kB / 0.77 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.1484, allocations: 27.98 kB / 0.7701 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.1486, allocations: 169.6 kB / 0.7702 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.1486, allocations: 58.59 kB / 0.7703 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.1487, allocations: 36.88 kB / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1487, allocations: 0 / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1487, allocations: 38.5 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1487, allocations: 0 / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0001877/0.1489, allocations: 133.6 kB / 0.7705 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.149, allocations: 51.41 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.1491, allocations: 129.9 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1491, allocations: 25.7 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.1491, allocations: 92.41 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.1492, allocations: 27.56 kB / 0.7708 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1492, allocations: 17.7 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.1493, allocations: 322.8 kB / 0.7711 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.1493, allocations: 27.98 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.1493, allocations: 27.98 kB / 0.7712 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.1494, allocations: 76.8 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1494, allocations: 7.938 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.9e-05/0.1495, allocations: 93.58 kB / 0.7714 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1496, allocations: 14.22 kB / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1496, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1496, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1496, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1496, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.1496, allocations: 8 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1496, allocations: 0 / 0.7714 GB, free: 3.074 MB / 0.5606 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.383e-05/0.1497, allocations: 130.5 kB / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1497, allocations: 7.844 kB / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.1497, allocations: 16.36 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.1498, allocations: 8 kB / 0.7715 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1498, allocations: 4 kB / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1498, allocations: 0 / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1499, allocations: 177.5 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1499, allocations: 0 / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1499, allocations: 0 / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1499, allocations: 3.938 kB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1499, allocations: 4 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1499, allocations: 96 / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.15, allocations: 7.938 kB / 0.7717 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1501, allocations: 124.9 kB / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.1501, allocations: 85.05 kB / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1501, allocations: 0 / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1502, allocations: 0 / 0.7719 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.1502, allocations: 8.031 kB / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1502, allocations: 4 kB / 0.7719 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.1502, allocations: 103.2 kB / 0.772 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 0.772 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002926/0.1505, allocations: 64 kB / 0.7721 GB, free: 2.246 MB / 0.5606 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.0002844/0.1508, allocations: 183.1 kB / 0.7723 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1509, allocations: 67.92 kB / 0.7723 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.151, allocations: 0 / 0.7723 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.151, allocations: 40.05 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1511, allocations: 3.062 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1515, allocations: 200.5 kB / 0.7726 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1517, allocations: 0.6924 MB / 0.7732 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.1517, allocations: 13.45 kB / 0.7732 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.1518, allocations: 11.44 kB / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1518, allocations: 0 / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of Templates: time 0.2886/0.4404, allocations: 1.463 MB / 0.7747 GB, free: 15.17 MB / 0.5606 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)