Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.004673/0.004673, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001231/0.001231, allocations: 190.1 kB / 16.67 MB, free: 5.48 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 284.2 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.969/0.969, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 95.84 kB / 0.681 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3713, allocations: 86.98 MB / 0.766 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002388/0.3737, allocations: 1.362 MB / 0.7673 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3765, allocations: 1.8 MB / 0.7691 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.3766, allocations: 4 kB / 0.7691 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.662e-05/0.3767, allocations: 3.984 kB / 0.7691 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3768, allocations: 27.84 kB / 0.7691 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.3794, allocations: 1.133 MB / 0.7702 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3795, allocations: 55.66 kB / 0.7703 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.3796, allocations: 4 kB / 0.7703 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.3796, allocations: 19.92 kB / 0.7703 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.3797, allocations: 35.78 kB / 0.7703 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3797, allocations: 0 / 0.7703 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.381, allocations: 0.8852 MB / 0.7712 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.381, allocations: 27.91 kB / 0.7712 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.3811, allocations: 23.81 kB / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3821, allocations: 0.7954 MB / 0.772 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3821, allocations: 3.984 kB / 0.772 GB, free: 13.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3821, allocations: 4 kB / 0.772 GB, free: 13.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3822, allocations: 4 kB / 0.772 GB, free: 13.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000572/0.3827, allocations: 485.8 kB / 0.7725 GB, free: 13.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3828, allocations: 12.03 kB / 0.7725 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.3828, allocations: 30.75 kB / 0.7725 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.3829, allocations: 16.83 kB / 0.7725 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.383, allocations: 193.5 kB / 0.7727 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3831, allocations: 4.125 kB / 0.7727 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.3831, allocations: 0 / 0.7727 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3832, allocations: 57.69 kB / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3832, allocations: 0 / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.3832, allocations: 0 / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3832, allocations: 3.984 kB / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.3833, allocations: 20 kB / 0.7728 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.3835, allocations: 197.6 kB / 0.773 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.3836, allocations: 46.52 kB / 0.773 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.3836, allocations: 36.88 kB / 0.7731 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3836, allocations: 4 kB / 0.7731 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3837, allocations: 30.56 kB / 0.7731 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.3837, allocations: 0 / 0.7731 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002109/0.3839, allocations: 121.5 kB / 0.7732 GB, free: 12.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3839, allocations: 51.41 kB / 0.7733 GB, free: 12.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3841, allocations: 154 kB / 0.7734 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3841, allocations: 29.64 kB / 0.7734 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.3842, allocations: 100.2 kB / 0.7735 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.3842, allocations: 31.89 kB / 0.7736 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3843, allocations: 13.72 kB / 0.7736 GB, free: 11.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3844, allocations: 326.8 kB / 0.7739 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.3844, allocations: 27.98 kB / 0.7739 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.3845, allocations: 27.97 kB / 0.774 GB, free: 11.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.3846, allocations: 60.84 kB / 0.774 GB, free: 11.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3846, allocations: 0 / 0.774 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001175/0.3847, allocations: 97.52 kB / 0.7741 GB, free: 11.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3847, allocations: 8.062 kB / 0.7741 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3847, allocations: 0 / 0.7741 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3847, allocations: 3.938 kB / 0.7741 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.3848, allocations: 4 kB / 0.7741 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.3848, allocations: 0 / 0.7741 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.3848, allocations: 3.984 kB / 0.7741 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3848, allocations: 0 / 0.7741 GB, free: 11.29 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 (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 prepare postOptimizeDAE: time 9.599e-05/0.3849, allocations: 133.5 kB / 0.7743 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.3849, allocations: 11.95 kB / 0.7743 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.3851, allocations: 113.4 kB / 0.7744 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3851, allocations: 0 / 0.7744 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3851, allocations: 0 / 0.7744 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3851, allocations: 4 kB / 0.7744 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3853, allocations: 193.5 kB / 0.7746 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3853, allocations: 4 kB / 0.7746 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3853, allocations: 0 / 0.7746 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3853, allocations: 0 / 0.7746 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3853, allocations: 0 / 0.7746 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3853, allocations: 0 / 0.7746 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3853, allocations: 4.344 kB / 0.7746 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3855, allocations: 129 kB / 0.7747 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.3855, allocations: 81.06 kB / 0.7748 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3855, allocations: 0 / 0.7748 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.3856, allocations: 4 kB / 0.7748 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3856, allocations: 3.984 kB / 0.7748 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.3856, allocations: 3.938 kB / 0.7748 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.115e-05/0.3857, allocations: 123.2 kB / 0.7749 GB, free: 10.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 4.031 kB / 0.7749 GB, free: 10.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005001/0.3862, allocations: 203.4 kB / 0.7751 GB, free: 10.2 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 (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.001023/0.3872, allocations: 0.8877 MB / 0.776 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.3874, allocations: 101.7 kB / 0.7761 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3874, allocations: 0 / 0.7761 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.3875, allocations: 65.75 kB / 0.7761 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.3877, allocations: 16.42 kB / 0.7761 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3893, allocations: 1.603 MB / 0.7777 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3896, allocations: 0.7157 MB / 0.7784 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.3896, allocations: 3.938 kB / 0.7784 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.3897, allocations: 19.44 kB / 0.7784 GB, free: 6.645 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.3897, allocations: 0 / 0.7784 GB, free: 6.645 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.4169, allocations: 5.997 MB / 0.7843 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.342, allocations: 11.98 kB / 0.7843 GB, free: 0.8672 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)