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.InternalResistancesTwoUTube.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.001751/0.001751, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00205/0.00205, allocations: 216 kB / 22.24 MB, free: 5.258 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.809 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 2.976/2.976, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",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.001969/0.001969, allocations: 71.8 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002686/0.3146, allocations: 1.446 MB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.319, allocations: 2.674 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3191, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.3191, allocations: 11.94 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.3192, allocations: 15.84 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.3234, allocations: 1.659 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3235, allocations: 39.73 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3236, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.3236, allocations: 11.94 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.3236, allocations: 27.8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3236, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3261, allocations: 1.595 MB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.3261, allocations: 4 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.3261, allocations: 19.86 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.3277, allocations: 1.103 MB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3277, allocations: 4 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3277, allocations: 0 / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3277, allocations: 0 / 1.334 GB, free: 8.828 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.0006238/0.3283, allocations: 472 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3284, allocations: 11.98 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.3284, allocations: 106 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.3285, allocations: 88.17 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3286, allocations: 195.4 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.3287, allocations: 154.9 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.3288, allocations: 150.9 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.898e-05/0.3288, allocations: 104.9 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.3289, allocations: 75.28 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.3289, allocations: 158.5 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.329, allocations: 154.6 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.329, allocations: 150.6 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.3293, allocations: 436.9 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.3294, allocations: 173.1 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.3295, allocations: 80.14 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3295, allocations: 79.22 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.3295, allocations: 105.8 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3295, allocations: 4 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.445e-05/0.3296, allocations: 37.64 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.3297, allocations: 130.7 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3298, allocations: 133.8 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3298, allocations: 25.7 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3299, allocations: 104.1 kB / 1.337 GB, free: 5.582 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.3299, allocations: 0 / 1.337 GB, free: 5.582 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3299, allocations: 17.72 kB / 1.337 GB, free: 5.559 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3301, allocations: 322.8 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.3301, allocations: 0 / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.3301, allocations: 8 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.3302, allocations: 16.86 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3302, allocations: 64 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000136/0.3303, allocations: 61.56 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3303, allocations: 5.562 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.3303, allocations: 4 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3303, allocations: 3.938 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3303, allocations: 4.062 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3304, allocations: 0 / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.3304, allocations: 3.953 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3304, allocations: 4 kB / 1.338 GB, free: 5.117 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.0001021/0.3305, allocations: 181.1 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.3306, allocations: 116.9 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.3306, allocations: 116.7 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-05/0.3307, allocations: 176.3 kB / 1.338 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/0.3308, allocations: 180.2 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.981e-05/0.3308, allocations: 180.3 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3311, allocations: 396.2 kB / 1.339 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/0.3311, allocations: 108.9 kB / 1.339 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.3311, allocations: 101 kB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.895e-05/0.3312, allocations: 184.2 kB / 1.339 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.3313, allocations: 176.3 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.355e-05/0.3314, allocations: 184.2 kB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-05/0.3314, allocations: 180.3 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.3316, allocations: 311.7 kB / 1.34 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.3316, allocations: 112.9 kB / 1.34 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.3317, allocations: 184.2 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.3318, allocations: 105 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.3319, allocations: 180.3 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.3319, allocations: 108.9 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.411e-05/0.332, allocations: 104.7 kB / 1.341 GB, free: 1.598 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.332, allocations: 0 / 1.341 GB, free: 1.598 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007916/0.3328, allocations: 295 kB / 1.341 GB, free: 1.309 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.001411/0.3342, allocations: 1.19 MB / 1.342 GB, free: 92 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.3343, allocations: 41.64 kB / 1.342 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3343, allocations: 0 / 1.342 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-06/0.3343, allocations: 4 kB / 1.342 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3347, allocations: 467.7 kB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.3362, allocations: 1.616 MB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.853e-05/0.3363, allocations: 67.44 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.278e-05/0.3363, allocations: 0 / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3363, allocations: 23.36 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of SimCode: time 4.81e-07/0.3363, allocations: 0 / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.3749, allocations: 7.827 MB / 1.352 GB, free: 6.129 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 2.188 kB / 1.352 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.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.999865636986215] Failed to read output from testmodel.py, exit status != 0: 11.786887792986818 11.808982356 11.476745162 Calling exit ...