Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001901/0.001901, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002388/0.002388, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.147/3.147, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.002025/0.002025, allocations: 70.05 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002665/0.3165, allocations: 1.45 MB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.321, allocations: 2.643 MB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.321, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.321, allocations: 7.922 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.3211, allocations: 15.86 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.3251, allocations: 1.604 MB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.3252, allocations: 43.73 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.3252, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.3252, allocations: 15.94 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.3253, allocations: 19.86 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.3253, allocations: 0 / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.3275, allocations: 1.451 MB / 1.371 GB, free: 6.797 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3276, allocations: 7.984 kB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3276, allocations: 15.88 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.3291, allocations: 1.072 MB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3291, allocations: 0 / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3291, allocations: 4 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3291, allocations: 0 / 1.372 GB, free: 5.695 MB / 1.061 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.0005998/0.3297, allocations: 472 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3298, allocations: 8.75 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.3298, allocations: 110 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.3299, allocations: 88.16 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3301, allocations: 196.6 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.3301, allocations: 150.9 kB / 1.373 GB, free: 4.629 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.3302, allocations: 154.9 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.3303, allocations: 108.9 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.3303, allocations: 75.28 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.3304, allocations: 150.6 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/0.3305, allocations: 150.6 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/0.3305, allocations: 154.6 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.3309, allocations: 440.9 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/0.331, allocations: 177.1 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.331, allocations: 84.14 kB / 1.374 GB, free: 3.098 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.3311, allocations: 79.22 kB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.3311, allocations: 105.8 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3311, allocations: 0 / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.352e-05/0.3312, allocations: 33.64 kB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3313, allocations: 126.7 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3314, allocations: 133.8 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3314, allocations: 25.7 kB / 1.375 GB, free: 2.559 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.3315, allocations: 92.12 kB / 1.375 GB, free: 2.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3315, allocations: 4 kB / 1.375 GB, free: 2.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3315, allocations: 17.72 kB / 1.375 GB, free: 2.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3317, allocations: 318.8 kB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.3317, allocations: 11.98 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.3317, allocations: 4 kB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.3318, allocations: 16.89 kB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3318, allocations: 0 / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.3319, allocations: 45.64 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3319, allocations: 7.984 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.3319, allocations: 4 kB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3319, allocations: 0 / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3319, allocations: 4.062 kB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.332, allocations: 0 / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.332, allocations: 7.953 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.332, allocations: 3.938 kB / 1.375 GB, free: 2.004 MB / 1.061 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.0001157/0.3321, allocations: 189.1 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.3322, allocations: 108.9 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.3322, allocations: 112.8 kB / 1.375 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.611e-05/0.3323, allocations: 180.2 kB / 1.376 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.5e-05/0.3324, allocations: 180.3 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.118e-05/0.3325, allocations: 184.2 kB / 1.376 GB, free: 1.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3328, allocations: 388.2 kB / 1.376 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.241e-05/0.3328, allocations: 108.9 kB / 1.376 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.3329, allocations: 104.9 kB / 1.377 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.3329, allocations: 180.3 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.333, allocations: 184.2 kB / 1.377 GB, free: 16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-05/0.3331, allocations: 176.3 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-05/0.3332, allocations: 188.2 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.3334, allocations: 307.7 kB / 1.377 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.3334, allocations: 112.9 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.3335, allocations: 184.2 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.3336, allocations: 108.9 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.3337, allocations: 184.2 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.3338, allocations: 101 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.969e-05/0.3338, allocations: 105 kB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3338, allocations: 0 / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007686/0.3346, allocations: 287 kB / 1.379 GB, free: 14.21 MB / 1.076 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.001389/0.336, allocations: 1.181 MB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.3361, allocations: 41.7 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3361, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.3361, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3365, allocations: 467.6 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3381, allocations: 1.581 MB / 1.382 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.3382, allocations: 79.12 kB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.3382, allocations: 4.094 kB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3382, allocations: 19.42 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.3382, allocations: 0 / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.3741, allocations: 7.629 MB / 1.389 GB, free: 3.266 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.65, allocations: 6.344 kB / 1.389 GB, free: 3.262 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.142621947918087] Failed to read output from testmodel.py, exit status != 0: 11.759549968875945 11.776677436 11.444316641 Calling exit ...