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.001458/0.001458, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7286/0.7286, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008546, allocations: 97.94 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.328e-05, allocations: 4 kB / 0.5535 GB, free: 9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5105, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.67, allocations: 112.7 MB / 0.744 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.6703, allocations: 107.9 kB / 0.7441 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.6822, allocations: 3.805 MB / 0.7478 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6823, allocations: 0 / 0.7478 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.6823, allocations: 0 / 0.7478 GB, free: 6.117 MB / 0.5261 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.0005074/0.6828, allocations: 386.2 kB / 0.7481 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.074e-05/0.6829, allocations: 8.031 kB / 0.7482 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.6829, allocations: 7.906 kB / 0.7482 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.6831, allocations: 182.9 kB / 0.7483 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6831, allocations: 0 / 0.7483 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.6832, allocations: 0 / 0.7483 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.6833, allocations: 31.98 kB / 0.7484 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.6834, allocations: 73.61 kB / 0.7484 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6834, allocations: 0 / 0.7484 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6835, allocations: 0 / 0.7484 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.6835, allocations: 4 kB / 0.7484 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.6838, allocations: 166 kB / 0.7486 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.914e-05/0.6838, allocations: 54.52 kB / 0.7487 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.6839, allocations: 48.86 kB / 0.7487 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.6839, allocations: 4 kB / 0.7487 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.684, allocations: 30.56 kB / 0.7487 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.684, allocations: 0 / 0.7487 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002455/0.6842, allocations: 113.7 kB / 0.7488 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6843, allocations: 51.41 kB / 0.7489 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.6844, allocations: 124.9 kB / 0.749 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.6844, allocations: 25.7 kB / 0.749 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.6845, allocations: 88.14 kB / 0.7491 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.6845, allocations: 35.58 kB / 0.7492 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-06/0.6845, allocations: 0 / 0.7492 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6847, allocations: 322.8 kB / 0.7495 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.6847, allocations: 27.98 kB / 0.7495 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.6848, allocations: 31.98 kB / 0.7495 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.6848, allocations: 39.97 kB / 0.7496 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6848, allocations: 0 / 0.7496 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/0.685, allocations: 121.5 kB / 0.7497 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.685, allocations: 8.781 kB / 0.7497 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.685, allocations: 4.062 kB / 0.7497 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6851, allocations: 0 / 0.7497 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.6851, allocations: 0 / 0.7497 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6851, allocations: 0 / 0.7497 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.6851, allocations: 0 / 0.7497 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.6851, allocations: 7.984 kB / 0.7497 GB, free: 3.961 MB / 0.5261 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 () * 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 8.173e-05/0.6852, allocations: 106.7 kB / 0.7498 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.6852, allocations: 7.859 kB / 0.7498 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.6853, allocations: 8.625 kB / 0.7498 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.6853, allocations: 4 kB / 0.7498 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6853, allocations: 4 kB / 0.7498 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6853, allocations: 4 kB / 0.7498 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.6855, allocations: 158.1 kB / 0.75 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6855, allocations: 0 / 0.75 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-06/0.6855, allocations: 4 kB / 0.75 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.6855, allocations: 0 / 0.75 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.6855, allocations: 0 / 0.75 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6855, allocations: 7.891 kB / 0.75 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6855, allocations: 0 / 0.75 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.6857, allocations: 137.1 kB / 0.7501 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.6858, allocations: 81.02 kB / 0.7502 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.6858, allocations: 7.938 kB / 0.7502 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.6858, allocations: 0 / 0.7502 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.6858, allocations: 3.953 kB / 0.7502 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.6858, allocations: 8 kB / 0.7502 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.6859, allocations: 99.27 kB / 0.7503 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6859, allocations: 0 / 0.7503 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003363/0.6863, allocations: 83.91 kB / 0.7504 GB, free: 3.176 MB / 0.5261 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 () * 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.0003673/0.6866, allocations: 187 kB / 0.7506 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.6868, allocations: 67.97 kB / 0.7506 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6868, allocations: 3.938 kB / 0.7506 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.6868, allocations: 32 kB / 0.7507 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.687, allocations: 0.875 kB / 0.7507 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.6873, allocations: 140.5 kB / 0.7508 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6877, allocations: 0.704 MB / 0.7515 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.238e-05/0.6877, allocations: 4 kB / 0.7515 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.6877, allocations: 19.38 kB / 0.7515 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6877, allocations: 0 / 0.7515 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of Templates: time 0.004131/0.6919, allocations: 1.434 MB / 0.7529 GB, free: 0.5703 MB / 0.5261 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)