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 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.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.004766/0.004766, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001275/0.001275, allocations: 194.3 kB / 16.67 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.91 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2957, allocations: 162.2 MB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002763/0.2985, allocations: 1.435 MB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004514/0.303, allocations: 2.856 MB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.3031, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3032, allocations: 3.938 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.3033, allocations: 11.86 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.3075, allocations: 1.56 MB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.3076, allocations: 35.75 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.3077, allocations: 15.97 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.3077, allocations: 11.94 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.3078, allocations: 19.88 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.3078, allocations: 0 / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.3101, allocations: 1.486 MB / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.3102, allocations: 7.938 kB / 1.249 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.3102, allocations: 19.86 kB / 1.249 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.312, allocations: 1.085 MB / 1.25 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.312, allocations: 0 / 1.25 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.312, allocations: 4 kB / 1.25 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.312, allocations: 0 / 1.25 GB, free: 1.582 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.0007055/0.3127, allocations: 0.5324 MB / 1.25 GB, free: 1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3128, allocations: 11.97 kB / 1.25 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.3128, allocations: 106 kB / 1.251 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.3129, allocations: 84.17 kB / 1.251 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3131, allocations: 251.5 kB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.3131, allocations: 162.9 kB / 1.251 GB, free: 356 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.3132, allocations: 150.9 kB / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.3133, allocations: 104.9 kB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.3133, allocations: 79.28 kB / 1.251 GB, free: 12 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5493/0.8626, allocations: 150.6 kB / 1.251 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.8627, allocations: 154.3 kB / 1.252 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.8627, allocations: 154.9 kB / 1.252 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.863, allocations: 461.2 kB / 1.252 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.863, allocations: 172.6 kB / 1.252 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.8631, allocations: 80.14 kB / 1.252 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.8631, allocations: 77.28 kB / 1.253 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.8631, allocations: 108.8 kB / 1.253 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.8631, allocations: 1.641 kB / 1.253 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.125e-05/0.8632, allocations: 42.77 kB / 1.253 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.8632, allocations: 128.2 kB / 1.253 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.8634, allocations: 127.1 kB / 1.253 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.8634, allocations: 29.64 kB / 1.253 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.8634, allocations: 88.98 kB / 1.253 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.8634, allocations: 1 kB / 1.253 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.8635, allocations: 23.62 kB / 1.253 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.8635, allocations: 315.9 kB / 1.253 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.8636, allocations: 3.625 kB / 1.253 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.8636, allocations: 7.844 kB / 1.253 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.8636, allocations: 11.61 kB / 1.253 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8636, allocations: 0.6562 kB / 1.253 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.8638, allocations: 51.91 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8638, allocations: 5.375 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.8638, allocations: 7.094 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8638, allocations: 0.5 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.8639, allocations: 2.844 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8639, allocations: 1.312 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.8639, allocations: 2.484 kB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.8639, allocations: 4.781 kB / 1.253 GB, free: 12.98 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 5.61e-05/0.864, allocations: 188.4 kB / 1.254 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.864, allocations: 115.1 kB / 1.254 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.864, allocations: 109.9 kB / 1.254 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.8641, allocations: 182 kB / 1.254 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/0.8641, allocations: 182.2 kB / 1.254 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.8641, allocations: 182.3 kB / 1.254 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.8643, allocations: 408.8 kB / 1.255 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.8643, allocations: 106.7 kB / 1.255 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.8643, allocations: 109.2 kB / 1.255 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/0.8643, allocations: 185.2 kB / 1.255 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.8644, allocations: 183.1 kB / 1.255 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-05/0.8644, allocations: 184.1 kB / 1.255 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.995e-05/0.8644, allocations: 181 kB / 1.256 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.11e-05/0.8645, allocations: 311.9 kB / 1.256 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.8645, allocations: 188.8 kB / 1.256 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.8646, allocations: 183.1 kB / 1.256 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.8646, allocations: 106.9 kB / 1.256 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.8647, allocations: 180.8 kB / 1.257 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.8647, allocations: 106.3 kB / 1.257 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.8647, allocations: 103.7 kB / 1.257 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8647, allocations: 7.688 kB / 1.257 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008303/0.8656, allocations: 279.5 kB / 1.257 GB, free: 9.48 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.001149/0.8667, allocations: 1.176 MB / 1.258 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.887e-05/0.8668, allocations: 42.83 kB / 1.258 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8668, allocations: 0 / 1.258 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.8668, allocations: 0.875 kB / 1.258 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.8672, allocations: 468.2 kB / 1.259 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.8682, allocations: 1.585 MB / 1.26 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.8683, allocations: 0.6856 MB / 1.261 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.8683, allocations: 1.359 kB / 1.261 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.8683, allocations: 13.39 kB / 1.261 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.8683, allocations: 3.344 kB / 1.261 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.9002, allocations: 6.891 MB / 1.268 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.7, allocations: 15.41 kB / 1.268 GB, free: 5.387 MB / 0.9981 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 400 --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)