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.00162/0.00162, 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.001967/0.001967, allocations: 210.4 kB / 22.25 MB, free: 5.086 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 8.016 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.075/3.075, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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.001962/0.001962, allocations: 65.97 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3193, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002758/0.3221, allocations: 1.48 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004937/0.327, allocations: 3.008 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.3271, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.3271, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.3272, allocations: 15.84 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.3318, allocations: 1.711 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3319, allocations: 43.67 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.332, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.332, allocations: 15.94 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.3321, allocations: 15.92 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.3321, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.3352, allocations: 1.77 MB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3352, allocations: 3.938 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3353, allocations: 19.88 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.3374, allocations: 1.15 MB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3374, allocations: 4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3374, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3374, allocations: 3.938 kB / 1.335 GB, free: 8.664 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.0007761/0.3382, allocations: 472 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3382, allocations: 11.98 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.3383, allocations: 106 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.3383, allocations: 88.11 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3385, allocations: 205.6 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.3386, allocations: 154.9 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.3386, allocations: 154.9 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/0.3387, allocations: 104.9 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.3388, allocations: 79.27 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.3388, allocations: 150.6 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.3389, allocations: 154.6 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.339, allocations: 150.6 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.3393, allocations: 436.9 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3394, allocations: 173.1 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.3394, allocations: 84.14 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.3395, allocations: 83.2 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.3395, allocations: 105.8 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3395, allocations: 0 / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.3396, allocations: 41.64 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.3397, allocations: 126.7 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3399, allocations: 139.5 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3399, allocations: 29.7 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3399, allocations: 88.12 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.3399, allocations: 0 / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.34, allocations: 21.72 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3401, allocations: 318.8 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.3401, allocations: 4 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.3401, allocations: 4 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.3402, allocations: 16.89 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3402, allocations: 0 / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.3403, allocations: 61.52 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3403, allocations: 4 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3404, allocations: 4 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3404, allocations: 0 / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3404, allocations: 0 / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3404, allocations: 0 / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.3404, allocations: 7.953 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3404, allocations: 4.062 kB / 1.338 GB, free: 4.949 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.0001144/0.3405, allocations: 190.9 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.3406, allocations: 116.8 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.3407, allocations: 112.7 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.071e-05/0.3407, allocations: 176.3 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-05/0.3408, allocations: 180.2 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.3409, allocations: 184.3 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.3412, allocations: 388.2 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/0.3412, allocations: 104.9 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.3413, allocations: 105 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.358e-05/0.3413, allocations: 188.1 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/0.3414, allocations: 176.3 kB / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.3415, allocations: 184.2 kB / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.137e-05/0.3416, allocations: 184.2 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3418, allocations: 315.7 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.3418, allocations: 112.9 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.3419, allocations: 184.2 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.342, allocations: 101 kB / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.3421, allocations: 176.3 kB / 1.341 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.3421, allocations: 108.9 kB / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.3422, allocations: 104.8 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008384/0.3431, allocations: 295 kB / 1.342 GB, free: 1.137 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.001594/0.3446, allocations: 1.2 MB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3447, allocations: 37.64 kB / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3447, allocations: 0 / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.3448, allocations: 0 / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3452, allocations: 463.7 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3468, allocations: 1.616 MB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3472, allocations: 0.6807 MB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.598e-05/0.3472, allocations: 0 / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3472, allocations: 23.42 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of SimCode: time 8.72e-07/0.3472, allocations: 0 / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.3837, allocations: 7.362 MB / 1.353 GB, free: 5.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 0 / 1.353 GB, free: 5.809 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.928746927995235] Failed to read output from testmodel.py, exit status != 0: 11.551899648969993 11.568800088 11.228181529 Calling exit ...