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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001172/0.001172, 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.001193/0.001193, 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.49/2.49, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 67.89 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8327, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002841/0.8356, allocations: 1.443 MB / 0.9512 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.8406, allocations: 2.879 MB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.8406, allocations: 0 / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.8407, allocations: 7.938 kB / 0.954 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.8408, allocations: 18.91 kB / 0.954 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.8448, allocations: 1.582 MB / 0.9556 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.8449, allocations: 37.12 kB / 0.9556 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.8449, allocations: 11.75 kB / 0.9556 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.845, allocations: 14.98 kB / 0.9556 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.845, allocations: 18.91 kB / 0.9556 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.845, allocations: 3.562 kB / 0.9557 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.8473, allocations: 1.462 MB / 0.9571 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.8473, allocations: 2.312 kB / 0.9571 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.8473, allocations: 23.14 kB / 0.9571 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.8488, allocations: 1.102 MB / 0.9582 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.8488, allocations: 0.8125 kB / 0.9582 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8488, allocations: 3.938 kB / 0.9582 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8488, allocations: 0 / 0.9582 GB, free: 3.23 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.0005798/0.8494, allocations: 0.5099 MB / 0.9587 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8494, allocations: 14 kB / 0.9587 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.8495, allocations: 106 kB / 0.9588 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.8495, allocations: 82.41 kB / 0.9589 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.8497, allocations: 255.9 kB / 0.9591 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.8497, allocations: 151.9 kB / 0.9593 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.8497, allocations: 154.9 kB / 0.9594 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.778e-05/0.8498, allocations: 113.8 kB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.8498, allocations: 76.38 kB / 0.9596 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.8498, allocations: 154.6 kB / 0.9597 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.8499, allocations: 150.6 kB / 0.9599 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.8499, allocations: 151.7 kB / 0.96 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.8501, allocations: 465.7 kB / 0.9605 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.8502, allocations: 173.8 kB / 0.9606 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.8502, allocations: 81.11 kB / 0.9607 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.8502, allocations: 79.22 kB / 0.9608 GB, free: 488 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.8502, allocations: 107 kB / 0.9609 GB, free: 372 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.8503, allocations: 4 kB / 0.9609 GB, free: 368 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.897e-05/0.8503, allocations: 32.98 kB / 0.9609 GB, free: 332 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.8504, allocations: 134.7 kB / 0.9611 GB, free: 184 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.8505, allocations: 129.7 kB / 0.9612 GB, free: 68 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.8505, allocations: 29.64 kB / 0.9612 GB, free: 32 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.8506, allocations: 90.92 kB / 0.9613 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.8506, allocations: 0 / 0.9613 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.8506, allocations: 18.92 kB / 0.9613 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8508, allocations: 320.9 kB / 0.9616 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.8508, allocations: 3.406 kB / 0.9616 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.8508, allocations: 7.375 kB / 0.9616 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.8509, allocations: 14.2 kB / 0.9616 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8509, allocations: 3.984 kB / 0.9616 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001448/0.8511, allocations: 52.61 kB / 0.9617 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8511, allocations: 6.781 kB / 0.9617 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.8511, allocations: 3.281 kB / 0.9617 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8511, allocations: 5.172 kB / 0.9617 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-06/0.8511, allocations: 7.938 kB / 0.9617 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8512, allocations: 0 / 0.9617 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.8512, allocations: 5.094 kB / 0.9617 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.8512, allocations: 1.125 kB / 0.9617 GB, free: 15.52 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.0001149/0.8513, allocations: 187.3 kB / 0.9619 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.8514, allocations: 112 kB / 0.962 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.8515, allocations: 111.1 kB / 0.9621 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.544e-05/0.8516, allocations: 188.3 kB / 0.9623 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.011e-05/0.8517, allocations: 189.3 kB / 0.9625 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.743e-05/0.8518, allocations: 181.3 kB / 0.9626 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.8521, allocations: 420.1 kB / 0.9631 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/0.8521, allocations: 102 kB / 0.9631 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.8522, allocations: 110.3 kB / 0.9633 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-05/0.8522, allocations: 181.3 kB / 0.9634 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.8523, allocations: 181.4 kB / 0.9636 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.585e-05/0.8524, allocations: 176.3 kB / 0.9638 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.93e-05/0.8525, allocations: 181.1 kB / 0.9639 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.8527, allocations: 316.8 kB / 0.9642 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.8528, allocations: 188.1 kB / 0.9644 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.8529, allocations: 178.4 kB / 0.9646 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.853, allocations: 108.9 kB / 0.9647 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.8531, allocations: 185.3 kB / 0.9649 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.8531, allocations: 106.1 kB / 0.965 GB, free: 12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.8532, allocations: 96.33 kB / 0.9651 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8532, allocations: 1.062 kB / 0.9651 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001017/0.8542, allocations: 277.6 kB / 0.9653 GB, free: 11.85 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.001518/0.8558, allocations: 1.181 MB / 0.9665 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.8559, allocations: 37.55 kB / 0.9665 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8559, allocations: 1.188 kB / 0.9665 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.8559, allocations: 0 / 0.9665 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.8564, allocations: 471.3 kB / 0.967 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.8579, allocations: 1.588 MB / 0.9685 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.8582, allocations: 0.692 MB / 0.9692 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.8582, allocations: 5.188 kB / 0.9692 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.8582, allocations: 12.66 kB / 0.9692 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8582, allocations: 0 / 0.9692 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.8894, allocations: 7.071 MB / 0.9761 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.019, allocations: 12.7 kB / 0.9761 GB, free: 4.555 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)