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.004743/0.004743, allocations: 103 kB / 15.74 MB, free: 6.059 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.0013/0.0013, allocations: 189.2 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002448, allocations: 288.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.168/1.168, allocations: 178.5 MB / 0.5074 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 91.84 kB / 0.6944 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3976, allocations: 89.13 MB / 0.7814 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.001926/0.3995, allocations: 1.358 MB / 0.7827 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.4016, allocations: 1.309 MB / 0.784 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.4017, allocations: 0 / 0.784 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.4017, allocations: 7.984 kB / 0.784 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.4019, allocations: 22.34 kB / 0.784 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.4028, allocations: 369.2 kB / 0.7844 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.4032, allocations: 380.9 kB / 0.7847 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.4033, allocations: 2.625 kB / 0.7847 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4034, allocations: 115 kB / 0.7849 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.4036, allocations: 194.9 kB / 0.785 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.4036, allocations: 20.06 kB / 0.7851 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008453/0.4045, allocations: 492.8 kB / 0.7855 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.4046, allocations: 109.4 kB / 0.7856 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.4048, allocations: 115.5 kB / 0.7857 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007447/0.4056, allocations: 0.5421 MB / 0.7863 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4056, allocations: 1.031 kB / 0.7863 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4056, allocations: 0 / 0.7863 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4056, allocations: 0 / 0.7863 GB, free: 13.78 MB / 0.5606 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.0007838/0.4064, allocations: 0.5525 MB / 0.7868 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4064, allocations: 8.781 kB / 0.7868 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.4065, allocations: 51.36 kB / 0.7869 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.4066, allocations: 26 kB / 0.7869 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4068, allocations: 198.4 kB / 0.7871 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.4068, allocations: 15.69 kB / 0.7871 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.4068, allocations: 14.84 kB / 0.7871 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.4074, allocations: 331.1 kB / 0.7874 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4074, allocations: 3.984 kB / 0.7874 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.4074, allocations: 9.438 kB / 0.7874 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.4075, allocations: 4 kB / 0.7874 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.4118, allocations: 2.93 MB / 0.7903 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.4123, allocations: 389.4 kB / 0.7907 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.4131, allocations: 0.494 MB / 0.7912 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.4135, allocations: 241.1 kB / 0.7914 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.4149, allocations: 0.9311 MB / 0.7923 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4149, allocations: 40.38 kB / 0.7923 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.4149, allocations: 0 / 0.7923 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.001265/0.4162, allocations: 0.7593 MB / 0.7931 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4162, allocations: 55.53 kB / 0.7931 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4164, allocations: 147 kB / 0.7933 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4164, allocations: 31.08 kB / 0.7933 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.4165, allocations: 97.27 kB / 0.7934 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.4166, allocations: 153.9 kB / 0.7935 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.4168, allocations: 99.7 kB / 0.7936 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4169, allocations: 333.9 kB / 0.794 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.4173, allocations: 204.2 kB / 0.7942 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.4176, allocations: 215.3 kB / 0.7944 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007393/0.4184, allocations: 498 kB / 0.7948 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4184, allocations: 0 / 0.7948 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008874/0.4193, allocations: 0.5556 MB / 0.7954 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4193, allocations: 8.75 kB / 0.7954 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4193, allocations: 0 / 0.7954 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4193, allocations: 2.219 kB / 0.7954 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.4196, allocations: 96.48 kB / 0.7955 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4196, allocations: 1.312 kB / 0.7955 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.4197, allocations: 24.5 kB / 0.7955 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.4197, allocations: 26.89 kB / 0.7955 GB, free: 8.359 MB / 0.5606 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.0001622/0.4199, allocations: 158.8 kB / 0.7957 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.42, allocations: 29.36 kB / 0.7957 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.4215, allocations: 0.8877 MB / 0.7966 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4216, allocations: 5.344 kB / 0.7966 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4216, allocations: 3.984 kB / 0.7966 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4216, allocations: 0 / 0.7966 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.422, allocations: 399.1 kB / 0.797 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4221, allocations: 1.125 kB / 0.797 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.4223, allocations: 100.6 kB / 0.7971 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4223, allocations: 6.656 kB / 0.7971 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.4224, allocations: 20.77 kB / 0.7971 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4224, allocations: 2.594 kB / 0.7971 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4224, allocations: 0 / 0.7971 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.4233, allocations: 0.5997 MB / 0.7977 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.4234, allocations: 111.6 kB / 0.7978 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.4234, allocations: 6.656 kB / 0.7978 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.4235, allocations: 10.69 kB / 0.7978 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.4236, allocations: 40.92 kB / 0.7978 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.4236, allocations: 24.17 kB / 0.7979 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.746e-05/0.4237, allocations: 109.9 kB / 0.798 GB, free: 7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4237, allocations: 0 / 0.798 GB, free: 7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00053/0.4242, allocations: 186.3 kB / 0.7981 GB, free: 6.961 MB / 0.5606 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.001747/0.426, allocations: 1.294 MB / 0.7994 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.427, allocations: 0.5033 MB / 0.7999 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.427, allocations: 0 / 0.7999 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.4274, allocations: 284.6 kB / 0.8002 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4277, allocations: 47.97 kB / 0.8002 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4289, allocations: 0.6976 MB / 0.8009 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4293, allocations: 0.7563 MB / 0.8016 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005505/0.4299, allocations: 341.6 kB / 0.802 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4301, allocations: 91.41 kB / 0.802 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4301, allocations: 0 / 0.802 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4595, allocations: 8.133 MB / 0.81 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.426, allocations: 19.45 kB / 0.81 GB, free: 11.15 MB / 0.5762 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)