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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 497.2 MB / 0.7812 GB, free: 11.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.89 kB / 1.134 GB, free: 13.02 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8949, allocations: 173.9 MB / 1.304 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002201/0.8971, allocations: 1.439 MB / 1.305 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.9003, allocations: 2.888 MB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.9004, allocations: 7.875 kB / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.9004, allocations: 0 / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.9004, allocations: 14.41 kB / 1.308 GB, free: 29.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.9033, allocations: 1.561 MB / 1.31 GB, free: 28.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.125e-05/0.9033, allocations: 41.7 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.9034, allocations: 7.234 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.9034, allocations: 16.89 kB / 1.31 GB, free: 28.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.9034, allocations: 16.3 kB / 1.31 GB, free: 28.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.9034, allocations: 4 kB / 1.31 GB, free: 28.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.905, allocations: 1.526 MB / 1.311 GB, free: 27.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.905, allocations: 6.812 kB / 1.311 GB, free: 27.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.9051, allocations: 14.12 kB / 1.311 GB, free: 27.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.9061, allocations: 1.091 MB / 1.312 GB, free: 27.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9061, allocations: 0 / 1.312 GB, free: 27.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9061, allocations: 0 / 1.312 GB, free: 27.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9061, allocations: 2.625 kB / 1.312 GB, free: 27.55 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.0004239/0.9065, allocations: 0.5324 MB / 1.313 GB, free: 27.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.9065, allocations: 11.31 kB / 1.313 GB, free: 27.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.9066, allocations: 106 kB / 1.313 GB, free: 26.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.9066, allocations: 83.03 kB / 1.313 GB, free: 26.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.9067, allocations: 257.6 kB / 1.313 GB, free: 26.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.9067, allocations: 150.9 kB / 1.314 GB, free: 26.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.9068, allocations: 153.8 kB / 1.314 GB, free: 26.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.934e-05/0.9068, allocations: 112.9 kB / 1.314 GB, free: 26.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9068, allocations: 75.28 kB / 1.314 GB, free: 26.08 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.9068, allocations: 150.6 kB / 1.314 GB, free: 25.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.9068, allocations: 150.6 kB / 1.314 GB, free: 25.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.9069, allocations: 153.4 kB / 1.314 GB, free: 25.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.907, allocations: 466.4 kB / 1.315 GB, free: 25.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/0.9071, allocations: 179.1 kB / 1.315 GB, free: 24.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.9071, allocations: 80.14 kB / 1.315 GB, free: 24.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.9071, allocations: 79.22 kB / 1.315 GB, free: 24.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.9071, allocations: 109.8 kB / 1.315 GB, free: 24.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.9071, allocations: 0 / 1.315 GB, free: 24.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.171e-05/0.9072, allocations: 32.52 kB / 1.315 GB, free: 24.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.9072, allocations: 126.7 kB / 1.315 GB, free: 24.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.9073, allocations: 141.8 kB / 1.315 GB, free: 24.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.9073, allocations: 25.7 kB / 1.316 GB, free: 24.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.9074, allocations: 90.53 kB / 1.316 GB, free: 24.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.9074, allocations: 2.531 kB / 1.316 GB, free: 24.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.9074, allocations: 20.25 kB / 1.316 GB, free: 24.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.9074, allocations: 316.8 kB / 1.316 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.9075, allocations: 6.531 kB / 1.316 GB, free: 23.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.9075, allocations: 5.062 kB / 1.316 GB, free: 23.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.9075, allocations: 13.34 kB / 1.316 GB, free: 23.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9075, allocations: 0 / 1.316 GB, free: 23.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.9076, allocations: 46.33 kB / 1.316 GB, free: 23.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9076, allocations: 9.094 kB / 1.316 GB, free: 23.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.9076, allocations: 5.906 kB / 1.316 GB, free: 23.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9077, allocations: 8 kB / 1.316 GB, free: 23.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.9077, allocations: 0 / 1.316 GB, free: 23.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.9077, allocations: 2.531 kB / 1.316 GB, free: 23.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.9077, allocations: 3.953 kB / 1.316 GB, free: 23.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.9077, allocations: 0 / 1.316 GB, free: 23.88 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 4.605e-05/0.9077, allocations: 183.7 kB / 1.316 GB, free: 23.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.9078, allocations: 115.5 kB / 1.316 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.9078, allocations: 114.6 kB / 1.316 GB, free: 23.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.9078, allocations: 184.3 kB / 1.317 GB, free: 23.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/0.9078, allocations: 178.7 kB / 1.317 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.9079, allocations: 180.2 kB / 1.317 GB, free: 22.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.908, allocations: 419.9 kB / 1.317 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.908, allocations: 108.9 kB / 1.317 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.908, allocations: 107.6 kB / 1.318 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/0.908, allocations: 179.1 kB / 1.318 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.908, allocations: 180.2 kB / 1.318 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.11e-05/0.9081, allocations: 182.8 kB / 1.318 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/0.9081, allocations: 180.2 kB / 1.318 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.477e-05/0.9081, allocations: 312.3 kB / 1.319 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.9082, allocations: 196.8 kB / 1.319 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.9082, allocations: 179.6 kB / 1.319 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.9083, allocations: 107.7 kB / 1.319 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.9083, allocations: 176.3 kB / 1.319 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.9083, allocations: 109 kB / 1.319 GB, free: 20.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.9083, allocations: 105 kB / 1.319 GB, free: 20.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9083, allocations: 0 / 1.319 GB, free: 20.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005636/0.9089, allocations: 284.8 kB / 1.32 GB, free: 20.23 MB / 1.061 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.0008913/0.9098, allocations: 1.172 MB / 1.321 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.9099, allocations: 34.39 kB / 1.321 GB, free: 19.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9099, allocations: 0 / 1.321 GB, free: 19.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.9099, allocations: 3.938 kB / 1.321 GB, free: 19.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.9101, allocations: 465.6 kB / 1.321 GB, free: 18.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.9111, allocations: 1.572 MB / 1.323 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.9112, allocations: 0.6882 MB / 1.323 GB, free: 16.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.9112, allocations: 0 / 1.323 GB, free: 16.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.9112, allocations: 21.33 kB / 1.323 GB, free: 16.66 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.9112, allocations: 0 / 1.323 GB, free: 16.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.9395, allocations: 6.911 MB / 1.33 GB, free: 15.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/9.113, allocations: 25.78 kB / 1.33 GB, free: 15.91 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.150618601124734] Failed to read output from testmodel.py, exit status != 0: 9.185703731141984 9.207334966 8.297331745 Calling exit ...