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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.005389/0.005389, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001496/0.001496, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.89 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2781, allocations: 162.3 MB / 1.242 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002469/0.2806, allocations: 1.444 MB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004286/0.285, allocations: 2.891 MB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.285, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.2851, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.2851, allocations: 23.78 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.2888, allocations: 1.586 MB / 1.248 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.2889, allocations: 35.75 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.2889, allocations: 11.97 kB / 1.248 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/0.289, allocations: 15.94 kB / 1.248 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.653e-05/0.289, allocations: 15.88 kB / 1.248 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.289, allocations: 4 kB / 1.248 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.2913, allocations: 1.537 MB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.2913, allocations: 4 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.2913, allocations: 15.88 kB / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.2928, allocations: 1.126 MB / 1.25 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2928, allocations: 0 / 1.25 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2928, allocations: 0 / 1.25 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2928, allocations: 0 / 1.25 GB, free: 1.008 MB / 0.9981 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.0006041/0.2934, allocations: 0.5363 MB / 1.251 GB, free: 432 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2935, allocations: 8.031 kB / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.2935, allocations: 110 kB / 1.251 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.2936, allocations: 84.17 kB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4872/0.7808, allocations: 247.6 kB / 1.251 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.7809, allocations: 151.4 kB / 1.252 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.7809, allocations: 155.1 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.948e-05/0.781, allocations: 103.2 kB / 1.252 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.781, allocations: 79.7 kB / 1.252 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.781, allocations: 151.3 kB / 1.252 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.781, allocations: 151.6 kB / 1.252 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.7811, allocations: 156.6 kB / 1.252 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.7813, allocations: 469 kB / 1.253 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.7813, allocations: 170.5 kB / 1.253 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.7813, allocations: 84.12 kB / 1.253 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.7813, allocations: 76.69 kB / 1.253 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.7814, allocations: 109.1 kB / 1.253 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.7814, allocations: 0 / 1.253 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.7815, allocations: 36.17 kB / 1.253 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.7815, allocations: 129.7 kB / 1.253 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.7816, allocations: 133.5 kB / 1.253 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.7816, allocations: 27.02 kB / 1.253 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.7816, allocations: 93.45 kB / 1.254 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.7817, allocations: 3.75 kB / 1.254 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.7817, allocations: 21.02 kB / 1.254 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.7817, allocations: 321.9 kB / 1.254 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.7818, allocations: 4.359 kB / 1.254 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.7818, allocations: 9.219 kB / 1.254 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.7818, allocations: 14.19 kB / 1.254 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7818, allocations: 1.281 kB / 1.254 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001187/0.782, allocations: 57.69 kB / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.782, allocations: 6.672 kB / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.782, allocations: 3.422 kB / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.782, allocations: 0.75 kB / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.782, allocations: 0 / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.782, allocations: 1.406 kB / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.7821, allocations: 6.109 kB / 1.254 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.7821, allocations: 7 kB / 1.254 GB, free: 12.02 MB / 0.9981 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 4.551e-05/0.7821, allocations: 189.2 kB / 1.254 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.7822, allocations: 111.7 kB / 1.254 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.7822, allocations: 108.5 kB / 1.254 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.7822, allocations: 179.5 kB / 1.255 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.7822, allocations: 182.1 kB / 1.255 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.7823, allocations: 179.7 kB / 1.255 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.7824, allocations: 419.8 kB / 1.255 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7824, allocations: 103.8 kB / 1.255 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.7824, allocations: 106 kB / 1.256 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/0.7824, allocations: 187 kB / 1.256 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.7825, allocations: 178.3 kB / 1.256 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/0.7825, allocations: 185.5 kB / 1.256 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/0.7825, allocations: 178.2 kB / 1.256 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.22e-05/0.7826, allocations: 317.6 kB / 1.257 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.7826, allocations: 184.5 kB / 1.257 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.7826, allocations: 189.3 kB / 1.257 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.7827, allocations: 105.2 kB / 1.257 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.7827, allocations: 181.8 kB / 1.257 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.7827, allocations: 102.2 kB / 1.257 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.7828, allocations: 107.5 kB / 1.257 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7828, allocations: 0 / 1.257 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007187/0.7835, allocations: 291.5 kB / 1.258 GB, free: 8.504 MB / 0.9981 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.001055/0.7846, allocations: 1.186 MB / 1.259 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.7847, allocations: 39.11 kB / 1.259 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7847, allocations: 3.531 kB / 1.259 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.7847, allocations: 4.031 kB / 1.259 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.7849, allocations: 461.5 kB / 1.259 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.7859, allocations: 1.608 MB / 1.261 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.786, allocations: 0.6823 MB / 1.262 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.786, allocations: 1.375 kB / 1.262 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.786, allocations: 17.67 kB / 1.262 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.786, allocations: 0 / 1.262 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8842/1.67, allocations: 7.102 MB / 1.268 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13.69, allocations: 6.438 kB / 1.268 GB, free: 4.398 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)