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.InternalResistancesOneUTubeNegative.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.01113/0.01113, allocations: 99.81 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.002336/0.002336, allocations: 192.3 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.631/2.631, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7804, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002551/0.7829, allocations: 1.426 MB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004205/0.7872, allocations: 2.861 MB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.7873, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.7873, allocations: 7.922 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.7874, allocations: 15.86 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.7912, allocations: 1.56 MB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.7913, allocations: 39.73 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.7914, allocations: 7.906 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.7914, allocations: 11.94 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.7915, allocations: 19.86 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.7915, allocations: 7.938 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.7939, allocations: 1.486 MB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.7939, allocations: 7.938 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.794, allocations: 15.88 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.7959, allocations: 1.091 MB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7959, allocations: 0 / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7959, allocations: 0 / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.796, allocations: 0 / 1.228 GB, free: 9.691 MB / 0.9512 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.0007112/0.7967, allocations: 0.5285 MB / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7967, allocations: 12.62 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.7968, allocations: 110 kB / 1.229 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.7969, allocations: 80.17 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.797, allocations: 247.6 kB / 1.229 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.7971, allocations: 154.9 kB / 1.229 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.7971, allocations: 150.9 kB / 1.229 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.958e-05/0.7972, allocations: 108.9 kB / 1.23 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.7972, allocations: 83.22 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.7973, allocations: 154.5 kB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.7973, allocations: 150.6 kB / 1.23 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.7974, allocations: 154.5 kB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.7976, allocations: 465.9 kB / 1.23 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.7977, allocations: 169.1 kB / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.7978, allocations: 84.08 kB / 1.231 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.7978, allocations: 79.22 kB / 1.231 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.63e-05/0.7979, allocations: 105.8 kB / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.7979, allocations: 4 kB / 1.231 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.869e-05/0.798, allocations: 41.59 kB / 1.231 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.7981, allocations: 126.7 kB / 1.231 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.7982, allocations: 128.2 kB / 1.231 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.7982, allocations: 25.7 kB / 1.231 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.7983, allocations: 96.12 kB / 1.231 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.7983, allocations: 0 / 1.231 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.7983, allocations: 13.72 kB / 1.231 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7985, allocations: 318.8 kB / 1.232 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.7985, allocations: 11.92 kB / 1.232 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.7985, allocations: 4 kB / 1.232 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.7986, allocations: 12.86 kB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7986, allocations: 0 / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/0.7988, allocations: 57.58 kB / 1.232 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7988, allocations: 4 kB / 1.232 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.7988, allocations: 4 kB / 1.232 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7988, allocations: 3.938 kB / 1.232 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.7988, allocations: 4.062 kB / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.7988, allocations: 0 / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.7989, allocations: 0 / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.7989, allocations: 4 kB / 1.232 GB, free: 5.816 MB / 0.9512 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.0001049/0.799, allocations: 185.1 kB / 1.232 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.7991, allocations: 116.9 kB / 1.232 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.7991, allocations: 112.8 kB / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.493e-05/0.7992, allocations: 188.2 kB / 1.232 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.378e-05/0.7993, allocations: 184.3 kB / 1.232 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-05/0.7994, allocations: 180.2 kB / 1.233 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.7997, allocations: 417.1 kB / 1.233 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.7997, allocations: 105 kB / 1.233 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.7998, allocations: 104.9 kB / 1.233 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.7999, allocations: 180.3 kB / 1.233 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.7999, allocations: 184.2 kB / 1.234 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.204e-05/0.8, allocations: 176.3 kB / 1.234 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.864e-05/0.8, allocations: 180.2 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.8002, allocations: 315.7 kB / 1.234 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.8003, allocations: 190 kB / 1.234 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.8003, allocations: 180.2 kB / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.8004, allocations: 104.9 kB / 1.235 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.8005, allocations: 188.2 kB / 1.235 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.8005, allocations: 105 kB / 1.235 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.8006, allocations: 100.8 kB / 1.235 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8006, allocations: 0 / 1.235 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007762/0.8014, allocations: 287 kB / 1.235 GB, free: 1.887 MB / 0.9512 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.001469/0.8028, allocations: 1.166 MB / 1.236 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.803, allocations: 37.7 kB / 1.237 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.803, allocations: 0 / 1.237 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.803, allocations: 3.938 kB / 1.237 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.8034, allocations: 475.5 kB / 1.237 GB, free: 184 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.8048, allocations: 1.592 MB / 1.239 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.8051, allocations: 0.6807 MB / 1.239 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.8051, allocations: 0 / 1.239 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.8051, allocations: 15.38 kB / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of SimCode: time 6.22e-07/0.8052, allocations: 0 / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.8285, allocations: 6.903 MB / 1.246 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.537, allocations: 7.016 kB / 1.246 GB, free: 7.09 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)