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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7155/0.7155, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 404.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 99.69 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009834/0.0009835, allocations: 55.91 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1279, allocations: 80.44 MB / 0.6422 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002466/0.1304, allocations: 1.3 MB / 0.6435 GB, free: 4.078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.132, allocations: 0.9179 MB / 0.6443 GB, free: 3.156 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.132, allocations: 0 / 0.6443 GB, free: 3.156 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.963e-05/0.1321, allocations: 0 / 0.6443 GB, free: 3.156 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.1322, allocations: 27.95 kB / 0.6444 GB, free: 3.129 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1329, allocations: 193.6 kB / 0.6446 GB, free: 2.941 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.133, allocations: 39.95 kB / 0.6446 GB, free: 2.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1331, allocations: 11.92 kB / 0.6446 GB, free: 2.891 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.1331, allocations: 15.94 kB / 0.6446 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1333, allocations: 51.92 kB / 0.6447 GB, free: 2.824 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1333, allocations: 0 / 0.6447 GB, free: 2.824 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.1337, allocations: 279.6 kB / 0.6449 GB, free: 2.551 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.1338, allocations: 19.92 kB / 0.645 GB, free: 2.531 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.1338, allocations: 15.88 kB / 0.645 GB, free: 2.516 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1342, allocations: 247.7 kB / 0.6452 GB, free: 2.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1342, allocations: 0 / 0.6452 GB, free: 2.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1342, allocations: 3.938 kB / 0.6452 GB, free: 2.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1342, allocations: 0 / 0.6452 GB, free: 2.27 MB / 442.7 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.000414/0.1346, allocations: 387.2 kB / 0.6456 GB, free: 1.844 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1347, allocations: 12.03 kB / 0.6456 GB, free: 1.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1347, allocations: 4.844 kB / 0.6456 GB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1348, allocations: 180.2 kB / 0.6458 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1349, allocations: 384 / 0.6458 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1349, allocations: 12.12 kB / 0.6458 GB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.135, allocations: 57.62 kB / 0.6458 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.135, allocations: 0 / 0.6458 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.135, allocations: 0 / 0.6458 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.135, allocations: 12 kB / 0.6459 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.1351, allocations: 27.92 kB / 0.6459 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1353, allocations: 177.6 kB / 0.646 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.1354, allocations: 50.56 kB / 0.6461 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.1354, allocations: 40.83 kB / 0.6461 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.1354, allocations: 3.984 kB / 0.6461 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1355, allocations: 34.56 kB / 0.6462 GB, free: 1.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1355, allocations: 0 / 0.6462 GB, free: 1.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.000202/0.1357, allocations: 133.7 kB / 0.6463 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1357, allocations: 51.41 kB / 0.6463 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1358, allocations: 129.8 kB / 0.6465 GB, free: 0.793 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1358, allocations: 25.7 kB / 0.6465 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1359, allocations: 92.17 kB / 0.6466 GB, free: 0.668 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1359, allocations: 31.55 kB / 0.6466 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.136, allocations: 17.7 kB / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1361, allocations: 318.8 kB / 0.6469 GB, free: 300 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.1362, allocations: 31.98 kB / 0.647 GB, free: 268 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.1362, allocations: 28.2 kB / 0.647 GB, free: 240 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.631e-05/0.1363, allocations: 72.86 kB / 0.6471 GB, free: 164 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1363, allocations: 4 kB / 0.6471 GB, free: 160 kB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001152/0.1364, allocations: 109.5 kB / 0.6472 GB, free: 44 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1364, allocations: 5.25 kB / 0.6472 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1364, allocations: 0 / 0.6472 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1364, allocations: 0 / 0.6472 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.1365, allocations: 3.984 kB / 0.6472 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1365, allocations: 0 / 0.6472 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.885e-05/0.1365, allocations: 7.906 kB / 0.6472 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1365, allocations: 0 / 0.6472 GB, free: 28 kB / 442.7 MB 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.529e-05/0.1366, allocations: 121.8 kB / 0.6473 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1366, allocations: 7.969 kB / 0.6473 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.1366, allocations: 16.31 kB / 0.6473 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.1367, allocations: 11.98 kB / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1367, allocations: 4 kB / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1367, allocations: 0 / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1368, allocations: 177.5 kB / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1368, allocations: 0 / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.1369, allocations: 0 / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1369, allocations: 0 / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1369, allocations: 0 / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1369, allocations: 0 / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1369, allocations: 8 kB / 0.6475 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1373, allocations: 0.7136 MB / 0.6482 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.1373, allocations: 92.94 kB / 0.6483 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.1373, allocations: 0 / 0.6483 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.1374, allocations: 3.984 kB / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1374, allocations: 0 / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.1374, allocations: 8.031 kB / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.1375, allocations: 107.6 kB / 0.6484 GB, free: 14.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1375, allocations: 0 / 0.6484 GB, free: 14.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.1379, allocations: 71.98 kB / 0.6485 GB, free: 14.55 MB / 458.7 MB 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.0002965/0.1382, allocations: 163.2 kB / 0.6486 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1383, allocations: 67.97 kB / 0.6487 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1383, allocations: 0 / 0.6487 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.1383, allocations: 40 kB / 0.6487 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1385, allocations: 5.297 kB / 0.6487 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1389, allocations: 342.7 kB / 0.6491 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1391, allocations: 0.7005 MB / 0.6498 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.629e-05/0.1392, allocations: 7.984 kB / 0.6498 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.1392, allocations: 11.44 kB / 0.6498 GB, free: 13.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1392, allocations: 0 / 0.6498 GB, free: 13.16 MB / 458.7 MB Notification: Performance of Templates: time 0.003488/0.1427, allocations: 1.463 MB / 0.6512 GB, free: 11.74 MB / 458.7 MB 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)