Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001698/0.001698, allocations: 108 kB / 15.6 MB, free: 132 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.00189/0.00189, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8237, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002785/0.8265, allocations: 1.42 MB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.8306, allocations: 2.854 MB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.8307, allocations: 1.375 kB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.8307, allocations: 0 / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.8308, allocations: 21.41 kB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/0.8348, allocations: 1.538 MB / 0.9555 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.8349, allocations: 50.91 kB / 0.9555 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.835, allocations: 1.5 kB / 0.9555 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.835, allocations: 11.84 kB / 0.9555 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.835, allocations: 23.05 kB / 0.9556 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.8351, allocations: 1.5 kB / 0.9556 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.8373, allocations: 1.415 MB / 0.9569 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.8373, allocations: 17.03 kB / 0.957 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.8373, allocations: 14.91 kB / 0.957 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.839, allocations: 1.072 MB / 0.958 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.839, allocations: 4 kB / 0.958 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8391, allocations: 0 / 0.958 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8391, allocations: 1.031 kB / 0.958 GB, free: 3.305 MB / 0.7169 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.000604/0.8397, allocations: 0.5075 MB / 0.9585 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8397, allocations: 9.875 kB / 0.9585 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.8398, allocations: 110 kB / 0.9586 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.8398, allocations: 82.38 kB / 0.9587 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.8399, allocations: 253.8 kB / 0.959 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.84, allocations: 156 kB / 0.9591 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.84, allocations: 150.9 kB / 0.9592 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.109e-05/0.8401, allocations: 109.7 kB / 0.9594 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8401, allocations: 80.31 kB / 0.9594 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.8401, allocations: 150.6 kB / 0.9596 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.8402, allocations: 158.5 kB / 0.9597 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.8402, allocations: 151.7 kB / 0.9599 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.8404, allocations: 465 kB / 0.9603 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.8405, allocations: 166.2 kB / 0.9605 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.8405, allocations: 89.27 kB / 0.9606 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.8405, allocations: 83.2 kB / 0.9606 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.8405, allocations: 106.8 kB / 0.9607 GB, free: 444 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8406, allocations: 0 / 0.9607 GB, free: 444 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.579e-05/0.8406, allocations: 36.86 kB / 0.9608 GB, free: 404 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.8407, allocations: 126.7 kB / 0.9609 GB, free: 264 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.8408, allocations: 128.7 kB / 0.961 GB, free: 148 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.8408, allocations: 29.7 kB / 0.961 GB, free: 112 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.8408, allocations: 91.42 kB / 0.9611 GB, free: 20 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.8408, allocations: 0 / 0.9611 GB, free: 20 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.8409, allocations: 18.58 kB / 0.9612 GB, free: 0 / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.841, allocations: 315.9 kB / 0.9615 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.8411, allocations: 15.38 kB / 0.9615 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.8411, allocations: 7.297 kB / 0.9615 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.8411, allocations: 13.08 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8411, allocations: 4.906 kB / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.8413, allocations: 50.98 kB / 0.9615 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8413, allocations: 5.469 kB / 0.9615 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.8413, allocations: 2.25 kB / 0.9615 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8413, allocations: 3.984 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.8413, allocations: 1.156 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.8414, allocations: 0 / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.8414, allocations: 0.875 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.8414, allocations: 0.9688 kB / 0.9616 GB, free: 15.61 MB / 0.7325 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 0.000107/0.8415, allocations: 191.3 kB / 0.9617 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.8416, allocations: 111 kB / 0.9618 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.8416, allocations: 118.8 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-05/0.8417, allocations: 181.4 kB / 0.9621 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-05/0.8418, allocations: 181.6 kB / 0.9623 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/0.8419, allocations: 185.1 kB / 0.9625 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.8421, allocations: 415.5 kB / 0.9629 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-05/0.8422, allocations: 109.7 kB / 0.963 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.8422, allocations: 105.6 kB / 0.9631 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.102e-05/0.8423, allocations: 177.7 kB / 0.9632 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.8423, allocations: 181 kB / 0.9634 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.712e-05/0.8424, allocations: 181.3 kB / 0.9636 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.537e-05/0.8424, allocations: 177.4 kB / 0.9638 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.8426, allocations: 312.6 kB / 0.9641 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.8427, allocations: 192.3 kB / 0.9642 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.8428, allocations: 177.5 kB / 0.9644 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.8429, allocations: 110.2 kB / 0.9645 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.8429, allocations: 185.2 kB / 0.9647 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.843, allocations: 102.1 kB / 0.9648 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.8431, allocations: 95.27 kB / 0.9649 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8431, allocations: 0 / 0.9649 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009657/0.844, allocations: 278.1 kB / 0.9651 GB, free: 11.93 MB / 0.7325 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.001432/0.8455, allocations: 1.167 MB / 0.9663 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.8456, allocations: 40.44 kB / 0.9663 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8456, allocations: 0 / 0.9663 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.8456, allocations: 5.188 kB / 0.9663 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.846, allocations: 468.2 kB / 0.9668 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.8475, allocations: 1.58 MB / 0.9683 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.8477, allocations: 0.6807 MB / 0.969 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.8478, allocations: 0 / 0.969 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.8478, allocations: 17.77 kB / 0.969 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.8478, allocations: 0 / 0.969 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.8846, allocations: 6.855 MB / 0.9757 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.927, allocations: 15.03 kB / 0.9757 GB, free: 4.762 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)