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.InternalResistancesTwoUTubeNegative.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.001406/0.001406, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001735/0.001735, allocations: 220.3 kB / 23.04 MB, free: 5.074 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.039/3.039, allocations: 0.49 GB / 0.7959 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",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.001934/0.001934, allocations: 69.45 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3097, allocations: 176.1 MB / 1.327 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003059/0.3128, allocations: 1.465 MB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005107/0.3179, allocations: 3.004 MB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.318, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.318, allocations: 7.938 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.3181, allocations: 15.84 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.3228, allocations: 1.708 MB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3229, allocations: 43.67 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.3229, allocations: 7.984 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.323, allocations: 15.94 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.323, allocations: 15.92 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.323, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.3262, allocations: 1.77 MB / 1.335 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.3263, allocations: 3.984 kB / 1.335 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.3263, allocations: 23.88 kB / 1.335 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.3285, allocations: 1.146 MB / 1.336 GB, free: 8.676 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3285, allocations: 3.938 kB / 1.336 GB, free: 8.672 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3285, allocations: 4 kB / 1.336 GB, free: 8.668 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3285, allocations: 3.938 kB / 1.336 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.000774/0.3293, allocations: 476 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3294, allocations: 15.92 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.464e-05/0.3294, allocations: 75.47 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.3295, allocations: 110 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.3295, allocations: 84.17 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3297, allocations: 193.7 kB / 1.337 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.3298, allocations: 158.9 kB / 1.337 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.3298, allocations: 154.7 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.164e-05/0.3299, allocations: 104.9 kB / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.33, allocations: 79.28 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.3301, allocations: 150.6 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-05/0.3302, allocations: 154.5 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.3302, allocations: 150.6 kB / 1.338 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.3306, allocations: 437 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.3307, allocations: 177.1 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.3307, allocations: 84.08 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.3308, allocations: 75.28 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.3308, allocations: 105.8 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3308, allocations: 0 / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.986e-05/0.3309, allocations: 41.7 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.331, allocations: 126.7 kB / 1.339 GB, free: 5.609 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3312, allocations: 135.3 kB / 1.339 GB, free: 5.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3312, allocations: 33.64 kB / 1.339 GB, free: 5.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.3313, allocations: 88.12 kB / 1.339 GB, free: 5.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.3313, allocations: 0 / 1.339 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.3313, allocations: 21.72 kB / 1.339 GB, free: 5.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3316, allocations: 322.8 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.3316, allocations: 4 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.3316, allocations: 4.062 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.3317, allocations: 16.86 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3317, allocations: 0 / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.3319, allocations: 57.58 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3319, allocations: 4 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.3319, allocations: 4 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3319, allocations: 0 / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-06/0.3319, allocations: 3.938 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3319, allocations: 4.062 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.332, allocations: 7.938 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.332, allocations: 0 / 1.339 GB, free: 4.875 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.0001405/0.3321, allocations: 189.1 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3322, allocations: 108.9 kB / 1.34 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.3323, allocations: 116.7 kB / 1.34 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/0.3324, allocations: 184.2 kB / 1.34 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.3325, allocations: 176.3 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.6e-05/0.3326, allocations: 184.2 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.333, allocations: 388.2 kB / 1.341 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.885e-05/0.333, allocations: 101 kB / 1.341 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3331, allocations: 108.9 kB / 1.341 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.652e-05/0.3332, allocations: 180.3 kB / 1.341 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.3333, allocations: 184.2 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.305e-05/0.3334, allocations: 180.2 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001527/0.3335, allocations: 184.2 kB / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3338, allocations: 315.7 kB / 1.342 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.3339, allocations: 112.9 kB / 1.342 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.334, allocations: 180.2 kB / 1.342 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3342, allocations: 108.9 kB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3343, allocations: 176.3 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.3343, allocations: 105 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00011/0.3344, allocations: 108.8 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3344, allocations: 0 / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001297/0.3357, allocations: 295 kB / 1.343 GB, free: 1.062 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.002096/0.3378, allocations: 1.201 MB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.3379, allocations: 33.7 kB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3379, allocations: 4 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.3379, allocations: 0 / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.3385, allocations: 475.7 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3402, allocations: 1.611 MB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3406, allocations: 0.6807 MB / 1.347 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.3406, allocations: 0 / 1.347 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3406, allocations: 27.36 kB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/0.3406, allocations: 4.031 kB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.3733, allocations: 7.381 MB / 1.354 GB, free: 5.727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.67, allocations: 9.922 kB / 1.354 GB, free: 5.719 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.14007855899399] Failed to read output from testmodel.py, exit status != 0: 11.836350825964473 11.860294744 11.527103217 Calling exit ...