Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.005873/0.005873, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001333/0.001334, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9849/0.9849, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 0.5852 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.373, allocations: 80.92 MB / 0.6642 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001849/0.3749, allocations: 1.25 MB / 0.6654 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003871/0.3788, allocations: 3.3 MB / 0.6686 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.3789, allocations: 1.156 kB / 0.6686 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.3789, allocations: 7.938 kB / 0.6687 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.3814, allocations: 0.9798 MB / 0.6696 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.057e-05/0.3815, allocations: 35.34 kB / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.3816, allocations: 12.17 kB / 0.6697 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.3816, allocations: 5.047 kB / 0.6697 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.3816, allocations: 4.906 kB / 0.6697 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.3817, allocations: 18.41 kB / 0.6697 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.3817, allocations: 1.125 kB / 0.6697 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.3836, allocations: 1.448 MB / 0.6711 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.3839, allocations: 243.8 kB / 0.6713 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.3842, allocations: 240.4 kB / 0.6716 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.3862, allocations: 1.553 MB / 0.6731 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3862, allocations: 5.422 kB / 0.6731 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3862, allocations: 0 / 0.6731 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.3862, allocations: 0 / 0.6731 GB, free: 1.281 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002154/0.3884, allocations: 1.427 MB / 0.6745 GB, free: 300 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3884, allocations: 13.19 kB / 0.6745 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.195e-05/0.3885, allocations: 35.94 kB / 0.6745 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3887, allocations: 43.59 kB / 0.6746 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.3896, allocations: 0.6309 MB / 0.6752 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3896, allocations: 1.125 kB / 0.6752 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3896, allocations: 1 kB / 0.6752 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3898, allocations: 167.5 kB / 0.6753 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3898, allocations: 0 / 0.6753 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.3898, allocations: 1.094 kB / 0.6753 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3898, allocations: 0 / 0.6753 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.39, allocations: 286.7 kB / 0.6756 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.3907, allocations: 0.5351 MB / 0.6761 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3908, allocations: 156.5 kB / 0.6763 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.391, allocations: 147.1 kB / 0.6764 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.391, allocations: 0 / 0.6764 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.391, allocations: 35.66 kB / 0.6765 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.391, allocations: 7.938 kB / 0.6765 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0006362/0.3917, allocations: 498.5 kB / 0.6769 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3917, allocations: 52.47 kB / 0.677 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.3926, allocations: 0.6926 MB / 0.6777 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3927, allocations: 29.7 kB / 0.6777 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3928, allocations: 227.6 kB / 0.6779 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.3929, allocations: 3.953 kB / 0.6779 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3929, allocations: 13.06 kB / 0.6779 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3931, allocations: 373.5 kB / 0.6783 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3932, allocations: 137.6 kB / 0.6784 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.3933, allocations: 142.1 kB / 0.6786 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3935, allocations: 292.1 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3935, allocations: 0 / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004653/0.394, allocations: 354.4 kB / 0.6792 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.394, allocations: 10.14 kB / 0.6792 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.394, allocations: 0 / 0.6792 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.394, allocations: 4.094 kB / 0.6792 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.3941, allocations: 1.938 kB / 0.6792 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3941, allocations: 0 / 0.6792 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.3943, allocations: 29.81 kB / 0.6792 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3944, allocations: 0 / 0.6792 GB, free: 14.01 MB / 0.5137 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): 1 * 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 prepare postOptimizeDAE: time 0.0001793/0.3945, allocations: 206.8 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.3947, allocations: 56.14 kB / 0.6795 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.3951, allocations: 369.6 kB / 0.6798 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.3951, allocations: 5.375 kB / 0.6798 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3951, allocations: 0 / 0.6798 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3951, allocations: 3.938 kB / 0.6798 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.3956, allocations: 445.3 kB / 0.6802 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.3956, allocations: 0 / 0.6802 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-06/0.3956, allocations: 5.094 kB / 0.6803 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3956, allocations: 0 / 0.6803 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.3956, allocations: 1.031 kB / 0.6803 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3956, allocations: 0 / 0.6803 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3956, allocations: 5.172 kB / 0.6803 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.3961, allocations: 390.6 kB / 0.6806 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.3967, allocations: 329.4 kB / 0.6809 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.3968, allocations: 0 / 0.6809 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3971, allocations: 29.47 kB / 0.681 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.3971, allocations: 9.203 kB / 0.681 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3971, allocations: 3.938 kB / 0.681 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007097/0.3978, allocations: 0.5283 MB / 0.6815 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3978, allocations: 0 / 0.6815 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001171/0.399, allocations: 389 kB / 0.6819 GB, free: 12.73 MB / 0.5137 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: 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 Backend phase and start with SimCode phase: time 0.002349/0.4013, allocations: 1.527 MB / 0.6834 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.4016, allocations: 289.4 kB / 0.6836 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4016, allocations: 0 / 0.6836 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4018, allocations: 169 kB / 0.6838 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.4022, allocations: 37.75 kB / 0.6838 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008945/0.4112, allocations: 7.095 MB / 0.6908 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.4116, allocations: 0.8197 MB / 0.6916 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001034/0.4126, allocations: 435.4 kB / 0.692 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.4133, allocations: 367.1 kB / 0.6923 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.4133, allocations: 0 / 0.6923 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04469/0.458, allocations: 21.48 MB / 0.7133 GB, free: 15.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/9, allocations: 8.156 kB / 0.7133 GB, free: 15.16 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)