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.001444/0.001444, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7202/0.7202, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.538/1.538, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.0008872/0.0008871, allocations: 113.5 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.571e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 82.31 MB / 0.6405 GB, free: 7.777 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6541/0.8235, allocations: 113.4 MB / 0.7512 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.8238, allocations: 104.1 kB / 0.7513 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.8347, allocations: 3.823 MB / 0.755 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.548e-06/0.8347, allocations: 0 / 0.755 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.8348, allocations: 7.656 kB / 0.755 GB, free: 27.32 MB / 0.5105 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.0004917/0.8353, allocations: 382.1 kB / 0.7554 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.8353, allocations: 11.53 kB / 0.7554 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.8354, allocations: 3.906 kB / 0.7554 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.8356, allocations: 170.6 kB / 0.7556 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8356, allocations: 11.19 kB / 0.7556 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.8356, allocations: 0 / 0.7556 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.8358, allocations: 65.81 kB / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8358, allocations: 0 / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8358, allocations: 0 / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.8359, allocations: 3.844 kB / 0.7557 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.8359, allocations: 34.52 kB / 0.7557 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.8362, allocations: 191.8 kB / 0.7559 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/0.8362, allocations: 60.64 kB / 0.7559 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.8363, allocations: 43.28 kB / 0.756 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.8363, allocations: 192 / 0.756 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.8363, allocations: 46.19 kB / 0.756 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.8364, allocations: 0 / 0.756 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002424/0.8366, allocations: 111.1 kB / 0.7561 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.8367, allocations: 51.41 kB / 0.7562 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.8368, allocations: 125 kB / 0.7563 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.8368, allocations: 29.73 kB / 0.7563 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.8369, allocations: 95.62 kB / 0.7564 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.8369, allocations: 26.84 kB / 0.7564 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.8369, allocations: 0 / 0.7564 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8371, allocations: 318.5 kB / 0.7567 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.8372, allocations: 34.7 kB / 0.7568 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.8372, allocations: 34.59 kB / 0.7568 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.8373, allocations: 38.36 kB / 0.7568 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.8373, allocations: 3.984 kB / 0.7568 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001262/0.8374, allocations: 118.3 kB / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8374, allocations: 3.688 kB / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.8375, allocations: 0 / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.8375, allocations: 0 / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.8375, allocations: 3.984 kB / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8375, allocations: 0 / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.8375, allocations: 3.844 kB / 0.757 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.8375, allocations: 3.969 kB / 0.757 GB, free: 25.64 MB / 0.5105 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 7.436e-05/0.8376, allocations: 104.9 kB / 0.7571 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.8376, allocations: 15.86 kB / 0.7571 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.8377, allocations: 8.469 kB / 0.7571 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.8377, allocations: 7.797 kB / 0.7571 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8377, allocations: 0 / 0.7571 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8377, allocations: 0 / 0.7571 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.8379, allocations: 186.4 kB / 0.7573 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.8379, allocations: 0 / 0.7573 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.8379, allocations: 3.953 kB / 0.7573 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8379, allocations: 0 / 0.7573 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.8379, allocations: 0 / 0.7573 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8379, allocations: 0 / 0.7573 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8379, allocations: 4 kB / 0.7573 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.838, allocations: 137.6 kB / 0.7574 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.8381, allocations: 85 kB / 0.7575 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.8381, allocations: 15.25 kB / 0.7575 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/0.8381, allocations: 0 / 0.7575 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.8382, allocations: 0 / 0.7575 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.8382, allocations: 3.844 kB / 0.7575 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.8382, allocations: 106.8 kB / 0.7576 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8382, allocations: 0 / 0.7576 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003174/0.8386, allocations: 80.14 kB / 0.7577 GB, free: 25.01 MB / 0.5105 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.0002955/0.8389, allocations: 183.6 kB / 0.7579 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.839, allocations: 59.39 kB / 0.7579 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.839, allocations: 0 / 0.7579 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.839, allocations: 40.48 kB / 0.758 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.8391, allocations: 128 / 0.758 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.8394, allocations: 141.8 kB / 0.7581 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.8397, allocations: 0.7005 MB / 0.7588 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.8397, allocations: 17.89 kB / 0.7588 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.8397, allocations: 7.438 kB / 0.7588 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.8398, allocations: 7.781 kB / 0.7588 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.00349/0.8432, allocations: 1.441 MB / 0.7602 GB, free: 23.36 MB / 0.5105 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)