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.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/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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_10_Buildings_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.00528/0.00528, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001294/0.001294, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.354/2.354, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.89 kB / 1.018 GB, free: 9.797 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7386, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002358/0.741, allocations: 1.39 MB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.7435, allocations: 1.79 MB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.7436, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.08e-05/0.7438, allocations: 7.922 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.7439, allocations: 35.83 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.7465, allocations: 1.149 MB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.7466, allocations: 39.8 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.7466, allocations: 7.984 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.7467, allocations: 19.92 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.7468, allocations: 27.84 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.7468, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.748, allocations: 0.8891 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.748, allocations: 31.91 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.7481, allocations: 23.75 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.749, allocations: 0.7985 MB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.749, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/0.749, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.749, allocations: 0 / 1.172 GB, free: 13.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005248/0.7495, allocations: 491.8 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7496, allocations: 12.92 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.7496, allocations: 38.69 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.7496, allocations: 8.891 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.7498, allocations: 189.7 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.7498, allocations: 4.125 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.7498, allocations: 11.92 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.75, allocations: 53.69 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.75, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.75, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.75, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.2e-05/0.75, allocations: 23.98 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.7502, allocations: 189.7 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.7503, allocations: 50.58 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.7503, allocations: 40.89 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.7504, allocations: 3.984 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.7504, allocations: 34.56 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.7504, allocations: 4 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0001935/0.7506, allocations: 113.6 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.7506, allocations: 51.41 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7508, allocations: 152.1 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.7508, allocations: 25.7 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.7508, allocations: 100.1 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.7509, allocations: 31.73 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.7509, allocations: 13.72 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.751, allocations: 330.8 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.7511, allocations: 23.94 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.7511, allocations: 23.98 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.7512, allocations: 68.77 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7512, allocations: 0 / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001034/0.7513, allocations: 93.58 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.7513, allocations: 4 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.7513, allocations: 4 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7513, allocations: 0 / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.7513, allocations: 0 / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.7514, allocations: 4.062 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.7514, allocations: 3.938 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.7514, allocations: 4 kB / 1.174 GB, free: 11.14 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 7.693e-05/0.7515, allocations: 129.7 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.7515, allocations: 7.953 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.7517, allocations: 114.6 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7517, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7517, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7517, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.7518, allocations: 197.6 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7519, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.7519, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7519, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.7519, allocations: 7.984 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7519, allocations: 0 / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7519, allocations: 3.984 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.752, allocations: 124.9 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.7521, allocations: 93.05 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7521, allocations: 0 / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.7521, allocations: 0 / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.7521, allocations: 0 / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.7521, allocations: 4 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.7522, allocations: 120.9 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7522, allocations: 0 / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005304/0.7527, allocations: 207.4 kB / 1.175 GB, free: 10.05 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 (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.000946/0.7537, allocations: 0.8861 MB / 1.176 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.7539, allocations: 101.7 kB / 1.176 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7539, allocations: 0 / 1.176 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.158e-05/0.7539, allocations: 65.69 kB / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.7541, allocations: 11.94 kB / 1.176 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.7556, allocations: 1.626 MB / 1.178 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.7558, allocations: 0.7041 MB / 1.179 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.7558, allocations: 8.031 kB / 1.179 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.7559, allocations: 23.42 kB / 1.179 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.7559, allocations: 0 / 1.179 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.7789, allocations: 5.967 MB / 1.185 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.712, allocations: 14.31 kB / 1.185 GB, free: 0.7227 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.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 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)