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.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.001291/0.001291, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001449/0.001449, allocations: 213 kB / 22.24 MB, free: 5.242 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.793 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.714/2.714, allocations: 476 MB / 0.7699 GB, free: 4.715 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.002101/0.002101, allocations: 70.11 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3049, allocations: 169.9 MB / 1.283 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003218/0.3081, allocations: 1.451 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004767/0.3128, allocations: 2.67 MB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.3129, allocations: 0 / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.3129, allocations: 3.938 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.313, allocations: 23.78 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00448/0.3175, allocations: 1.631 MB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3176, allocations: 47.67 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.3176, allocations: 4 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.3176, allocations: 19.94 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.073e-05/0.3177, allocations: 19.86 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3177, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.3203, allocations: 1.482 MB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.3203, allocations: 0 / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.3203, allocations: 23.86 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.3223, allocations: 1.101 MB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3223, allocations: 0 / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3223, allocations: 0 / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3223, allocations: 4 kB / 1.291 GB, free: 3.871 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.0008096/0.3231, allocations: 476 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3232, allocations: 8.031 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.3233, allocations: 106 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.3233, allocations: 84.17 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3235, allocations: 200.2 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.3236, allocations: 154.9 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.3237, allocations: 150.9 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3238, allocations: 112.9 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.3238, allocations: 75.28 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.3239, allocations: 154.6 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.99e-05/0.3239, allocations: 154.6 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.324, allocations: 150.6 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.3244, allocations: 437 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.3244, allocations: 181 kB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.3245, allocations: 80.14 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.3245, allocations: 79.22 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.3246, allocations: 109.8 kB / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3246, allocations: 0 / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.335e-05/0.3247, allocations: 33.66 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.3247, allocations: 130.6 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3249, allocations: 141.8 kB / 1.294 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3249, allocations: 25.7 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.325, allocations: 100.1 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.325, allocations: 0 / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.325, allocations: 13.72 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3252, allocations: 322.8 kB / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.3252, allocations: 0 / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.3252, allocations: 8 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.3252, allocations: 12.86 kB / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3252, allocations: 0 / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001438/0.3254, allocations: 61.61 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3254, allocations: 7.938 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.3254, allocations: 4 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3254, allocations: 0 / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3254, allocations: 0 / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3255, allocations: 0 / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.3255, allocations: 7.953 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.3255, allocations: 4 kB / 1.294 GB, free: 160 kB / 0.9825 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.0001331/0.3256, allocations: 181.1 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.3257, allocations: 112.9 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.673e-05/0.3258, allocations: 116.8 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.998e-05/0.3258, allocations: 184.3 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.491e-05/0.3259, allocations: 180.3 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-05/0.326, allocations: 184.2 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3263, allocations: 388.2 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/0.3263, allocations: 105 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.3263, allocations: 109 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.532e-05/0.3264, allocations: 176.3 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.3265, allocations: 184.2 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-05/0.3266, allocations: 184.2 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.971e-05/0.3267, allocations: 180.2 kB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3268, allocations: 315.7 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3269, allocations: 116.9 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/0.327, allocations: 176.3 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.327, allocations: 108.9 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3271, allocations: 184.3 kB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3272, allocations: 101 kB / 1.297 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.3272, allocations: 109.2 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3272, allocations: 3.938 kB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008577/0.3281, allocations: 291 kB / 1.298 GB, free: 12.35 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.001684/0.3298, allocations: 1.193 MB / 1.299 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.3299, allocations: 37.7 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3299, allocations: 4 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.3299, allocations: 3.938 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.3304, allocations: 459.7 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3321, allocations: 1.613 MB / 1.301 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.3322, allocations: 67.53 kB / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.3322, allocations: 0 / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.3323, allocations: 23.42 kB / 1.301 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.3323, allocations: 0 / 1.301 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/0.3778, allocations: 7.806 MB / 1.309 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.57, allocations: 14.66 kB / 1.309 GB, free: 1.199 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.947036798112094] Failed to read output from testmodel.py, exit status != 0: 12.181073103100061 11.71677275 11.388580672 Calling exit ...