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.InternalResistancesTwoUTube.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.001333/0.001333, allocations: 110.4 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.001584/0.001584, allocations: 219.5 kB / 22.26 MB, free: 5.121 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.169/3.169, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001966/0.001966, allocations: 67.62 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 180.2 MB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002934/0.3372, allocations: 1.47 MB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005068/0.3423, allocations: 3 MB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3424, allocations: 3.938 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.3424, allocations: 7.922 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3425, allocations: 15.86 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005206/0.3477, allocations: 1.709 MB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3478, allocations: 47.67 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.3479, allocations: 7.906 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.3479, allocations: 11.94 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.3479, allocations: 19.92 kB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3479, allocations: 0 / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.3509, allocations: 1.763 MB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3509, allocations: 7.922 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.3509, allocations: 19.88 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.3528, allocations: 1.15 MB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3528, allocations: 4 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3528, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3528, allocations: 4 kB / 1.362 GB, free: 15.11 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.0006832/0.3535, allocations: 472 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3536, allocations: 8.75 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.3536, allocations: 106 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.3537, allocations: 84.17 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3539, allocations: 193.8 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.3539, allocations: 158.9 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.354, allocations: 158.9 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.254e-05/0.3541, allocations: 104.9 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.3541, allocations: 75.28 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.3542, allocations: 150.6 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.3542, allocations: 154.6 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.3543, allocations: 154.5 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.3546, allocations: 436.9 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.3547, allocations: 169.1 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.3547, allocations: 92.08 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3548, allocations: 79.22 kB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.3548, allocations: 105.8 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3548, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.3549, allocations: 37.59 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.355, allocations: 130.7 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3551, allocations: 144.1 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3551, allocations: 25.7 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.3552, allocations: 92.09 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3552, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3552, allocations: 21.7 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3554, allocations: 318.8 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.3554, allocations: 4 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.3554, allocations: 4 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.3555, allocations: 20.88 kB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3555, allocations: 4.062 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000164/0.3556, allocations: 53.58 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3557, allocations: 4 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.3557, allocations: 4 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3557, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3557, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3557, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.3557, allocations: 7.953 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3557, allocations: 0 / 1.365 GB, free: 11.41 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 0.000114/0.3559, allocations: 197.1 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.3559, allocations: 112.9 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.356, allocations: 112.7 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.3561, allocations: 176.3 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.007e-05/0.3562, allocations: 188.1 kB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.822e-05/0.3562, allocations: 180.3 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.3565, allocations: 388.2 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.3565, allocations: 104.9 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.3566, allocations: 105 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.573e-05/0.3566, allocations: 184.2 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.3567, allocations: 180.3 kB / 1.367 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.125e-05/0.3568, allocations: 180.3 kB / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.168e-05/0.3569, allocations: 184.2 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.357, allocations: 311.7 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3571, allocations: 108.9 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.983e-05/0.3572, allocations: 184.3 kB / 1.368 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.3573, allocations: 104.9 kB / 1.368 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.3574, allocations: 180.2 kB / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.3574, allocations: 112.9 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.3575, allocations: 101.6 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3575, allocations: 0 / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008241/0.3583, allocations: 295 kB / 1.369 GB, free: 7.598 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.001501/0.3598, allocations: 1.194 MB / 1.37 GB, free: 6.375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3599, allocations: 37.64 kB / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3599, allocations: 0 / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.3599, allocations: 0 / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3604, allocations: 467.7 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.362, allocations: 1.619 MB / 1.372 GB, free: 4.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3623, allocations: 0.6846 MB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.3623, allocations: 0 / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.3623, allocations: 15.44 kB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.3623, allocations: 0 / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.3979, allocations: 7.361 MB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.64, allocations: 3.25 kB / 1.38 GB, free: 12.27 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.213097078958526] Failed to read output from testmodel.py, exit status != 0: 11.742535488912836 11.770296042 11.411848433 Calling exit ...