Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 219 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 74.08 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3711, allocations: 176.1 MB / 1.327 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002597/0.3737, allocations: 1.465 MB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.3781, allocations: 2.958 MB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.3782, allocations: 7.938 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.3782, allocations: 7.922 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.3782, allocations: 7.875 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.3825, allocations: 1.69 MB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.3826, allocations: 43.67 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.3826, allocations: 7.891 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.3827, allocations: 15.94 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.862e-05/0.3827, allocations: 11.92 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3827, allocations: 4 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.3853, allocations: 1.716 MB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.3853, allocations: 7.922 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.3854, allocations: 19.88 kB / 1.335 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.3871, allocations: 1.118 MB / 1.336 GB, free: 8.809 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3871, allocations: 0 / 1.336 GB, free: 8.809 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3871, allocations: 3.984 kB / 1.336 GB, free: 8.805 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3871, allocations: 0 / 1.336 GB, free: 8.805 MB / 1.029 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.0006192/0.3877, allocations: 472 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3878, allocations: 11.98 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.171e-05/0.3878, allocations: 79.47 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.3879, allocations: 106 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.3879, allocations: 80.22 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3881, allocations: 195.6 kB / 1.337 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.3882, allocations: 154.9 kB / 1.337 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.3882, allocations: 154.7 kB / 1.337 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.3883, allocations: 112.9 kB / 1.337 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.3883, allocations: 75.28 kB / 1.337 GB, free: 7.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.3884, allocations: 154.6 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.325e-05/0.3885, allocations: 150.6 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.3885, allocations: 150.6 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.3889, allocations: 440.9 kB / 1.338 GB, free: 6.398 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.389, allocations: 169.1 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.389, allocations: 88.08 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.3891, allocations: 75.28 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.3891, allocations: 109.8 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3891, allocations: 0 / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.802e-05/0.3892, allocations: 33.64 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.3893, allocations: 134.7 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3895, allocations: 134.9 kB / 1.339 GB, free: 5.617 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3895, allocations: 29.64 kB / 1.339 GB, free: 5.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.3895, allocations: 92.12 kB / 1.339 GB, free: 5.488 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.3895, allocations: 4 kB / 1.339 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3896, allocations: 17.72 kB / 1.339 GB, free: 5.461 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3897, allocations: 318.8 kB / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.3898, allocations: 4 kB / 1.339 GB, free: 5.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.3898, allocations: 4 kB / 1.339 GB, free: 5.133 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.3898, allocations: 12.86 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3898, allocations: 0 / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001571/0.39, allocations: 57.52 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.39, allocations: 8 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.39, allocations: 0 / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.39, allocations: 8.062 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-07/0.39, allocations: 0 / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.39, allocations: 0 / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.3901, allocations: 0 / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3901, allocations: 4 kB / 1.339 GB, free: 5.035 MB / 1.029 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.000133/0.3902, allocations: 189.1 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.3903, allocations: 108.9 kB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.3904, allocations: 116.8 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.271e-05/0.3904, allocations: 184.3 kB / 1.34 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.146e-05/0.3905, allocations: 180.3 kB / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.51e-05/0.3906, allocations: 180.2 kB / 1.34 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.3909, allocations: 384.2 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/0.391, allocations: 112.9 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.391, allocations: 105 kB / 1.341 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.433e-05/0.3911, allocations: 176.3 kB / 1.341 GB, free: 3.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/0.3912, allocations: 180.2 kB / 1.341 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.622e-05/0.3913, allocations: 184.2 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.97e-05/0.3914, allocations: 180.2 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3916, allocations: 311.7 kB / 1.342 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.3916, allocations: 116.9 kB / 1.342 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3917, allocations: 176.3 kB / 1.342 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3919, allocations: 108.9 kB / 1.342 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.3919, allocations: 184.3 kB / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.392, allocations: 108.9 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.931e-05/0.3921, allocations: 101.3 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3921, allocations: 0 / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001003/0.3931, allocations: 291 kB / 1.343 GB, free: 1.23 MB / 1.029 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.001584/0.3947, allocations: 1.185 MB / 1.344 GB, free: 20 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3948, allocations: 37.69 kB / 1.344 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3948, allocations: 0 / 1.344 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.3948, allocations: 3.938 kB / 1.344 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3953, allocations: 463.8 kB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.397, allocations: 1.592 MB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3973, allocations: 0.6884 MB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.3973, allocations: 4 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3974, allocations: 11.44 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/0.3974, allocations: 0 / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4274, allocations: 7.182 MB / 1.353 GB, free: 6.137 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.66, allocations: 7.938 kB / 1.353 GB, free: 6.129 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.357107284013182] Failed to read output from testmodel.py, exit status != 0: 11.827525855973363 11.856668204 11.463805652 Calling exit ...