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.00133/0.00133, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 190.8 kB / 16.67 MB, free: 6.539 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.384/1.384, 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.9909/0.9909, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 0.5858 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3758, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002065/0.3779, allocations: 1.249 MB / 0.6661 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004104/0.382, allocations: 3.293 MB / 0.6693 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.3821, allocations: 3.938 kB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.3822, allocations: 3.938 kB / 0.6694 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.3848, allocations: 0.9844 MB / 0.6703 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.322e-05/0.3849, allocations: 38.88 kB / 0.6703 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.385, allocations: 7.438 kB / 0.6704 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.385, allocations: 5.234 kB / 0.6704 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.3851, allocations: 8.797 kB / 0.6704 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.3851, allocations: 18.97 kB / 0.6704 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3851, allocations: 1.281 kB / 0.6704 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.3873, allocations: 1.44 MB / 0.6718 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.3875, allocations: 242.9 kB / 0.672 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.3879, allocations: 244.9 kB / 0.6723 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.3902, allocations: 1.554 MB / 0.6738 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3903, allocations: 0 / 0.6738 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3903, allocations: 0 / 0.6738 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.3903, allocations: 0 / 0.6738 GB, free: 0.8438 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.002121/0.3924, allocations: 1.427 MB / 0.6752 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3925, allocations: 10.66 kB / 0.6752 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.3925, allocations: 30.75 kB / 0.6752 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.3927, allocations: 48.45 kB / 0.6753 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.3935, allocations: 0.6351 MB / 0.6759 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3935, allocations: 4 kB / 0.6759 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3936, allocations: 5.125 kB / 0.6759 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3937, allocations: 168.1 kB / 0.676 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3938, allocations: 0 / 0.676 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.3938, allocations: 0 / 0.676 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3938, allocations: 1.156 kB / 0.676 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.394, allocations: 281.2 kB / 0.6763 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/0.3947, allocations: 0.5394 MB / 0.6768 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3948, allocations: 161.8 kB / 0.677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.395, allocations: 146 kB / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.395, allocations: 0 / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.395, allocations: 35.81 kB / 0.6772 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 4.188e-06/0.395, allocations: 0 / 0.6772 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000626/0.3957, allocations: 0.491 MB / 0.6776 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3957, allocations: 51.41 kB / 0.6777 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/0.3967, allocations: 0.6932 MB / 0.6784 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3967, allocations: 26.7 kB / 0.6784 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3969, allocations: 230.5 kB / 0.6786 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3969, allocations: 1 kB / 0.6786 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.397, allocations: 15.97 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3971, allocations: 370.4 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3973, allocations: 136.7 kB / 0.6791 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3974, allocations: 141.8 kB / 0.6793 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.3976, allocations: 292.4 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3976, allocations: 0 / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004889/0.3981, allocations: 363.3 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3981, allocations: 4.406 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3982, allocations: 1.375 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3982, allocations: 0 / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.3983, allocations: 5.297 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3983, allocations: 1.25 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3985, allocations: 28.16 kB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.3985, allocations: 5.156 kB / 0.6799 GB, free: 13.56 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.0002145/0.3987, allocations: 206.5 kB / 0.6801 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.3989, allocations: 48.02 kB / 0.6802 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.3993, allocations: 374.6 kB / 0.6805 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3994, allocations: 0 / 0.6805 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3994, allocations: 0 / 0.6805 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3994, allocations: 5.375 kB / 0.6805 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.3999, allocations: 443.8 kB / 0.681 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3999, allocations: 1.562 kB / 0.681 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.3999, allocations: 4.031 kB / 0.681 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3999, allocations: 0 / 0.681 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3999, allocations: 1.312 kB / 0.681 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3999, allocations: 4 kB / 0.681 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3999, allocations: 1.062 kB / 0.681 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.4003, allocations: 387 kB / 0.6813 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.4007, allocations: 328.2 kB / 0.6816 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4009, allocations: 5.469 kB / 0.6817 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4011, allocations: 32.41 kB / 0.6817 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.4011, allocations: 1.188 kB / 0.6817 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4011, allocations: 1.188 kB / 0.6817 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007528/0.4019, allocations: 0.5326 MB / 0.6822 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4019, allocations: 0 / 0.6822 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001128/0.403, allocations: 382.8 kB / 0.6826 GB, free: 12.3 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.002614/0.4056, allocations: 1.544 MB / 0.6841 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.4059, allocations: 284.9 kB / 0.6844 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.406, allocations: 0 / 0.6844 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4061, allocations: 172.9 kB / 0.6845 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.4066, allocations: 29.94 kB / 0.6845 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/0.4161, allocations: 7.09 MB / 0.6915 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.4165, allocations: 0.8236 MB / 0.6923 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001065/0.4176, allocations: 435.4 kB / 0.6927 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006984/0.4183, allocations: 363.2 kB / 0.693 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.4183, allocations: 0 / 0.693 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.4702, allocations: 21.48 MB / 0.714 GB, free: 14.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.025/9.495, allocations: 6.938 kB / 0.714 GB, free: 14.47 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)