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.InternalResistancesOneUTube.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.001731/0.001731, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002199/0.002199, allocations: 215.6 kB / 22.25 MB, free: 5.117 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.012 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.141/3.141, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.002021/0.002021, allocations: 67.56 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002784/0.3318, allocations: 1.462 MB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004941/0.3367, allocations: 2.969 MB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.3368, allocations: 0 / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.3368, allocations: 3.938 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.3369, allocations: 15.86 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.3413, allocations: 1.686 MB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3415, allocations: 43.67 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3415, allocations: 4 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.3415, allocations: 15.92 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.251e-05/0.3416, allocations: 15.92 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.3416, allocations: 4 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.3446, allocations: 1.72 MB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.3446, allocations: 3.938 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.3447, allocations: 19.92 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.3468, allocations: 1.118 MB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3468, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3468, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3468, allocations: 0 / 1.362 GB, free: 15.32 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.0008197/0.3477, allocations: 476 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3477, allocations: 12.75 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.841e-05/0.3478, allocations: 106 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3479, allocations: 84.17 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3481, allocations: 193.8 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.3481, allocations: 154.9 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.3482, allocations: 154.9 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.49e-05/0.3483, allocations: 112.9 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.3483, allocations: 75.28 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.3484, allocations: 154.5 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.3485, allocations: 150.6 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.819e-05/0.3485, allocations: 150.6 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.3489, allocations: 448.8 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.303e-05/0.349, allocations: 165.1 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.349, allocations: 84.14 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.3491, allocations: 79.22 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.3491, allocations: 109.8 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.3491, allocations: 4 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.014e-05/0.3492, allocations: 37.59 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.3493, allocations: 126.7 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3494, allocations: 128 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3495, allocations: 25.7 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.3495, allocations: 96.12 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3495, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.3496, allocations: 13.72 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3497, allocations: 318.9 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.3498, allocations: 11.92 kB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.3498, allocations: 8 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.3498, allocations: 12.86 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3498, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.35, allocations: 57.53 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.35, allocations: 7.984 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.35, allocations: 4 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.35, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.35, allocations: 4.062 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.35, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.3501, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3501, allocations: 0 / 1.365 GB, free: 11.62 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.0001183/0.3502, allocations: 189.1 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.3503, allocations: 112.9 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.3503, allocations: 116.7 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.324e-05/0.3504, allocations: 180.3 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/0.3505, allocations: 184.2 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-05/0.3506, allocations: 176.3 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3509, allocations: 388.2 kB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.3509, allocations: 109 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.351, allocations: 105 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/0.3511, allocations: 184.2 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.3512, allocations: 180.3 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-05/0.3512, allocations: 176.3 kB / 1.367 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-05/0.3513, allocations: 184.2 kB / 1.367 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3515, allocations: 315.7 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3515, allocations: 109 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.3516, allocations: 184.2 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.3517, allocations: 112.9 kB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3518, allocations: 180.3 kB / 1.368 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.522e-05/0.3518, allocations: 104.9 kB / 1.368 GB, free: 8.199 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.885e-05/0.3519, allocations: 101.3 kB / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3519, allocations: 0 / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008505/0.3528, allocations: 295 kB / 1.369 GB, free: 7.812 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.001684/0.3545, allocations: 1.181 MB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.3546, allocations: 41.64 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3546, allocations: 0 / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.3546, allocations: 0 / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.355, allocations: 463.7 kB / 1.37 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3568, allocations: 1.587 MB / 1.372 GB, free: 4.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3571, allocations: 0.6845 MB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.3571, allocations: 0 / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.3572, allocations: 19.42 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3572, allocations: 0 / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.3949, allocations: 7.146 MB / 1.38 GB, free: 12.74 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 7.984 kB / 1.38 GB, free: 12.73 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.267558892956004] Failed to read output from testmodel.py, exit status != 0: 11.769103619968519 11.784533677 11.434647776 Calling exit ...