Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00663/0.00663, allocations: 100.8 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.001295/0.001295, allocations: 194.4 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 63.89 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6648, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.0024/0.6672, allocations: 1.431 MB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004049/0.6713, allocations: 2.871 MB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.6713, allocations: 0 / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.6714, allocations: 3.938 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.6714, allocations: 23.8 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.6749, allocations: 1.559 MB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.675, allocations: 35.8 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.675, allocations: 7.906 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.6751, allocations: 11.94 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.6751, allocations: 23.8 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.6751, allocations: 4 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.6772, allocations: 1.482 MB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.6772, allocations: 12 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.6773, allocations: 11.88 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.6786, allocations: 1.091 MB / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6786, allocations: 0 / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6786, allocations: 0 / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.6786, allocations: 0 / 1.229 GB, free: 9.473 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.0005732/0.6792, allocations: 0.5285 MB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6792, allocations: 12.03 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.6793, allocations: 106 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.6794, allocations: 84.17 kB / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.6796, allocations: 247.6 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.6796, allocations: 154.9 kB / 1.23 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.6797, allocations: 154.9 kB / 1.23 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.6798, allocations: 108.9 kB / 1.23 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.6798, allocations: 79.22 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.6799, allocations: 154.6 kB / 1.23 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.6799, allocations: 154.5 kB / 1.23 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.081e-05/0.68, allocations: 150.6 kB / 1.23 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.6803, allocations: 465.9 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.6804, allocations: 173.1 kB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.6805, allocations: 84.08 kB / 1.231 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6805, allocations: 79.22 kB / 1.231 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.6805, allocations: 109.8 kB / 1.231 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.6806, allocations: 3.938 kB / 1.231 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.115e-05/0.6806, allocations: 33.66 kB / 1.231 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.6807, allocations: 130.7 kB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.6808, allocations: 128 kB / 1.232 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6809, allocations: 25.7 kB / 1.232 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.6809, allocations: 96.12 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.6809, allocations: 0 / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.681, allocations: 13.72 kB / 1.232 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6811, allocations: 318.8 kB / 1.232 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.6811, allocations: 7.938 kB / 1.232 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.6811, allocations: 12 kB / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.6812, allocations: 8.859 kB / 1.232 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6812, allocations: 0 / 1.232 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.6813, allocations: 57.58 kB / 1.232 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6813, allocations: 4 kB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.6813, allocations: 4 kB / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6814, allocations: 0 / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.6814, allocations: 0 / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.6814, allocations: 0 / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.6814, allocations: 0 / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.6814, allocations: 8.062 kB / 1.232 GB, free: 5.598 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.0001028/0.6815, allocations: 185.6 kB / 1.232 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.6816, allocations: 116.9 kB / 1.232 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.6817, allocations: 112.8 kB / 1.233 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.97e-05/0.6817, allocations: 184.2 kB / 1.233 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.365e-05/0.6818, allocations: 184.3 kB / 1.233 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.321e-05/0.6819, allocations: 184.2 kB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.6821, allocations: 421.1 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.6822, allocations: 101 kB / 1.234 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.6822, allocations: 108.9 kB / 1.234 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.867e-05/0.6823, allocations: 176.3 kB / 1.234 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.6824, allocations: 188.2 kB / 1.234 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-05/0.6825, allocations: 180.2 kB / 1.234 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/0.6825, allocations: 176.3 kB / 1.234 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.6827, allocations: 311.7 kB / 1.235 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.6828, allocations: 198 kB / 1.235 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.6829, allocations: 176.3 kB / 1.235 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.683, allocations: 105 kB / 1.235 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.6831, allocations: 184.2 kB / 1.235 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.6831, allocations: 105 kB / 1.235 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.6832, allocations: 101.1 kB / 1.235 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6832, allocations: 0 / 1.235 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006433/0.6838, allocations: 290.9 kB / 1.236 GB, free: 1.664 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.001292/0.6851, allocations: 1.161 MB / 1.237 GB, free: 488 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.631e-05/0.6852, allocations: 41.7 kB / 1.237 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6853, allocations: 0 / 1.237 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6853, allocations: 0 / 1.237 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.6857, allocations: 467.6 kB / 1.237 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6871, allocations: 1.585 MB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.6874, allocations: 0.6884 MB / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.251e-05/0.6874, allocations: 0 / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.6874, allocations: 11.44 kB / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.6874, allocations: 0 / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9855/1.673, allocations: 6.899 MB / 1.246 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.43, allocations: 6.188 kB / 1.246 GB, free: 6.887 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)