Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001296/0.001296, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001484/0.001484, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001982/0.001982, allocations: 64.48 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3293, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002856/0.3322, allocations: 1.429 MB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004602/0.3368, allocations: 2.639 MB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.3368, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3369, allocations: 11.92 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3369, allocations: 11.86 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.3411, allocations: 1.623 MB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3412, allocations: 47.72 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.3412, allocations: 0 / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.3412, allocations: 15.92 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.862e-05/0.3413, allocations: 15.94 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3413, allocations: 4 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.3436, allocations: 1.552 MB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.3436, allocations: 7.938 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3437, allocations: 11.94 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.3452, allocations: 1.085 MB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3452, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3452, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3453, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 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.0006724/0.3459, allocations: 472 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.346, allocations: 8.031 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.704e-05/0.346, allocations: 75.47 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/0.3461, allocations: 114 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.3461, allocations: 80.17 kB / 1.293 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3463, allocations: 201.8 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.3464, allocations: 150.9 kB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.3465, allocations: 154.7 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.3465, allocations: 101 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.3466, allocations: 75.28 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.3466, allocations: 154.6 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-05/0.3467, allocations: 154.5 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.3468, allocations: 154.6 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3471, allocations: 444.9 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3472, allocations: 169.1 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.3473, allocations: 88.08 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.3473, allocations: 83.2 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.3474, allocations: 109.8 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3474, allocations: 0 / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.353e-05/0.3474, allocations: 29.66 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.3475, allocations: 130.7 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3477, allocations: 132.5 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3477, allocations: 25.7 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3477, allocations: 88.12 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.3477, allocations: 0 / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3478, allocations: 21.72 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3479, allocations: 322.8 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.3479, allocations: 4 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.348, allocations: 7.938 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.348, allocations: 16.8 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.348, allocations: 3.938 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/0.3481, allocations: 53.58 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3481, allocations: 4 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3482, allocations: 4 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3482, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3482, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3482, allocations: 4.062 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.3482, allocations: 0 / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3482, allocations: 0 / 1.296 GB, free: 14.37 MB / 0.9981 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.0001299/0.3483, allocations: 194.8 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.3484, allocations: 112.9 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.3485, allocations: 108.8 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.576e-05/0.3485, allocations: 188.2 kB / 1.296 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.76e-05/0.3486, allocations: 180.3 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/0.3487, allocations: 176.3 kB / 1.297 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.3489, allocations: 392.2 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.372e-05/0.349, allocations: 109 kB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.349, allocations: 104.9 kB / 1.297 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.5e-05/0.3491, allocations: 180.3 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/0.3492, allocations: 176.3 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.467e-05/0.3493, allocations: 188.2 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.929e-05/0.3494, allocations: 176.3 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3495, allocations: 315.7 kB / 1.298 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3496, allocations: 101 kB / 1.298 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.3496, allocations: 188.2 kB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.3497, allocations: 101 kB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.3498, allocations: 188.2 kB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.3499, allocations: 109 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.3499, allocations: 95.27 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3499, allocations: 0 / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008452/0.3508, allocations: 294.9 kB / 1.299 GB, free: 10.57 MB / 0.9981 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.001494/0.3523, allocations: 1.178 MB / 1.301 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.918e-05/0.3524, allocations: 33.7 kB / 1.301 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3524, allocations: 4.062 kB / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.3524, allocations: 0 / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.3529, allocations: 469.4 kB / 1.301 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3545, allocations: 1.596 MB / 1.303 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.075e-05/0.3545, allocations: 71.33 kB / 1.303 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.284e-05/0.3545, allocations: 0 / 1.303 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.3546, allocations: 23.5 kB / 1.303 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3546, allocations: 0 / 1.303 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3848, allocations: 7.268 MB / 1.31 GB, free: 12 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 6.344 kB / 1.31 GB, free: 12 kB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.4488600299228] Failed to read output from testmodel.py, exit status != 0: 12.454895367030986 11.963748434 11.614961576 Calling exit ...