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.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.001434/0.001434, allocations: 102.7 kB / 16.45 MB, free: 6.504 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.001385/0.001385, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.402/1.402, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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 3.062/3.062, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.41 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3191, allocations: 173.9 MB / 1.304 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002614/0.3217, allocations: 1.44 MB / 1.305 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004436/0.3262, allocations: 2.875 MB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.3262, allocations: 3.938 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.3262, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.3263, allocations: 19.8 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.3299, allocations: 1.553 MB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.33, allocations: 47.67 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.33, allocations: 0 / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.3301, allocations: 11.94 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.3301, allocations: 23.92 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.3301, allocations: 0 / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.3323, allocations: 1.529 MB / 1.311 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.3323, allocations: 7.938 kB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.3323, allocations: 19.86 kB / 1.311 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.3337, allocations: 1.087 MB / 1.312 GB, free: 8.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3337, allocations: 0 / 1.312 GB, free: 8.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3337, allocations: 0 / 1.312 GB, free: 8.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3338, allocations: 0 / 1.312 GB, free: 8.84 MB / 1.014 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.0006256/0.3344, allocations: 0.5259 MB / 1.313 GB, free: 8.266 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3344, allocations: 8.625 kB / 1.313 GB, free: 8.258 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.3345, allocations: 106 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.3345, allocations: 88.16 kB / 1.313 GB, free: 8.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3347, allocations: 255.5 kB / 1.313 GB, free: 7.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3348, allocations: 150.9 kB / 1.314 GB, free: 7.621 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.3349, allocations: 158.9 kB / 1.314 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.082e-05/0.3349, allocations: 116.8 kB / 1.314 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.335, allocations: 75.28 kB / 1.314 GB, free: 7.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.335, allocations: 154.6 kB / 1.314 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/0.3351, allocations: 150.6 kB / 1.314 GB, free: 6.969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.3352, allocations: 150.6 kB / 1.314 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.3355, allocations: 469.9 kB / 1.315 GB, free: 6.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.3356, allocations: 169.1 kB / 1.315 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.3356, allocations: 80.14 kB / 1.315 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.3356, allocations: 79.22 kB / 1.315 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/0.3357, allocations: 117.8 kB / 1.315 GB, free: 5.852 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3357, allocations: 3.938 kB / 1.315 GB, free: 5.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.342e-05/0.3358, allocations: 29.7 kB / 1.315 GB, free: 5.812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.3358, allocations: 126.7 kB / 1.315 GB, free: 5.676 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.336, allocations: 135.7 kB / 1.315 GB, free: 5.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.336, allocations: 25.7 kB / 1.315 GB, free: 5.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.3361, allocations: 96.09 kB / 1.316 GB, free: 5.406 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.3361, allocations: 4 kB / 1.316 GB, free: 5.402 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3361, allocations: 17.7 kB / 1.316 GB, free: 5.379 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3362, allocations: 318.8 kB / 1.316 GB, free: 5.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.3363, allocations: 4 kB / 1.316 GB, free: 5.055 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.3363, allocations: 0 / 1.316 GB, free: 5.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.3363, allocations: 20.84 kB / 1.316 GB, free: 5.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3363, allocations: 3.938 kB / 1.316 GB, free: 5.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.3364, allocations: 45.64 kB / 1.316 GB, free: 4.977 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3364, allocations: 4 kB / 1.316 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.3365, allocations: 8.062 kB / 1.316 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3365, allocations: 3.938 kB / 1.316 GB, free: 4.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.706e-06/0.3365, allocations: 3.984 kB / 1.316 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3365, allocations: 0 / 1.316 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.3365, allocations: 11.89 kB / 1.316 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3365, allocations: 0 / 1.316 GB, free: 4.945 MB / 1.014 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.0001104/0.3366, allocations: 181.1 kB / 1.316 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.3367, allocations: 113 kB / 1.316 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.3368, allocations: 124.8 kB / 1.316 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.492e-05/0.3368, allocations: 180.2 kB / 1.317 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-05/0.3369, allocations: 176.3 kB / 1.317 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-05/0.337, allocations: 180.2 kB / 1.317 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3373, allocations: 417.2 kB / 1.317 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.3373, allocations: 108.9 kB / 1.317 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.3374, allocations: 105 kB / 1.318 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.628e-05/0.3374, allocations: 180.3 kB / 1.318 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.3375, allocations: 180.2 kB / 1.318 GB, free: 2.906 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.123e-05/0.3376, allocations: 176.3 kB / 1.318 GB, free: 2.727 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.773e-05/0.3377, allocations: 180.2 kB / 1.318 GB, free: 2.543 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3378, allocations: 319.7 kB / 1.319 GB, free: 2.207 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.3379, allocations: 186 kB / 1.319 GB, free: 2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.338, allocations: 180.3 kB / 1.319 GB, free: 1.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.3381, allocations: 112.9 kB / 1.319 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.3382, allocations: 184.3 kB / 1.319 GB, free: 1.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.3382, allocations: 105 kB / 1.319 GB, free: 1.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.3383, allocations: 97.3 kB / 1.319 GB, free: 1.309 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3383, allocations: 0 / 1.319 GB, free: 1.309 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006843/0.339, allocations: 290.9 kB / 1.32 GB, free: 1.023 MB / 1.014 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.001287/0.3403, allocations: 1.168 MB / 1.321 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.3404, allocations: 41.69 kB / 1.321 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3404, allocations: 0 / 1.321 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.3404, allocations: 3.938 kB / 1.321 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3408, allocations: 471.7 kB / 1.321 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3423, allocations: 1.577 MB / 1.323 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3426, allocations: 0.6882 MB / 1.323 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3426, allocations: 4 kB / 1.323 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.3426, allocations: 11.44 kB / 1.323 GB, free: 12.93 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3426, allocations: 4.031 kB / 1.323 GB, free: 12.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.3732, allocations: 6.907 MB / 1.33 GB, free: 6.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.402, allocations: 14.7 kB / 1.33 GB, free: 6.219 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.72156424401328] Failed to read output from testmodel.py, exit status != 0: 8.47428984567523 8.500795168 8.162485404 Calling exit ...