Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.0009559/0.000956, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001308/0.001308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000515/0.000515, allocations: 12.94 kB / 0.6739 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 116.3 MB / 0.7875 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00165/0.2689, allocations: 1.134 MB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004011/0.273, allocations: 2.709 MB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.273, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.2731, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.2731, allocations: 11.86 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.2766, allocations: 1.31 MB / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.2767, allocations: 43.67 kB / 0.7926 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.2768, allocations: 4.281 kB / 0.7926 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.2768, allocations: 11.94 kB / 0.7926 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.219e-05/0.2768, allocations: 11.92 kB / 0.7926 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.2769, allocations: 4 kB / 0.7926 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.2787, allocations: 1.229 MB / 0.7938 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.2787, allocations: 11.98 kB / 0.7938 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2788, allocations: 33.64 kB / 0.7938 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.2797, allocations: 0.7018 MB / 0.7945 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2797, allocations: 0 / 0.7945 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2797, allocations: 0 / 0.7945 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2797, allocations: 0 / 0.7945 GB, free: 4.566 MB / 0.6075 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.0005717/0.2803, allocations: 0.5029 MB / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.2804, allocations: 8.031 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.2804, allocations: 109.8 kB / 0.7951 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.2805, allocations: 95.14 kB / 0.7952 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2807, allocations: 246.3 kB / 0.7954 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.2807, allocations: 154.5 kB / 0.7956 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.2808, allocations: 150.6 kB / 0.7957 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.951e-05/0.2809, allocations: 104.9 kB / 0.7958 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.2809, allocations: 75.28 kB / 0.7959 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.281, allocations: 154.6 kB / 0.7961 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.281, allocations: 154.6 kB / 0.7962 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.2811, allocations: 150.6 kB / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.2814, allocations: 477.7 kB / 0.7968 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.2815, allocations: 173.1 kB / 0.797 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.2816, allocations: 80.14 kB / 0.797 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2816, allocations: 75.28 kB / 0.7971 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.2817, allocations: 105.8 kB / 0.7972 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2817, allocations: 0 / 0.7972 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.488e-05/0.2818, allocations: 33.64 kB / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.2818, allocations: 130.7 kB / 0.7974 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.282, allocations: 141 kB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.282, allocations: 25.7 kB / 0.7975 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.2821, allocations: 92.12 kB / 0.7976 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.2821, allocations: 0 / 0.7976 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.2821, allocations: 0 / 0.7976 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2822, allocations: 322.8 kB / 0.7979 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.2822, allocations: 4 kB / 0.7979 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.2822, allocations: 8 kB / 0.7979 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.2823, allocations: 8 kB / 0.7979 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2823, allocations: 0 / 0.7979 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001294/0.2824, allocations: 45.64 kB / 0.798 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2825, allocations: 11.98 kB / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.2825, allocations: 0 / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2825, allocations: 48 / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-06/0.2825, allocations: 7.984 kB / 0.798 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2825, allocations: 0 / 0.798 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.2825, allocations: 7.844 kB / 0.798 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2826, allocations: 0 / 0.798 GB, free: 0.7422 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.2827, allocations: 197.1 kB / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.2827, allocations: 101 kB / 0.7983 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.2828, allocations: 116.8 kB / 0.7984 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.648e-05/0.2829, allocations: 180.3 kB / 0.7986 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-05/0.283, allocations: 176.3 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.61e-05/0.2831, allocations: 188.2 kB / 0.7989 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.2833, allocations: 413.2 kB / 0.7993 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.2833, allocations: 108.9 kB / 0.7994 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.2834, allocations: 109 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.663e-05/0.2835, allocations: 176.3 kB / 0.7997 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/0.2836, allocations: 184.2 kB / 0.7999 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.716e-05/0.2837, allocations: 180.4 kB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-05/0.2837, allocations: 188.2 kB / 0.8002 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2839, allocations: 315.7 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.284, allocations: 182 kB / 0.8007 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.284, allocations: 188.2 kB / 0.8009 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.2841, allocations: 104.9 kB / 0.801 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.2842, allocations: 180.3 kB / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.2842, allocations: 108.9 kB / 0.8013 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.2843, allocations: 95.27 kB / 0.8013 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2843, allocations: 0 / 0.8013 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007812/0.2851, allocations: 271.8 kB / 0.8016 GB, free: 12.83 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.2864, allocations: 1.157 MB / 0.8027 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.811e-05/0.2865, allocations: 33.7 kB / 0.8028 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2865, allocations: 8.062 kB / 0.8028 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.2865, allocations: 3.938 kB / 0.8028 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.287, allocations: 0.5302 MB / 0.8033 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.2878, allocations: 0.676 MB / 0.804 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2881, allocations: 0.6848 MB / 0.8046 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.2881, allocations: 0 / 0.8046 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.2881, allocations: 15.44 kB / 0.8046 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2881, allocations: 0 / 0.8046 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.3087, allocations: 6.754 MB / 0.8112 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.3089, allocations: 314.6 kB / 0.8115 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.463, allocations: 0 / 0.8115 GB, free: 2.75 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: