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.007696/0.007696, allocations: 104.1 kB / 15.74 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.001792/0.001792, allocations: 188 kB / 16.67 MB, free: 5.969 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.03 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1436, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002356/0.146, allocations: 1.236 MB / 0.6604 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1475, allocations: 0.8912 MB / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1475, allocations: 0 / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.1476, allocations: 0 / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1477, allocations: 39.88 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.1486, allocations: 239.5 kB / 0.6616 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.1487, allocations: 31.95 kB / 0.6616 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.1488, allocations: 0 / 0.6616 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.1488, allocations: 15.98 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.149, allocations: 55.88 kB / 0.6617 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.149, allocations: 0 / 0.6617 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1495, allocations: 283.6 kB / 0.6619 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.1495, allocations: 15.92 kB / 0.662 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1495, allocations: 19.81 kB / 0.662 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1499, allocations: 238.3 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1499, allocations: 0 / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.15, allocations: 0 / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.15, allocations: 4 kB / 0.6622 GB, free: 7.727 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.0004328/0.1504, allocations: 384 kB / 0.6626 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1505, allocations: 12.03 kB / 0.6626 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.1505, allocations: 34.75 kB / 0.6626 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.1505, allocations: 12.83 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1507, allocations: 172.2 kB / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1507, allocations: 4.125 kB / 0.6628 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1507, allocations: 0 / 0.6628 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1508, allocations: 53.69 kB / 0.6629 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1508, allocations: 4 kB / 0.6629 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1508, allocations: 4 kB / 0.6629 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.1509, allocations: 11.98 kB / 0.6629 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.1509, allocations: 27.98 kB / 0.6629 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1511, allocations: 177.5 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.1512, allocations: 58.5 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.1513, allocations: 40.88 kB / 0.6632 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.1513, allocations: 0 / 0.6632 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1513, allocations: 34.56 kB / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1513, allocations: 0 / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002049/0.1515, allocations: 137.6 kB / 0.6633 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.1515, allocations: 51.41 kB / 0.6634 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1517, allocations: 125.8 kB / 0.6635 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1517, allocations: 25.7 kB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.1517, allocations: 92.12 kB / 0.6636 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1518, allocations: 31.47 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1518, allocations: 21.73 kB / 0.6637 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1519, allocations: 322.8 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.152, allocations: 27.94 kB / 0.664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.152, allocations: 27.98 kB / 0.664 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.1521, allocations: 72.77 kB / 0.6641 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1521, allocations: 3.938 kB / 0.6641 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001107/0.1522, allocations: 101.5 kB / 0.6642 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1522, allocations: 5.875 kB / 0.6642 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1522, allocations: 4.062 kB / 0.6642 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1522, allocations: 0 / 0.6642 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.1522, allocations: 4 kB / 0.6642 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1522, allocations: 0 / 0.6642 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.1523, allocations: 0 / 0.6642 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1523, allocations: 4.375 kB / 0.6642 GB, free: 5.449 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.829e-05/0.1524, allocations: 122.6 kB / 0.6643 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1524, allocations: 7.906 kB / 0.6643 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.1524, allocations: 12.36 kB / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.1524, allocations: 19.94 kB / 0.6644 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1524, allocations: 0 / 0.6644 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1524, allocations: 0 / 0.6644 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1526, allocations: 177.5 kB / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1526, allocations: 0 / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.1526, allocations: 0 / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1526, allocations: 0 / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1526, allocations: 8 kB / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1526, allocations: 0 / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1526, allocations: 3.984 kB / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1528, allocations: 128.9 kB / 0.6647 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1528, allocations: 85.02 kB / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1528, allocations: 3.984 kB / 0.6647 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.1528, allocations: 3.984 kB / 0.6648 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1528, allocations: 0 / 0.6648 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1529, allocations: 4 kB / 0.6648 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.1529, allocations: 110.4 kB / 0.6649 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.443e-06/0.1529, allocations: 0 / 0.6649 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003094/0.1532, allocations: 75.97 kB / 0.6649 GB, free: 4.602 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.0005932/0.1538, allocations: 0.7332 MB / 0.6657 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.154, allocations: 67.97 kB / 0.6657 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.154, allocations: 3.938 kB / 0.6657 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.154, allocations: 36.09 kB / 0.6658 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1542, allocations: 0 / 0.6658 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.1547, allocations: 262.1 kB / 0.666 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.155, allocations: 0.6924 MB / 0.6667 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.155, allocations: 8.062 kB / 0.6667 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.1551, allocations: 23.42 kB / 0.6667 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1551, allocations: 0 / 0.6667 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.1759, allocations: 2.829 MB / 0.6695 GB, free: 56 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/7.387, allocations: 8.156 kB / 0.6695 GB, free: 52 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)