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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006892/0.006898, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001372/0.001372, allocations: 190 kB / 16.67 MB, free: 6.379 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.89 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3615, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003167/0.3647, allocations: 1.426 MB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004866/0.3696, allocations: 2.864 MB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.3697, allocations: 0 / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.3698, allocations: 3.984 kB / 1.212 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.3699, allocations: 15.8 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004641/0.3745, allocations: 1.552 MB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.3747, allocations: 47.73 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.3747, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.3748, allocations: 19.92 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.3748, allocations: 19.86 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3748, allocations: 0 / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.3778, allocations: 1.486 MB / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.3778, allocations: 0 / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.3778, allocations: 15.88 kB / 1.215 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.3803, allocations: 1.084 MB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3803, allocations: 4 kB / 1.216 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.139e-06/0.3804, allocations: 4 kB / 1.216 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3804, allocations: 0 / 1.216 GB, free: 1.508 MB / 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.0008914/0.3813, allocations: 0.5184 MB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3813, allocations: 8.625 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.3814, allocations: 106 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.3815, allocations: 92.06 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3817, allocations: 245 kB / 1.217 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.739e-05/0.3818, allocations: 154.9 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.3819, allocations: 150.9 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.382, allocations: 112.9 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.382, allocations: 79.27 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/0.3821, allocations: 154.5 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/0.3822, allocations: 154.6 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.579e-05/0.3822, allocations: 154.6 kB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.3826, allocations: 461.9 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3827, allocations: 173.1 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.3828, allocations: 84.14 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3828, allocations: 79.22 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.3829, allocations: 113.8 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.3829, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.383, allocations: 29.61 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.3831, allocations: 134.6 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3832, allocations: 131.1 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3833, allocations: 29.7 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.3833, allocations: 88.12 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-06/0.3834, allocations: 0 / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.3834, allocations: 21.72 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3836, allocations: 314.8 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.3836, allocations: 8 kB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.3836, allocations: 4 kB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.3837, allocations: 8.906 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3837, allocations: 4.031 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/0.3838, allocations: 57.52 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3839, allocations: 11.94 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.3839, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3839, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.417e-06/0.3839, allocations: 4 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3839, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.384, allocations: 3.938 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.384, allocations: 0 / 1.219 GB, free: 13.64 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.0001323/0.3841, allocations: 189.2 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.3842, allocations: 112.8 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.3843, allocations: 116.8 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.259e-05/0.3844, allocations: 176.3 kB / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.428e-05/0.3845, allocations: 176.3 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.474e-05/0.3846, allocations: 184.2 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.3849, allocations: 421.1 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.3849, allocations: 112.8 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.385, allocations: 105 kB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.385, allocations: 176.3 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.3851, allocations: 180.2 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.486e-05/0.3852, allocations: 192.3 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.715e-05/0.3853, allocations: 184.2 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.3855, allocations: 299.8 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3856, allocations: 189.9 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.3857, allocations: 184.2 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.3858, allocations: 108.9 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.3859, allocations: 176.3 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.3859, allocations: 105 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.034e-05/0.386, allocations: 104.9 kB / 1.223 GB, free: 10 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.386, allocations: 0 / 1.223 GB, free: 10 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009544/0.387, allocations: 271.8 kB / 1.223 GB, free: 9.734 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.00165/0.3886, allocations: 1.164 MB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3888, allocations: 37.7 kB / 1.224 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3888, allocations: 0 / 1.224 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.3888, allocations: 8 kB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.3892, allocations: 471.7 kB / 1.224 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.3911, allocations: 1.583 MB / 1.226 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3915, allocations: 0.6807 MB / 1.227 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.3915, allocations: 4.031 kB / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.3916, allocations: 15.44 kB / 1.227 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of SimCode: time 6.91e-07/0.3916, allocations: 0 / 1.227 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.42, allocations: 6.896 MB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.37, allocations: 11.66 kB / 1.233 GB, free: 14.95 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=50 --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)