Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005376/0.005376, allocations: 104.5 kB / 15.73 MB, free: 6.047 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.001423/0.001423, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7687/0.7687, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.34 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.138, allocations: 80.2 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002041/0.1401, allocations: 1.247 MB / 0.6604 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1414, allocations: 0.8854 MB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.1415, allocations: 0 / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1415, allocations: 0 / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1416, allocations: 27.95 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.1424, allocations: 251.4 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.1425, allocations: 27.95 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1425, allocations: 0 / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.1425, allocations: 19.97 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1427, allocations: 51.95 kB / 0.6617 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1427, allocations: 0 / 0.6617 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.1431, allocations: 283.5 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.1431, allocations: 19.92 kB / 0.662 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.1432, allocations: 15.88 kB / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1435, allocations: 242.3 kB / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1435, allocations: 0 / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1435, allocations: 0 / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1435, allocations: 0 / 0.6622 GB, free: 7.676 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.0003719/0.1439, allocations: 388 kB / 0.6626 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1439, allocations: 12.03 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.1439, allocations: 30.75 kB / 0.6626 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.144, allocations: 12.83 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1441, allocations: 174.8 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1441, allocations: 8.109 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1441, allocations: 7.875 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.1442, allocations: 49.69 kB / 0.6629 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1442, allocations: 0 / 0.6629 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.1443, allocations: 8 kB / 0.6629 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.1443, allocations: 11.98 kB / 0.6629 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.1443, allocations: 27.98 kB / 0.6629 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1445, allocations: 173.6 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.1446, allocations: 66.52 kB / 0.6631 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.1446, allocations: 36.88 kB / 0.6632 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.1447, allocations: 4 kB / 0.6632 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1447, allocations: 34.56 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1447, allocations: 0 / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001963/0.1449, allocations: 129.6 kB / 0.6633 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1449, allocations: 55.41 kB / 0.6634 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.145, allocations: 121.8 kB / 0.6635 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1451, allocations: 25.7 kB / 0.6635 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.1451, allocations: 96.12 kB / 0.6636 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1451, allocations: 27.47 kB / 0.6636 GB, free: 6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1452, allocations: 25.73 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1453, allocations: 318.8 kB / 0.664 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.1453, allocations: 27.92 kB / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.1454, allocations: 27.98 kB / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.1454, allocations: 81.08 kB / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1454, allocations: 3.938 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.1455, allocations: 97.58 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1456, allocations: 4 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1456, allocations: 0 / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1456, allocations: 4.062 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1456, allocations: 4 kB / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1456, allocations: 0 / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.1456, allocations: 3.938 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1456, allocations: 4 kB / 0.6642 GB, free: 5.387 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 7.378e-05/0.1457, allocations: 126.6 kB / 0.6643 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1457, allocations: 7.906 kB / 0.6643 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.1458, allocations: 8.359 kB / 0.6643 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.1458, allocations: 12 kB / 0.6644 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1458, allocations: 4 kB / 0.6644 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1458, allocations: 0 / 0.6644 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1459, allocations: 181.5 kB / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1459, allocations: 0 / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.146, allocations: 4 kB / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.146, allocations: 0 / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.146, allocations: 4 kB / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.146, allocations: 0 / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.146, allocations: 0 / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.1461, allocations: 132.9 kB / 0.6647 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1462, allocations: 85.02 kB / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.1462, allocations: 0 / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.1462, allocations: 0 / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.1462, allocations: 0 / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1462, allocations: 4 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.1463, allocations: 107.2 kB / 0.6649 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.413e-06/0.1463, allocations: 0 / 0.6649 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002805/0.1466, allocations: 75.94 kB / 0.6649 GB, free: 4.547 MB / 0.4981 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.0005537/0.1471, allocations: 0.7372 MB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1472, allocations: 63.98 kB / 0.6657 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1472, allocations: 0 / 0.6657 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.1473, allocations: 39.92 kB / 0.6657 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1474, allocations: 6.125 kB / 0.6658 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.1479, allocations: 259.7 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1482, allocations: 0.6924 MB / 0.6667 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.1482, allocations: 4 kB / 0.6667 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.1482, allocations: 27.42 kB / 0.6667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1482, allocations: 0 / 0.6667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.1664, allocations: 2.82 MB / 0.6695 GB, free: 8 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.35, allocations: 8.281 kB / 0.6695 GB, free: 4 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)