Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.005172/0.005172, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001365/0.001365, allocations: 196.7 kB / 16.68 MB, free: 5.93 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 282 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9662/0.9662, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004555/0.004555, allocations: 99.83 kB / 0.681 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3956, allocations: 86.98 MB / 0.766 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002349/0.398, allocations: 1.358 MB / 0.7673 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4001, allocations: 1.314 MB / 0.7686 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.4001, allocations: 0 / 0.7686 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.4001, allocations: 0 / 0.7686 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.4002, allocations: 23.89 kB / 0.7686 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.4012, allocations: 370.5 kB / 0.769 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.4016, allocations: 376.6 kB / 0.7693 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.4016, allocations: 4 kB / 0.7693 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.4017, allocations: 119.9 kB / 0.7694 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.4019, allocations: 191.7 kB / 0.7696 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.402, allocations: 24 kB / 0.7696 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008103/0.4028, allocations: 491.3 kB / 0.7701 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.403, allocations: 107.8 kB / 0.7702 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.4031, allocations: 119.5 kB / 0.7703 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.4038, allocations: 0.5343 MB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4038, allocations: 0 / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4038, allocations: 0 / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4038, allocations: 0 / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007378/0.4046, allocations: 0.5526 MB / 0.7714 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.4046, allocations: 12.03 kB / 0.7714 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.428e-05/0.4047, allocations: 54.73 kB / 0.7714 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.4048, allocations: 20.8 kB / 0.7715 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.4049, allocations: 196.1 kB / 0.7717 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.405, allocations: 16.36 kB / 0.7717 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.405, allocations: 16.38 kB / 0.7717 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.4056, allocations: 329.4 kB / 0.772 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4056, allocations: 0 / 0.772 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.4056, allocations: 8 kB / 0.772 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4056, allocations: 4 kB / 0.772 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.4103, allocations: 2.926 MB / 0.7749 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.4108, allocations: 393.1 kB / 0.7752 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/0.4117, allocations: 0.4966 MB / 0.7757 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.412, allocations: 240.7 kB / 0.776 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.4135, allocations: 0.9282 MB / 0.7769 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4136, allocations: 46.44 kB / 0.7769 GB, free: 8.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.4136, allocations: 0 / 0.7769 GB, free: 8.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.001458/0.415, allocations: 0.7547 MB / 0.7776 GB, free: 7.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4151, allocations: 59.41 kB / 0.7777 GB, free: 7.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.4153, allocations: 148.2 kB / 0.7778 GB, free: 7.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.4154, allocations: 33.7 kB / 0.7779 GB, free: 7.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.4154, allocations: 97.14 kB / 0.778 GB, free: 7.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.4156, allocations: 150.7 kB / 0.7781 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.4158, allocations: 101.6 kB / 0.7782 GB, free: 6.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.416, allocations: 330.8 kB / 0.7785 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.4163, allocations: 207.8 kB / 0.7787 GB, free: 6.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.4167, allocations: 217.2 kB / 0.7789 GB, free: 6.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.4175, allocations: 492.4 kB / 0.7794 GB, free: 5.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4175, allocations: 0 / 0.7794 GB, free: 5.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009519/0.4185, allocations: 0.5563 MB / 0.7799 GB, free: 5.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4185, allocations: 6.344 kB / 0.7799 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.4185, allocations: 4 kB / 0.7799 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4185, allocations: 3.938 kB / 0.78 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.4189, allocations: 99.89 kB / 0.78 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4189, allocations: 4 kB / 0.7801 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.4189, allocations: 19.84 kB / 0.7801 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.419, allocations: 27.98 kB / 0.7801 GB, free: 4.977 MB / 0.545 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 (43): * Single equations (assignments): 43 * 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.0001682/0.4192, allocations: 161.8 kB / 0.7803 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.4192, allocations: 19.84 kB / 0.7803 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4209, allocations: 0.8871 MB / 0.7811 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.421, allocations: 4 kB / 0.7811 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.421, allocations: 4 kB / 0.7811 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.421, allocations: 7.922 kB / 0.7812 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.4215, allocations: 397.2 kB / 0.7815 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4215, allocations: 0 / 0.7815 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.4218, allocations: 107.8 kB / 0.7816 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4218, allocations: 0 / 0.7816 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.4218, allocations: 24 kB / 0.7817 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.4218, allocations: 3.984 kB / 0.7817 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4219, allocations: 3.984 kB / 0.7817 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.4228, allocations: 0.5929 MB / 0.7822 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.4229, allocations: 108.8 kB / 0.7823 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.423, allocations: 4 kB / 0.7823 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.423, allocations: 16 kB / 0.7824 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.4231, allocations: 39.95 kB / 0.7824 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.4232, allocations: 16 kB / 0.7824 GB, free: 2.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.4233, allocations: 113.1 kB / 0.7825 GB, free: 2.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4233, allocations: 3.938 kB / 0.7825 GB, free: 2.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004917/0.4238, allocations: 191.6 kB / 0.7827 GB, free: 2.215 MB / 0.545 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 (44): * Single equations (assignments): 44 * 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.001705/0.4255, allocations: 1.283 MB / 0.784 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008741/0.4264, allocations: 0.5033 MB / 0.7845 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4264, allocations: 0 / 0.7845 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.4268, allocations: 283.5 kB / 0.7847 GB, free: 124 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.4271, allocations: 51.97 kB / 0.7848 GB, free: 72 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4283, allocations: 0.7114 MB / 0.7855 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4288, allocations: 0.7601 MB / 0.7862 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005759/0.4293, allocations: 342.2 kB / 0.7865 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.4295, allocations: 87.41 kB / 0.7866 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.4295, allocations: 4 kB / 0.7866 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.4597, allocations: 8.133 MB / 0.7946 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.388, allocations: 5.203 kB / 0.7946 GB, free: 6.301 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)