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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 250.2 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.656/2.656, allocations: 476.7 MB / 0.7637 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 1.108 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7833, allocations: 168.7 MB / 1.273 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002786/0.7861, allocations: 1.436 MB / 1.274 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004759/0.7908, allocations: 2.902 MB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.7909, allocations: 0 / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.7909, allocations: 3.984 kB / 1.277 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.791, allocations: 19.8 kB / 1.277 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.7948, allocations: 1.561 MB / 1.279 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.7948, allocations: 43.67 kB / 1.279 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.7949, allocations: 0 / 1.279 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.7949, allocations: 19.88 kB / 1.279 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.034e-05/0.7949, allocations: 15.92 kB / 1.279 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.7949, allocations: 0 / 1.279 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.7971, allocations: 1.529 MB / 1.28 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.7971, allocations: 3.938 kB / 1.28 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.7971, allocations: 19.88 kB / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.7985, allocations: 1.095 MB / 1.281 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7985, allocations: 0 / 1.281 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7985, allocations: 4 kB / 1.281 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.7985, allocations: 0 / 1.281 GB, free: 11.68 MB / 0.9825 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.0006308/0.7991, allocations: 0.5208 MB / 1.282 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7991, allocations: 8.031 kB / 1.282 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.7992, allocations: 106 kB / 1.282 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.7993, allocations: 88.17 kB / 1.282 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.7994, allocations: 259.5 kB / 1.282 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.7995, allocations: 150.9 kB / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.7996, allocations: 154.9 kB / 1.283 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.561e-05/0.7997, allocations: 108.9 kB / 1.283 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.7997, allocations: 75.28 kB / 1.283 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.7998, allocations: 154.6 kB / 1.283 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.7998, allocations: 150.6 kB / 1.283 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.7999, allocations: 150.6 kB / 1.283 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.8002, allocations: 461.9 kB / 1.284 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.8003, allocations: 177.1 kB / 1.284 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.8003, allocations: 84.14 kB / 1.284 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.8004, allocations: 79.22 kB / 1.284 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.8004, allocations: 109.8 kB / 1.284 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.8004, allocations: 0 / 1.284 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.8005, allocations: 33.64 kB / 1.284 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.8006, allocations: 138.6 kB / 1.284 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8007, allocations: 135.6 kB / 1.284 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.8007, allocations: 25.7 kB / 1.284 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.8008, allocations: 84.14 kB / 1.284 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.8008, allocations: 0 / 1.284 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.8008, allocations: 21.72 kB / 1.285 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8009, allocations: 314.8 kB / 1.285 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.801, allocations: 8 kB / 1.285 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.801, allocations: 8 kB / 1.285 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.801, allocations: 12.89 kB / 1.285 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.801, allocations: 0 / 1.285 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.8011, allocations: 57.52 kB / 1.285 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8012, allocations: 8 kB / 1.285 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.8012, allocations: 3.938 kB / 1.285 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.8012, allocations: 0 / 1.285 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-06/0.8012, allocations: 8 kB / 1.285 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.8012, allocations: 0 / 1.285 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.8012, allocations: 0 / 1.285 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.8012, allocations: 4.062 kB / 1.285 GB, free: 7.805 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.0001054/0.8013, allocations: 189.6 kB / 1.285 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.8014, allocations: 116.9 kB / 1.285 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.8015, allocations: 112.8 kB / 1.285 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/0.8015, allocations: 176.3 kB / 1.285 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.462e-05/0.8016, allocations: 180.2 kB / 1.286 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.289e-05/0.8017, allocations: 188.2 kB / 1.286 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.802, allocations: 417.1 kB / 1.286 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.802, allocations: 104.9 kB / 1.286 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.802, allocations: 105 kB / 1.286 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.232e-05/0.8021, allocations: 180.2 kB / 1.287 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.8022, allocations: 184.2 kB / 1.287 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.025e-05/0.8023, allocations: 176.3 kB / 1.287 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.797e-05/0.8023, allocations: 192.2 kB / 1.287 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.8025, allocations: 311.6 kB / 1.287 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.8026, allocations: 186 kB / 1.288 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.8027, allocations: 184.3 kB / 1.288 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.8028, allocations: 104.9 kB / 1.288 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.8028, allocations: 180.2 kB / 1.288 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.8029, allocations: 112.9 kB / 1.288 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.8029, allocations: 97.61 kB / 1.288 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8029, allocations: 0 / 1.288 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006606/0.8036, allocations: 287 kB / 1.289 GB, free: 3.883 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.001262/0.8049, allocations: 1.152 MB / 1.29 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.805, allocations: 37.7 kB / 1.29 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.805, allocations: 0 / 1.29 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.805, allocations: 3.938 kB / 1.29 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.8054, allocations: 463.7 kB / 1.29 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.8068, allocations: 1.602 MB / 1.292 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8071, allocations: 0.6884 MB / 1.292 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.8071, allocations: 7.922 kB / 1.292 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.8071, allocations: 11.44 kB / 1.292 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8071, allocations: 4 kB / 1.292 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.8362, allocations: 6.83 MB / 1.299 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.71, allocations: 2.062 kB / 1.299 GB, free: 9.094 MB / 0.9981 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.491173488087952] Failed to read output from testmodel.py, exit status != 0: 8.785540706012398 8.816002793 8.011918896 Calling exit ...