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.001365/0.001365, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001472/0.001472, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 8.008 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.136/3.136, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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="me",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="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.002028/0.002028, allocations: 74.97 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002699/0.3138, allocations: 1.465 MB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004699/0.3185, allocations: 2.954 MB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.3185, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.3186, allocations: 7.938 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.3186, allocations: 11.86 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.3229, allocations: 1.688 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.323, allocations: 47.67 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.323, allocations: 3.906 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.323, allocations: 15.92 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.3231, allocations: 15.94 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.3231, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.3257, allocations: 1.712 MB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.3257, allocations: 11.94 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.3258, allocations: 23.86 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.3276, allocations: 1.114 MB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3276, allocations: 0 / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3276, allocations: 0 / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3276, allocations: 0 / 1.335 GB, free: 8.809 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.000688/0.3283, allocations: 480 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3283, allocations: 15.98 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.3284, allocations: 106 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.3284, allocations: 80.22 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3286, allocations: 199.4 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.3286, allocations: 150.9 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.3287, allocations: 150.9 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.3288, allocations: 112.9 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.3288, allocations: 75.28 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.3289, allocations: 154.6 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.3289, allocations: 150.6 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.329, allocations: 154.6 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.3293, allocations: 436.9 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.3294, allocations: 173.1 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3295, allocations: 80.14 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3295, allocations: 79.22 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.3295, allocations: 109.8 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3295, allocations: 0 / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.999e-05/0.3296, allocations: 29.7 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.3297, allocations: 138.6 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3298, allocations: 129.8 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3299, allocations: 25.7 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3299, allocations: 96.12 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.3299, allocations: 0 / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.33, allocations: 17.72 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3301, allocations: 322.8 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.3301, allocations: 4 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.3301, allocations: 4 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.3302, allocations: 12.86 kB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3302, allocations: 4 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3303, allocations: 61.55 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3303, allocations: 5.406 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.3303, allocations: 8 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3304, allocations: 0 / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3304, allocations: 0 / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3304, allocations: 0 / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.3304, allocations: 4.062 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.3304, allocations: 4 kB / 1.338 GB, free: 5.105 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.000106/0.3305, allocations: 185.1 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.3306, allocations: 112.9 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.3306, allocations: 112.7 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.279e-05/0.3307, allocations: 180.3 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.692e-05/0.3308, allocations: 188.2 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.087e-05/0.3309, allocations: 180.2 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.3311, allocations: 388.2 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.3312, allocations: 104.9 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.3312, allocations: 101 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.482e-05/0.3313, allocations: 180.3 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.3313, allocations: 188.2 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.83e-05/0.3314, allocations: 176.3 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.568e-05/0.3315, allocations: 180.2 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3316, allocations: 311.8 kB / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.3317, allocations: 116.9 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.3318, allocations: 180.3 kB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.3319, allocations: 108.9 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.332, allocations: 176.3 kB / 1.341 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.332, allocations: 105 kB / 1.341 GB, free: 1.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.084e-05/0.3321, allocations: 104.9 kB / 1.341 GB, free: 1.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3321, allocations: 7.938 kB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007812/0.3329, allocations: 291 kB / 1.342 GB, free: 1.301 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.001516/0.3344, allocations: 1.171 MB / 1.343 GB, free: 104 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3345, allocations: 41.69 kB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3345, allocations: 0 / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.3345, allocations: 7.875 kB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.3349, allocations: 457.7 kB / 1.343 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3365, allocations: 1.593 MB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3369, allocations: 0.6884 MB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.328e-05/0.3369, allocations: 0 / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.3369, allocations: 11.44 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.3369, allocations: 0 / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.372, allocations: 7.16 MB / 1.353 GB, free: 6.219 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.4, allocations: 8.188 kB / 1.353 GB, free: 6.219 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: 17.884697575122118] Failed to read output from testmodel.py, exit status != 0: 11.507089683087543 11.531458108 11.19935458 Calling exit ...