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.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.001312/0.001312, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00148/0.00148, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.992 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.098/3.098, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_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_12_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.002002/0.002002, allocations: 74.89 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002825/0.3274, allocations: 1.47 MB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004916/0.3323, allocations: 2.946 MB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.3324, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.3324, allocations: 7.875 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.3325, allocations: 19.84 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/0.337, allocations: 1.692 MB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3371, allocations: 43.67 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3372, allocations: 7.906 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.3372, allocations: 11.94 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.3372, allocations: 7.938 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.3372, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.3402, allocations: 1.724 MB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3402, allocations: 3.938 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.3402, allocations: 23.86 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.3423, allocations: 1.118 MB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3423, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3423, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3423, allocations: 0 / 1.335 GB, free: 8.793 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.0008745/0.3432, allocations: 476 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3433, allocations: 11.98 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.3433, allocations: 106 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.3434, allocations: 80.22 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3436, allocations: 193.7 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.3437, allocations: 154.9 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.3437, allocations: 154.9 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.775e-05/0.3438, allocations: 108.9 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.3438, allocations: 75.28 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.3439, allocations: 154.6 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.344, allocations: 154.6 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.344, allocations: 150.6 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.3444, allocations: 440.9 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3445, allocations: 165.1 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.3445, allocations: 88.12 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.3446, allocations: 83.22 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.3446, allocations: 105.8 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.3446, allocations: 0 / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.224e-05/0.3447, allocations: 29.64 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.3448, allocations: 134.7 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.345, allocations: 139.3 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.345, allocations: 25.7 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.345, allocations: 88.14 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.345, allocations: 0 / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.3451, allocations: 25.75 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3452, allocations: 314.8 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.3452, allocations: 4 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.3453, allocations: 7.984 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.3453, allocations: 16.89 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3453, allocations: 0 / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/0.3455, allocations: 53.53 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3455, allocations: 8 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.3455, allocations: 3.984 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3455, allocations: 8.031 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.3455, allocations: 0 / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3455, allocations: 4 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.3455, allocations: 0 / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3456, allocations: 0 / 1.338 GB, free: 5.098 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.0001205/0.3457, allocations: 189.2 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.3458, allocations: 108.9 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.3458, allocations: 116.7 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.3459, allocations: 180.3 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.514e-05/0.346, allocations: 180.2 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.26e-05/0.3461, allocations: 184.3 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3464, allocations: 380.2 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/0.3464, allocations: 112.9 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.3465, allocations: 105 kB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.3465, allocations: 180.2 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.3466, allocations: 180.2 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.499e-05/0.3467, allocations: 184.3 kB / 1.34 GB, free: 2.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/0.3467, allocations: 180.2 kB / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3469, allocations: 311.7 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.347, allocations: 112.9 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.3471, allocations: 180.3 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3472, allocations: 108.9 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.3472, allocations: 184.3 kB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.3473, allocations: 108.9 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.3473, allocations: 96.83 kB / 1.341 GB, free: 1.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3473, allocations: 0 / 1.341 GB, free: 1.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008112/0.3482, allocations: 291 kB / 1.342 GB, free: 1.297 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.001705/0.3499, allocations: 1.179 MB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.35, allocations: 41.58 kB / 1.343 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.35, allocations: 4.062 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.35, allocations: 0 / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.3504, allocations: 465.4 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.001615/0.3521, allocations: 1.586 MB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3524, allocations: 0.6884 MB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.45e-05/0.3524, allocations: 0 / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3524, allocations: 27.36 kB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.3524, allocations: 0 / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.389, allocations: 7.15 MB / 1.353 GB, free: 6.215 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 3.938 kB / 1.353 GB, free: 6.211 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.018373762024567] Failed to read output from testmodel.py, exit status != 0: 11.686190282925963 11.703414667 11.357798213 Calling exit ...