Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.007174/0.007174, allocations: 100.4 kB / 15.73 MB, free: 6.066 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.00141/0.001411, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.373/1.373, 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/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 1.018 GB, free: 9.816 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8781, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002856/0.881, allocations: 1.427 MB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005/0.8861, allocations: 2.864 MB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.8861, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.8862, allocations: 7.922 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.8863, allocations: 15.86 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004476/0.8908, allocations: 1.565 MB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.8909, allocations: 47.67 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.8909, allocations: 4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.891, allocations: 11.94 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.611e-05/0.891, allocations: 15.92 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.891, allocations: 4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.8934, allocations: 1.478 MB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.8935, allocations: 19.91 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.8935, allocations: 15.88 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.8952, allocations: 1.083 MB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8952, allocations: 4 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8952, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.8952, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007626/0.896, allocations: 0.5285 MB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8961, allocations: 12.92 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.8961, allocations: 106 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.8962, allocations: 80.17 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.8964, allocations: 255.5 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.8965, allocations: 162.9 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.8966, allocations: 150.9 kB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8967, allocations: 104.9 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.8968, allocations: 75.28 kB / 1.176 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.8968, allocations: 150.6 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.8969, allocations: 154.6 kB / 1.176 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.897, allocations: 162.5 kB / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.8973, allocations: 457.9 kB / 1.177 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.8974, allocations: 173.1 kB / 1.177 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.8975, allocations: 80.14 kB / 1.177 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/0.8975, allocations: 87.22 kB / 1.177 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.8976, allocations: 105.8 kB / 1.177 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 2.385e-06/0.8976, allocations: 3.984 kB / 1.177 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.847e-05/0.8977, allocations: 37.59 kB / 1.177 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.8977, allocations: 126.7 kB / 1.177 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.8979, allocations: 129.7 kB / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8979, allocations: 33.64 kB / 1.178 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.898, allocations: 96.12 kB / 1.178 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.898, allocations: 0 / 1.178 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.898, allocations: 13.72 kB / 1.178 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8981, allocations: 314.8 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.8981, allocations: 4 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.8982, allocations: 12.02 kB / 1.178 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.8982, allocations: 8.859 kB / 1.178 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8982, allocations: 4.031 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.8983, allocations: 57.53 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8984, allocations: 10.48 kB / 1.178 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8984, allocations: 4 kB / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8984, allocations: 0 / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.8984, allocations: 4 kB / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8984, allocations: 0 / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.8984, allocations: 0 / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.8985, allocations: 4 kB / 1.178 GB, free: 7.32 MB / 0.9044 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.914e-05/0.8986, allocations: 185.2 kB / 1.178 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.8986, allocations: 116.9 kB / 1.178 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.8987, allocations: 116.8 kB / 1.179 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.681e-05/0.8988, allocations: 184.3 kB / 1.179 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.845e-05/0.8988, allocations: 180.2 kB / 1.179 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.929e-05/0.8989, allocations: 176.3 kB / 1.179 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.8992, allocations: 421.2 kB / 1.179 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.8992, allocations: 108.9 kB / 1.18 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.8993, allocations: 101 kB / 1.18 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.8995, allocations: 180.2 kB / 1.18 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.8995, allocations: 180.3 kB / 1.18 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/0.8996, allocations: 180.3 kB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001238/0.8997, allocations: 188.2 kB / 1.18 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.8999, allocations: 307.7 kB / 1.181 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.9, allocations: 182.1 kB / 1.181 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/0.9001, allocations: 188.2 kB / 1.181 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.9002, allocations: 108.9 kB / 1.181 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.9003, allocations: 180.3 kB / 1.181 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.9004, allocations: 108.9 kB / 1.181 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.9005, allocations: 99.2 kB / 1.181 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9005, allocations: 0 / 1.181 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008097/0.9013, allocations: 287 kB / 1.182 GB, free: 3.391 MB / 0.9044 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 (0): * Single equations (assignments): 0 * 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.001256/0.9025, allocations: 1.161 MB / 1.183 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.9026, allocations: 41.64 kB / 1.183 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.9027, allocations: 0 / 1.183 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.9027, allocations: 4.062 kB / 1.183 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.9031, allocations: 459.7 kB / 1.183 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.9048, allocations: 1.588 MB / 1.185 GB, free: 28 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.9051, allocations: 0.6846 MB / 1.186 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.398e-05/0.9051, allocations: 4.031 kB / 1.186 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.9051, allocations: 15.44 kB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/0.9051, allocations: 0 / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.9312, allocations: 6.879 MB / 1.192 GB, free: 8.633 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.948, allocations: 5.969 kB / 1.192 GB, free: 8.629 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)