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.001596/0.001596, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.002034/0.002034, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.004/3.004, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.002058/0.002058, allocations: 74.17 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002861/0.3204, allocations: 1.48 MB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00475/0.3251, allocations: 2.969 MB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.3251, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.3252, allocations: 11.92 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.3252, allocations: 7.875 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.3295, allocations: 1.651 MB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3296, allocations: 47.67 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3296, allocations: 7.906 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.3296, allocations: 19.94 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.3297, allocations: 15.92 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.3297, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.3321, allocations: 1.603 MB / 1.329 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.3322, allocations: 11.94 kB / 1.329 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3322, allocations: 15.88 kB / 1.329 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3339, allocations: 1.13 MB / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3339, allocations: 0 / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3339, allocations: 4 kB / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3339, allocations: 7.938 kB / 1.33 GB, free: 10.35 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.0006645/0.3345, allocations: 0.5324 MB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3346, allocations: 8.031 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.3346, allocations: 106 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.3347, allocations: 88.11 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3349, allocations: 257.4 kB / 1.331 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.3349, allocations: 154.9 kB / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.335, allocations: 154.9 kB / 1.331 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.3351, allocations: 104.9 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.3351, allocations: 75.28 kB / 1.331 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.3352, allocations: 154.6 kB / 1.331 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.3352, allocations: 150.6 kB / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.3353, allocations: 158.5 kB / 1.332 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.3356, allocations: 461.9 kB / 1.332 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.3357, allocations: 169.1 kB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.3358, allocations: 80.14 kB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.3358, allocations: 83.22 kB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.3359, allocations: 113.8 kB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3359, allocations: 0 / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.311e-05/0.3359, allocations: 33.59 kB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.336, allocations: 126.7 kB / 1.333 GB, free: 7.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3362, allocations: 139.5 kB / 1.333 GB, free: 7.043 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3362, allocations: 29.64 kB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.3362, allocations: 100.1 kB / 1.333 GB, free: 6.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3363, allocations: 0 / 1.333 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3363, allocations: 17.72 kB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3364, allocations: 314.8 kB / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.3364, allocations: 7.984 kB / 1.333 GB, free: 6.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.3365, allocations: 4 kB / 1.333 GB, free: 6.555 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.3365, allocations: 20.92 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3365, allocations: 0 / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001347/0.3366, allocations: 53.59 kB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3367, allocations: 12 kB / 1.333 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.3367, allocations: 3.984 kB / 1.333 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3367, allocations: 4 kB / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3367, allocations: 0 / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3367, allocations: 0 / 1.333 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.3367, allocations: 7.938 kB / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3367, allocations: 0 / 1.333 GB, free: 6.445 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.0001042/0.3368, allocations: 189.1 kB / 1.333 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.3369, allocations: 116.9 kB / 1.334 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.337, allocations: 112.8 kB / 1.334 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-05/0.337, allocations: 176.3 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.161e-05/0.3371, allocations: 184.2 kB / 1.334 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.98e-05/0.3372, allocations: 180.3 kB / 1.334 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3374, allocations: 421.1 kB / 1.335 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/0.3375, allocations: 105 kB / 1.335 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3375, allocations: 101 kB / 1.335 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.3376, allocations: 188.2 kB / 1.335 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.3377, allocations: 180.3 kB / 1.335 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-05/0.3377, allocations: 180.2 kB / 1.335 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-05/0.3378, allocations: 180.3 kB / 1.335 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.3379, allocations: 315.6 kB / 1.336 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.338, allocations: 186 kB / 1.336 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.3381, allocations: 184.2 kB / 1.336 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.3382, allocations: 101 kB / 1.336 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3383, allocations: 184.3 kB / 1.336 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.3383, allocations: 108.9 kB / 1.336 GB, free: 2.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.3384, allocations: 101.1 kB / 1.337 GB, free: 2.801 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3384, allocations: 0 / 1.337 GB, free: 2.801 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000853/0.3392, allocations: 295 kB / 1.337 GB, free: 2.512 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.00152/0.3408, allocations: 1.194 MB / 1.338 GB, free: 1.289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.3409, allocations: 41.62 kB / 1.338 GB, free: 1.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3409, allocations: 4.062 kB / 1.338 GB, free: 1.238 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.3409, allocations: 0 / 1.338 GB, free: 1.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3413, allocations: 459.7 kB / 1.338 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3428, allocations: 1.628 MB / 1.34 GB, free: 15.08 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3431, allocations: 0.6846 MB / 1.341 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.349e-05/0.3431, allocations: 0 / 1.341 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.3431, allocations: 15.44 kB / 1.341 GB, free: 14.35 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.3431, allocations: 0 / 1.341 GB, free: 14.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3748, allocations: 7.309 MB / 1.348 GB, free: 7.262 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.617, allocations: 6.281 kB / 1.348 GB, free: 7.254 MB / 1.045 GB " [Timeout remaining time 291] (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: 14.81846896908246] Failed to read output from testmodel.py, exit status != 0: 8.689197834115475 8.710492613 8.372679677 Calling exit ...