Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.004427/0.004427, allocations: 97.62 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.00108/0.00108, allocations: 201.8 kB / 16.68 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9146/0.9146, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 55.91 kB / 0.5852 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3739, allocations: 80.92 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002029/0.376, allocations: 1.288 MB / 0.6655 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.3766, allocations: 449.6 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.3767, allocations: 0.8438 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.474e-05/0.3768, allocations: 0 / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.3768, allocations: 10.64 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3771, allocations: 30.09 kB / 0.6659 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.3771, allocations: 24.19 kB / 0.666 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.3772, allocations: 1.188 kB / 0.666 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.3772, allocations: 22.17 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.3773, allocations: 4.25 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.3773, allocations: 1.562 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3774, allocations: 53.34 kB / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.3775, allocations: 15.33 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.3775, allocations: 14.94 kB / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3776, allocations: 56.88 kB / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3776, allocations: 0 / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3776, allocations: 1.469 kB / 0.6661 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3776, allocations: 0 / 0.6661 GB, free: 5.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002916/0.3779, allocations: 359.6 kB / 0.6665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.378, allocations: 8.875 kB / 0.6665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2e-05/0.378, allocations: 31.75 kB / 0.6665 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.378, allocations: 6.016 kB / 0.6665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.3781, allocations: 164.5 kB / 0.6667 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3781, allocations: 5.344 kB / 0.6667 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.3782, allocations: 1.406 kB / 0.6667 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.528e-05/0.3783, allocations: 51.41 kB / 0.6667 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3783, allocations: 4 kB / 0.6667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.3783, allocations: 0 / 0.6667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3783, allocations: 4.875 kB / 0.6667 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.3783, allocations: 4.625 kB / 0.6667 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.3784, allocations: 177.8 kB / 0.6669 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.3785, allocations: 42.25 kB / 0.6669 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.3785, allocations: 28.95 kB / 0.667 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3786, allocations: 3.938 kB / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3786, allocations: 35.91 kB / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3786, allocations: 0 / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.3787, allocations: 53.75 kB / 0.6671 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3788, allocations: 86.7 kB / 0.6671 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.3789, allocations: 132.3 kB / 0.6673 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3789, allocations: 31.23 kB / 0.6673 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.3789, allocations: 93.19 kB / 0.6674 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3789, allocations: 5.047 kB / 0.6674 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.379, allocations: 30.36 kB / 0.6674 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.379, allocations: 313.6 kB / 0.6677 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.3791, allocations: 28.77 kB / 0.6677 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.3791, allocations: 23.86 kB / 0.6678 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.3792, allocations: 47.53 kB / 0.6678 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3792, allocations: 5.125 kB / 0.6678 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001137/0.3793, allocations: 90.41 kB / 0.6679 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3793, allocations: 8.328 kB / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.3793, allocations: 1.125 kB / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3794, allocations: 1.25 kB / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.3794, allocations: 2.562 kB / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3794, allocations: 0 / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.3795, allocations: 10.45 kB / 0.6679 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3795, allocations: 9.469 kB / 0.6679 GB, free: 3.875 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.043e-05/0.3795, allocations: 117.5 kB / 0.668 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.3796, allocations: 5.484 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.3796, allocations: 4.938 kB / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3796, allocations: 1.438 kB / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3796, allocations: 0 / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3796, allocations: 1.469 kB / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.897e-05/0.3797, allocations: 165.6 kB / 0.6682 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3797, allocations: 0 / 0.6682 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.3797, allocations: 2.531 kB / 0.6682 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3797, allocations: 9.375 kB / 0.6682 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3797, allocations: 1.406 kB / 0.6682 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3797, allocations: 0 / 0.6682 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3798, allocations: 5.141 kB / 0.6682 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.3798, allocations: 80.05 kB / 0.6683 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.3799, allocations: 91.89 kB / 0.6684 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3799, allocations: 4.031 kB / 0.6684 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/0.3799, allocations: 1.375 kB / 0.6684 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.3799, allocations: 1.469 kB / 0.6684 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3799, allocations: 1.125 kB / 0.6684 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.38, allocations: 105.5 kB / 0.6685 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 0 / 0.6685 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002217/0.3802, allocations: 22.64 kB / 0.6685 GB, free: 3.234 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.000285/0.3805, allocations: 0.6294 MB / 0.6691 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3807, allocations: 83.92 kB / 0.6692 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3807, allocations: 1.25 kB / 0.6692 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.3807, allocations: 8.688 kB / 0.6692 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.3808, allocations: 14.44 kB / 0.6692 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.3818, allocations: 1.308 MB / 0.6705 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3819, allocations: 0.686 MB / 0.6712 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.3819, allocations: 1.219 kB / 0.6712 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.382, allocations: 16.62 kB / 0.6712 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.382, allocations: 0 / 0.6712 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.3988, allocations: 1.705 MB / 0.6729 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.639, allocations: 8.312 kB / 0.6729 GB, free: 15.76 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)