Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00131/0.00131, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001495/0.001495, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.38/1.38, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.008/3.008, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001993/0.001993, allocations: 73.58 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002665/0.3101, allocations: 1.465 MB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00465/0.3147, allocations: 2.973 MB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.3148, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.3148, allocations: 7.922 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-05/0.3149, allocations: 11.88 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.319, allocations: 1.658 MB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3191, allocations: 43.67 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.3191, allocations: 7.906 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.3192, allocations: 11.94 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.3192, allocations: 19.92 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.3192, allocations: 0 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.3218, allocations: 1.611 MB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.3218, allocations: 3.938 kB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.3218, allocations: 19.88 kB / 1.329 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.3235, allocations: 1.13 MB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3235, allocations: 0 / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3235, allocations: 3.938 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3235, allocations: 0 / 1.33 GB, free: 10.32 MB / 1.029 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.0007044/0.3242, allocations: 0.5363 MB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3242, allocations: 11.97 kB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.3243, allocations: 117.9 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.3244, allocations: 84.17 kB / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3245, allocations: 247.6 kB / 1.331 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.3246, allocations: 150.9 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.3247, allocations: 158.9 kB / 1.331 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.3248, allocations: 104.9 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.3248, allocations: 83.28 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.3249, allocations: 150.6 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/0.3249, allocations: 150.6 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.325, allocations: 154.5 kB / 1.332 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.3254, allocations: 465.9 kB / 1.332 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.3255, allocations: 169.1 kB / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.3255, allocations: 84.14 kB / 1.332 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.3256, allocations: 79.22 kB / 1.332 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.3256, allocations: 109.8 kB / 1.332 GB, free: 7.332 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3256, allocations: 3.938 kB / 1.332 GB, free: 7.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.634e-05/0.3257, allocations: 41.66 kB / 1.332 GB, free: 7.281 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.3258, allocations: 126.7 kB / 1.333 GB, free: 7.145 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.326, allocations: 131.5 kB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.326, allocations: 25.7 kB / 1.333 GB, free: 6.977 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.3261, allocations: 96.12 kB / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3261, allocations: 0 / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3261, allocations: 17.7 kB / 1.333 GB, free: 6.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3262, allocations: 318.8 kB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.3263, allocations: 15.98 kB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.3263, allocations: 0 / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.3263, allocations: 20.8 kB / 1.333 GB, free: 6.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3263, allocations: 0 / 1.333 GB, free: 6.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001324/0.3265, allocations: 53.59 kB / 1.333 GB, free: 6.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3265, allocations: 4 kB / 1.333 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.3265, allocations: 4 kB / 1.333 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3265, allocations: 3.984 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.3265, allocations: 0 / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3265, allocations: 0 / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.3265, allocations: 8.016 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.3265, allocations: 4 kB / 1.333 GB, free: 6.414 MB / 1.029 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.0001081/0.3267, allocations: 185.1 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.3267, allocations: 112.9 kB / 1.334 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.3268, allocations: 112.8 kB / 1.334 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.158e-05/0.3269, allocations: 180.3 kB / 1.334 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-05/0.3269, allocations: 184.2 kB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/0.327, allocations: 180.2 kB / 1.334 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.3273, allocations: 421.1 kB / 1.335 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/0.3273, allocations: 105 kB / 1.335 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.3273, allocations: 101 kB / 1.335 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/0.3274, allocations: 192.2 kB / 1.335 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.3275, allocations: 176.3 kB / 1.335 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-05/0.3276, allocations: 184.2 kB / 1.335 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.942e-05/0.3276, allocations: 176.3 kB / 1.335 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.3278, allocations: 323.6 kB / 1.336 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.3279, allocations: 182 kB / 1.336 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.328, allocations: 184.2 kB / 1.336 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.3281, allocations: 109 kB / 1.336 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.3281, allocations: 180.2 kB / 1.336 GB, free: 2.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.3282, allocations: 101 kB / 1.336 GB, free: 2.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.3282, allocations: 101 kB / 1.337 GB, free: 2.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3282, allocations: 4 kB / 1.337 GB, free: 2.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008741/0.3291, allocations: 295 kB / 1.337 GB, free: 2.48 MB / 1.029 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.001521/0.3306, allocations: 1.194 MB / 1.338 GB, free: 1.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3307, allocations: 45.69 kB / 1.338 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3307, allocations: 0 / 1.338 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3308, allocations: 0 / 1.338 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.3312, allocations: 465.9 kB / 1.338 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.3327, allocations: 1.626 MB / 1.34 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.333, allocations: 0.6807 MB / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.619e-05/0.3331, allocations: 0 / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.3331, allocations: 15.44 kB / 1.341 GB, free: 14.32 MB / 1.045 GB Notification: Performance of SimCode: time 7.52e-07/0.3331, allocations: 0 / 1.341 GB, free: 14.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.3652, allocations: 7.314 MB / 1.348 GB, free: 7.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.762, allocations: 18.75 kB / 1.348 GB, free: 7.207 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.065355302998796] Failed to read output from testmodel.py, exit status != 0: 8.831891954876482 8.846503311 8.520029854 Calling exit ...