Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.005398/0.005398, allocations: 101.1 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.001475/0.001475, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.608/2.608, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 61.61 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 162.3 MB / 1.242 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002435/0.3088, allocations: 1.427 MB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.3129, allocations: 2.853 MB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.313, allocations: 0 / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.313, allocations: 7.922 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.3131, allocations: 11.88 kB / 1.246 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.3167, allocations: 1.563 MB / 1.248 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.3168, allocations: 39.69 kB / 1.248 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.3168, allocations: 11.97 kB / 1.248 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.3169, allocations: 11.94 kB / 1.248 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.3169, allocations: 19.92 kB / 1.248 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.3169, allocations: 4 kB / 1.248 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3191, allocations: 1.482 MB / 1.249 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.3192, allocations: 11.94 kB / 1.249 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3192, allocations: 19.86 kB / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.3207, allocations: 1.083 MB / 1.25 GB, free: 288 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3207, allocations: 0 / 1.25 GB, free: 288 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3207, allocations: 3.938 kB / 1.25 GB, free: 284 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3207, allocations: 0 / 1.25 GB, free: 284 kB / 0.9669 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.0006514/0.3214, allocations: 0.5285 MB / 1.251 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3214, allocations: 12.03 kB / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.3215, allocations: 106 kB / 1.251 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.3216, allocations: 88.09 kB / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.3218, allocations: 259.5 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.3218, allocations: 150.9 kB / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.3219, allocations: 154.9 kB / 1.252 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.898e-05/0.322, allocations: 108.9 kB / 1.252 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.322, allocations: 75.28 kB / 1.252 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.3221, allocations: 150.6 kB / 1.252 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.3221, allocations: 150.6 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.3222, allocations: 158.5 kB / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.3226, allocations: 461.9 kB / 1.253 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.3227, allocations: 169.1 kB / 1.253 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.3227, allocations: 80.14 kB / 1.253 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.3227, allocations: 79.22 kB / 1.253 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.3228, allocations: 117.8 kB / 1.253 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3228, allocations: 0 / 1.253 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.593e-05/0.3229, allocations: 37.59 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.3229, allocations: 126.7 kB / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3231, allocations: 127.4 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3231, allocations: 25.7 kB / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3232, allocations: 92.14 kB / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.3232, allocations: 0 / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3232, allocations: 21.7 kB / 1.253 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3233, allocations: 318.8 kB / 1.254 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.3234, allocations: 4 kB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.3234, allocations: 8 kB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.3234, allocations: 16.78 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3234, allocations: 0 / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.3236, allocations: 53.59 kB / 1.254 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3236, allocations: 6.031 kB / 1.254 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3236, allocations: 4 kB / 1.254 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3236, allocations: 4.062 kB / 1.254 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.3236, allocations: 3.984 kB / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3236, allocations: 0 / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.3237, allocations: 48 / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3237, allocations: 4 kB / 1.254 GB, free: 12.4 MB / 0.9825 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.0001019/0.3238, allocations: 185.7 kB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.3238, allocations: 116.8 kB / 1.254 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.3239, allocations: 116.8 kB / 1.254 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.916e-05/0.324, allocations: 184.2 kB / 1.254 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.95e-05/0.3241, allocations: 180.2 kB / 1.255 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.286e-05/0.3241, allocations: 176.3 kB / 1.255 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3244, allocations: 421.1 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-05/0.3244, allocations: 101 kB / 1.255 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3245, allocations: 109 kB / 1.255 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-05/0.3245, allocations: 180.2 kB / 1.256 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/0.3246, allocations: 180.3 kB / 1.256 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.786e-05/0.3247, allocations: 180.2 kB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-05/0.3248, allocations: 176.3 kB / 1.256 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.3249, allocations: 319.7 kB / 1.256 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.325, allocations: 190.1 kB / 1.257 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.3251, allocations: 180.2 kB / 1.257 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3252, allocations: 113 kB / 1.257 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3253, allocations: 184.3 kB / 1.257 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.3253, allocations: 104.9 kB / 1.257 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.3254, allocations: 95.27 kB / 1.257 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3254, allocations: 0 / 1.257 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007161/0.3261, allocations: 290.9 kB / 1.257 GB, free: 8.473 MB / 0.9825 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.001363/0.3275, allocations: 1.163 MB / 1.259 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.3276, allocations: 45.62 kB / 1.259 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3276, allocations: 0 / 1.259 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.3276, allocations: 0 / 1.259 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.328, allocations: 463.8 kB / 1.259 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3294, allocations: 1.588 MB / 1.261 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3297, allocations: 0.6846 MB / 1.261 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.3297, allocations: 0 / 1.261 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.3297, allocations: 11.44 kB / 1.261 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3297, allocations: 0 / 1.261 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.137/3.467, allocations: 6.889 MB / 1.268 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.85/24.32, allocations: 9.188 kB / 1.268 GB, free: 13.69 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)