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.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 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_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_10_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.001468/0.001468, allocations: 108 kB / 15.61 MB, free: 152 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.001504/0.001504, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.789/2.789, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 0.8694 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7247, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003654/0.7284, allocations: 1.434 MB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.734, allocations: 2.911 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.7341, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.7342, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.7343, allocations: 19.78 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005427/0.7398, allocations: 1.585 MB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.7399, allocations: 47.73 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.608e-05/0.74, allocations: 7.984 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.74, allocations: 15.92 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.7401, allocations: 23.86 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.7401, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.7428, allocations: 1.459 MB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.7429, allocations: 4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.7429, allocations: 15.88 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.745, allocations: 1.119 MB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.7451, allocations: 11.92 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7451, allocations: 0 / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7451, allocations: 0 / 1.026 GB, free: 9.785 MB / 0.7794 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.0007971/0.7459, allocations: 0.5108 MB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7459, allocations: 8.031 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.746, allocations: 110 kB / 1.027 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.7461, allocations: 80.12 kB / 1.027 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.7462, allocations: 247.5 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.7463, allocations: 162.9 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.7463, allocations: 154.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.7464, allocations: 104.9 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.7465, allocations: 75.28 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.7465, allocations: 154.5 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.7466, allocations: 154.6 kB / 1.028 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.7466, allocations: 150.6 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.7469, allocations: 465.9 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.747, allocations: 169.1 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.7471, allocations: 84.14 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.7471, allocations: 87.16 kB / 1.029 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.7472, allocations: 105.8 kB / 1.029 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.7472, allocations: 0 / 1.029 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.518e-05/0.7472, allocations: 33.61 kB / 1.029 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.7473, allocations: 126.7 kB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.7475, allocations: 135.7 kB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.7475, allocations: 29.7 kB / 1.029 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.7475, allocations: 88.14 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.7475, allocations: 3.938 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.7476, allocations: 17.72 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7477, allocations: 322.8 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.7477, allocations: 4 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.7478, allocations: 7.938 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.7478, allocations: 12.86 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7478, allocations: 4.031 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.748, allocations: 57.53 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.748, allocations: 4 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.748, allocations: 7.938 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.748, allocations: 3.984 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.748, allocations: 0 / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.748, allocations: 0 / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.7481, allocations: 7.844 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.7481, allocations: 4.062 kB / 1.029 GB, free: 5.914 MB / 0.7794 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.741e-05/0.7482, allocations: 193.1 kB / 1.03 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.7483, allocations: 116.9 kB / 1.03 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.7483, allocations: 104.9 kB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.441e-05/0.7484, allocations: 188.2 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/0.7484, allocations: 184.3 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/0.7485, allocations: 180.3 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.7487, allocations: 421.1 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/0.7488, allocations: 101 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.7488, allocations: 104.9 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/0.7489, allocations: 184.2 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.7489, allocations: 180.3 kB / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.88e-05/0.749, allocations: 184.2 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.862e-05/0.7491, allocations: 176.3 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.7492, allocations: 319.6 kB / 1.032 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.7493, allocations: 185.9 kB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.7494, allocations: 180.3 kB / 1.032 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.7494, allocations: 105 kB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.7495, allocations: 180.2 kB / 1.033 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.7495, allocations: 105 kB / 1.033 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.7496, allocations: 104.7 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7496, allocations: 0 / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009232/0.7505, allocations: 279.8 kB / 1.033 GB, free: 1.996 MB / 0.7794 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.001573/0.7521, allocations: 1.187 MB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.7522, allocations: 45.64 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7523, allocations: 0 / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.7523, allocations: 0 / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.7527, allocations: 460.4 kB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.7542, allocations: 1.587 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.7545, allocations: 0.6846 MB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.7545, allocations: 3.906 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.7545, allocations: 11.44 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.7545, allocations: 0 / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.7817, allocations: 7.082 MB / 1.044 GB, free: 6.992 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.555, allocations: 12.7 kB / 1.044 GB, free: 6.98 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)